[GB.DB.MYSQL]
* BUG: Use "START TRANSACTION" instead of "BEGIN", because I was told that BEGIN actually does nothing as autocommit is set by default. git-svn-id: svn://localhost/gambas/trunk@7756 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
d15a425953
commit
59d84053a9
1 changed files with 1 additions and 1 deletions
|
@ -1251,7 +1251,7 @@ static int begin_transaction(DB_DATABASE *db)
|
|||
/* Autocommit is on by default. Lets set it off. */
|
||||
/* BM: why not doing that when we open the connection ? */
|
||||
//do_query(db, "Unable to set autocommit to 0: &1", NULL, "set autocommit=0", 0);
|
||||
return do_query(db, "Unable to begin transaction: &1", NULL, "BEGIN", 0);
|
||||
return do_query(db, "Unable to begin transaction: &1", NULL, "START TRANSACTION", 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue