diff options
author | unknown <monty@hundin.mysql.fi> | 2001-09-08 20:45:53 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-09-08 20:45:53 +0300 |
commit | 851bea0e88c0148b87eda3b32d287ef3211b262f (patch) | |
tree | ace5d8956a44c55c16f2016294db718ae8fb43a1 /sql/ha_berkeley.h | |
parent | 8e9c21de2ba0a41ba81ce14f0c5bbaa2187015b3 (diff) | |
download | mariadb-git-851bea0e88c0148b87eda3b32d287ef3211b262f.tar.gz |
Fix bugs when using LOCK TABLES with BDB tables
Optimized remove of key when using internal cursor in BDB tables.
mysql-test/r/bdb.result:
Test for LOCK bug
mysql-test/t/bdb.test:
Test for LOCK bug
sql/ha_berkeley.cc:
Fix bugs when using LOCK TABLES
Optimized remove of key when using internal cursor
sql/ha_berkeley.h:
Initilize of changed_rows
sql/lock.cc:
Fix for BDB tables
Diffstat (limited to 'sql/ha_berkeley.h')
-rw-r--r-- | sql/ha_berkeley.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h index 3eb793937ae..fda7d2f2069 100644 --- a/sql/ha_berkeley.h +++ b/sql/ha_berkeley.h @@ -93,7 +93,7 @@ class ha_berkeley: public handler HA_BLOB_KEY | HA_NOT_EXACT_COUNT | HA_PRIMARY_KEY_IN_READ_INDEX | HA_DROP_BEFORE_CREATE | HA_AUTO_PART_KEY), - last_dup_key((uint) -1),version(0),using_ignore(0) + changed_rows(0),last_dup_key((uint) -1),version(0),using_ignore(0) { } ~ha_berkeley() {} |