diff options
author | unknown <jimw@mysql.com> | 2005-12-09 15:00:33 -0800 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-12-09 15:00:33 -0800 |
commit | 2232e7b2bdcf5eac76c75b3d0ff6acdfad98a75e (patch) | |
tree | 8e54fb8c42c750aceab7ac826bb3f35b4eabadeb /mysql-test/r/bdb.result | |
parent | 4363949c02423f39e384fc9e9e6990d2c80f4577 (diff) | |
download | mariadb-git-2232e7b2bdcf5eac76c75b3d0ff6acdfad98a75e.tar.gz |
Fix crash in BDB from improper cleanup of transactions, and avoid problem
in NDB that the fix would cause due to improper registration of a transaction
that isn't meant to be seen by the handler layer. (Bug #14212)
Thanks to Sergei Golubchik for helping with this.
mysql-test/r/bdb.result:
Add new result
mysql-test/t/bdb.test:
Add new regression test
sql/ha_ndbcluster.cc:
Don't register transaction if transactions are "disabled".
sql/handler.cc:
Commit statement before trying to end transaction.
Diffstat (limited to 'mysql-test/r/bdb.result')
-rw-r--r-- | mysql-test/r/bdb.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/bdb.result b/mysql-test/r/bdb.result index 2bba44d36e9..dd251eed0f0 100644 --- a/mysql-test/r/bdb.result +++ b/mysql-test/r/bdb.result @@ -1895,3 +1895,8 @@ t1 CREATE TABLE `t1` ( ) ENGINE=BerkeleyDB DEFAULT CHARSET=latin1 drop table t1; set storage_engine=MyISAM; +set autocommit=0; +create table t1 (a int) engine=bdb; +commit; +alter table t1 add primary key(a); +drop table t1; |