> > 2007/2/27, Jakub Ladman <[EMAIL PROTECTED]>: > > > Dear Friends > > > Please let me know what should i do with this? > > > > > > SQLite version 3.3.13 > > > Enter ".help" for instructions > > > sqlite> create table tbl1(one varchar(10), two smallint); > > > SQL error: database is locked > > > sqlite> > > > > > > (sqlite is launched by root)
I suspect file locking via fcntl() is not working in your embedded libc. Try compiling the source code with -D__DJGPP__ which will make fcntl() a no op. - Or - if that fails try compiling with -DSQLITE_LOCK_TRACE -DSQLITE_DEBUG to see what errors it generates. (Don't do both at the same time) ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------