Re: [sqlite] sqlite3_create_collation_v2 and SQLITE_UTF16_ALIGNED
* D. Richard Hipp: > On May 3, 2009, at 11:15 AM, Florian Weimer wrote: > >> The documentation suggests that I can pass SQLITE_UTF16_ALIGNED. >> However, the logic in main.c:createCollation() assumes that >> SQLITE_UTF16_ALIGNED is ORed with another encoding flag value >> (presumably SQLITE_UTF16). If I specify SQLITE_UTF16_ALIGNED alone, I >> end up with a crash due to a double free bug inside SQLite. >> >> (This has been observed with SQLite 3.6.13.) > > This has already been fixed. See > http://www.sqlite.org/cvstrac/chngview?cn=6558 Thanks. But isn't this a backwards-incompatible API change? The changes to sqlite/src/test1.c suggest this. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] sqlite3_create_collation_v2 and SQLITE_UTF16_ALIGNED
On May 3, 2009, at 11:15 AM, Florian Weimer wrote: > The documentation suggests that I can pass SQLITE_UTF16_ALIGNED. > However, the logic in main.c:createCollation() assumes that > SQLITE_UTF16_ALIGNED is ORed with another encoding flag value > (presumably SQLITE_UTF16). If I specify SQLITE_UTF16_ALIGNED alone, I > end up with a crash due to a double free bug inside SQLite. > > (This has been observed with SQLite 3.6.13.) This has already been fixed. See http://www.sqlite.org/cvstrac/chngview?cn=6558 D. Richard Hipp d...@hwaci.com ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users