On Fri, Jan 26, 2018 at 1:21 PM, Peter Da Silva < [email protected]> wrote:
> Sqlite uses NUL as the string terminator internally, the published API > specifies has stuff like this all over the place: > > > In those routines that have a fourth argument, its value is the number > of bytes in the parameter. To be clear: the value is the number of bytes in > the value, not the number of characters. If the fourth parameter to > sqlite3_bind_text() or sqlite3_bind_text16() is negative, then the length > of the string is the number of bytes UP TO THE FIRST ZERO TERMINATOR. > > You stressed the wrong part there - *IS NEGATIVE* > It would be a huge push-up to change this, it would break everything, > including extensions. I don't think it would be possible until something > like sqlite4. > > _______________________________________________ > sqlite-users mailing list > [email protected] > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

