diff options
author | danielk1977 <danielk1977@noemail.net> | 2004-05-31 08:26:49 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2004-05-31 08:26:49 +0000 |
commit | 1d850a72c265ad9368b322ca39125c9b0c3d8509 (patch) | |
tree | 3ae42a002f87796ecea58f7094dea2096fa4439a /src/main.c | |
parent | a19b775db9b2f12263e54cf0f64162ced526fff5 (diff) | |
download | sqlite-1d850a72c265ad9368b322ca39125c9b0c3d8509.tar.gz sqlite-1d850a72c265ad9368b322ca39125c9b0c3d8509.zip |
Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500)
FossilOrigin-Name: b8ed812c92f2dbb4431d45aeb41646ceb53e0cbc
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index b3fbebc70..af8e74b80 100644 --- a/src/main.c +++ b/src/main.c @@ -14,7 +14,7 @@ ** other files are for internal use by SQLite and should not be ** accessed by users of the library. ** -** $Id: main.c,v 1.196 2004/05/29 10:23:19 danielk1977 Exp $ +** $Id: main.c,v 1.197 2004/05/31 08:26:49 danielk1977 Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -1020,6 +1020,7 @@ static int openDatabase( db->nDb = 2; db->aDb = db->aDbStatic; db->enc = def_enc; + db->autoCommit = 1; /* db->flags |= SQLITE_ShortColNames; */ sqlite3HashInit(&db->aFunc, SQLITE_HASH_STRING, 0); sqlite3HashInit(&db->aCollSeq, SQLITE_HASH_STRING, 0); |