Re: [sqlite] why is the data file locked after writing?

2009-06-17 Thread Igor Tandetnik
liubin liu wrote: > why is the data file locked after writing? > > the last printf() result is: > # IN END, ret = 5 Because you still have a statement in progress. Finalize it with sqlite3_finalize. Igor Tandetnik ___ sqlite-users mailing list

[sqlite] why is the data file locked after writing?

2009-06-17 Thread liubin liu
why is the data file locked after writing? the last printf() result is: # IN END, ret = 5 according to the "Result Codes": #define SQLITE_BUSY 5 /* The database file is locked */ It means to the database file is locked? why does it happen after writing?