[vlc-devel] [PATCH] Prepared statements for SQL
fenrir at via.ecp.fr
Wed Oct 21 15:18:33 CEST 2009
On Wed, Oct 21, 2009, jpd at videolan.org wrote:
> > I don't understand what i_length is. If it is strlen(psz_fmt), then
> > it is useless, otherwise a more explicit documentation is needed.
> The sql functions likely take a non-zero-terminated string, making
> psz_fmt a bit of a misnomer. This also needs documenting, of course.
I would then really prefer it to be 0 terminated if possible and to remove
the length parameter.
Is '\0' a valid char inside a SQL request?
More information about the vlc-devel