Hi, Thanks for your help! This is a bug in the LZFInputStream class (readInt() should not call close() - otherwise the class could try to read after closing the underlying stream). It will be fixed in the next release. I will also add a test case.
Regards, Thomas On Wed, Jun 10, 2009 at 7:40 PM, m.fondo<[email protected]> wrote: > > I am getting errors trying to use LZF with SCRIPT/RUNSCRIPT. > > I fill my first database with data > Run SCRIPT TO 'G:\mytest\mydb' COMPRESSION LZF > Connect to an empty database and run RUNSCRIPT FROM 'G:\mytest\mydb' > COMPRESSION LZF > > and I get the following exception every time. I don't get any errors > using DEFLATE or no compression. > > [Error Code: 90028, SQL State: 90028] IO Exception: > java.io.IOException: Stream closed; SQL statement: > RUNSCRIPT FROM 'G:\mytest\mydb' COMPRESSION LZF [90028-113] > > This is on 1.1.113. Am I doing something wrong? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---
