diff options
author | unknown <vva@eagle.mysql.r18.ru> | 2004-03-27 02:37:05 +0400 |
---|---|---|
committer | unknown <vva@eagle.mysql.r18.ru> | 2004-03-27 02:37:05 +0400 |
commit | 04e879e7aedb11cb32db81bcef92169297784007 (patch) | |
tree | 27627db4156f31201fdf5a3302e0d781c75ca873 /sql | |
parent | 2e3950b20d26008092a6035d966e58249de8bd02 (diff) | |
download | mariadb-git-04e879e7aedb11cb32db81bcef92169297784007.tar.gz |
some cleanup of last patch for BUG #2342
mysql-test/t/bdb-crash.test:
added newline
sql/ha_berkeley.cc:
added a commet
Diffstat (limited to 'sql')
-rw-r--r-- | sql/ha_berkeley.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc index d0ce8f1fdb2..3522aadf349 100644 --- a/sql/ha_berkeley.cc +++ b/sql/ha_berkeley.cc @@ -2102,6 +2102,15 @@ int ha_berkeley::analyze(THD* thd, HA_CHECK_OPT* check_opt) DB_TXN_STAT *txn_stat_ptr= 0; /* + Original bdb documentation says: + "The DB->stat method cannot be transaction-protected. + For this reason, it should be called in a thread of + control that has no open cursors or active transactions." + So, let's check if there are any changes have been done since + the beginning of the transaction.. + */ + + /* If it's a merge conflict here (4.0->4.1), please ignore it! The reason of the conflict is the difference between versions of bdb: |