Hi!

With 3.7.6 and 3.7.6.1 on NetBSD-5.99.49/amd64, a program I'm using
started dumping core.

The sequence it is using is sqlite3_open, sqlite3_exec (with a
synchronous = off), sqlite3_exec with user_version and boom. I can
reproduce this with the command line client.

# sqlite3 new
SQLite version 3.7.6.1
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> PRAGMA synchronous = OFF;
sqlite> pragma user_version = 17002;
(hangs)

The same program worked fine with 3.7.5.

The "PRAGMA synchronous = OFF;" line is not necessary for the hang in
the interactive client, it works as well with:
# sqlite3 new2
SQLite version 3.7.6.1
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> pragma user_version = 1;
(hang)

Perhaps non-standard options used during compilation are
-DUSE_PREAD
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1

Suggestions?
 Thomas
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to