diff options
author | vva@eagle.mysql.r18.ru <> | 2004-03-27 00:35:45 +0400 |
---|---|---|
committer | vva@eagle.mysql.r18.ru <> | 2004-03-27 00:35:45 +0400 |
commit | 23d30c397d3f0d122eeec06029577ff954f244f5 (patch) | |
tree | 023a520ba94e415acedf48d976d399e523da8b05 /mysql-test/r/bdb-crash.result | |
parent | 9ed179ee8ea1504b710fb34f1f5f75e4db63ebbd (diff) | |
download | mariadb-git-23d30c397d3f0d122eeec06029577ff954f244f5.tar.gz |
fixed bug #2342
"Running ANALYZE TABLE on bdb table inside a transaction hangs server thread"
1. added new status HA_ADMIN_REJECT and processing of it in mysql_admin_table
2. got ha_berkley::analyze to return HA_ADMIN_REJECT if there are any
transactions with the table..
Diffstat (limited to 'mysql-test/r/bdb-crash.result')
-rw-r--r-- | mysql-test/r/bdb-crash.result | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/bdb-crash.result b/mysql-test/r/bdb-crash.result index 5079368ea21..16e51c61504 100644 --- a/mysql-test/r/bdb-crash.result +++ b/mysql-test/r/bdb-crash.result @@ -30,3 +30,10 @@ ChargeID ServiceID ChargeDate ChargeAmount FedTaxes ProvTaxes ChargeStatus Charg 1 1 2001-03-01 1.00 1.00 1.00 New blablabla NULL now 2 1 2001-03-01 1.00 1.00 1.00 New NULL NULL now drop table t1; +create table t1 (a int) engine=bdb; +set autocommit=0; +insert into t1 values(1); +analyze table t1; +Table Op Msg_type Msg_text +test.t1 analyze status Operation need committed state +drop table t1; |