SQLite Version 3.0.3
 
When I compile my own sqlite3.exe binary and try to create a table, I
get the message "database is locked".  This happens when I use the
configure script from the sqlite tarball, or when compiling the objects
seperately and linking with the sqlite-source zip file.  The same
message occurs if I specify a file or :memory: for both the command line
shell and when linking with libsqlite3.
 
If I use the precompiled .exe, it works as expected.  If I compile on
Linux, it works as expected.  Any ideas why this would happen with
cygwin?
 
$ sqlite3 ":memory:"
SQLite version 3.0.3
Enter ".help" for instructions
sqlite> create table T(a INTEGER);
SQL error: database is locked
sqlite> SELECT name FROM sqlite_master
   ...> WHERE type='table'
   ...> ORDER BY name;
sqlite> .quit
 
 
Jeff Dever (B.C.S, E.Tech)
Software Developer
 
VAULT Technologies
Direct: 403.516.6316
Main: 403.723.2200
[EMAIL PROTECTED]
http://vaultpark.com <http://vaultpark.com/> 
 

Reply via email to