diff options
author | bell@sanja.is.com.ua <> | 2002-11-06 00:41:25 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2002-11-06 00:41:25 +0200 |
commit | 6ed210db68e855f783a5b94655dbcf08ee1509e5 (patch) | |
tree | 33f30a46c49c881c4b5bea255e3892a784ad4778 /sql/handler.cc | |
parent | aceaf381efc92d32b5109313c472557a1ad6e1d2 (diff) | |
download | mariadb-git-6ed210db68e855f783a5b94655dbcf08ee1509e5.tar.gz |
fixed bdb transaction with query cache bug
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 7aba6817eca..f07e90d2eb9 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -294,7 +294,8 @@ int ha_commit_trans(THD *thd, THD_TRANS* trans) error=1; } else - transaction_commited= 1; + if (!(thd->options & OPTION_BEGIN)) + transaction_commited= 1; trans->bdb_tid=0; } #endif |