[vlc-devel] [PATCH] Prepared statements for SQL

Paul Corke Paul.Corke at datatote.co.uk
Wed Oct 21 17:18:05 CEST 2009


On 21 October 2009 14:19, Laurent Aimar wrote:

> Is '\0' a valid char inside a SQL request?  

Yes.  You can certainly store it the database and it would be valid for
the string pointed to by the third parameter to sqlite3_bind_text()
to have '\0' in it somewhere.

I'm not sure why vlc would want to store a '\0' but it is valid.

Regards,

Paul.



More information about the vlc-devel mailing list