Re: [gnome-db] Status of libgda's trunk



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Vivien,

yes probably using gda_statement_is_useless () is a workaround.
Anyway there were one or two empty lines on the file I was parsing, and
those caused the crash. I think it's redundant to call
gda_statement_is_useless () in a recursive function.

thanks and regards,
Massimo



> It seems SQLite does not work correctly when the prepared statement is
> NULL (it makes it crash). However normally the parser includes leading
> and trailing newlines into the current statement, so you should not
> have any problem. For example parsing the
> "stmt1\n;\n\nstmt2;\nstmt3\n" should create 3 statements only. Of
> course you can always use gda_statement_is_useless() to tell
> if a statement is useless.
> 
> Anyway, the correction will be in SVN ASAP.
> 
> Cheers,
> 
> Vivien
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFH3/ukcfVTgMRILk0RAufiAJ95eLOQN/46ka1VHp5TkSrS1tq50gCfZaC3
NFPNje0VmkYLk7M0REGk29g=
=4lA9
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]