summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.h
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-02 00:27:08 +0200
committerunknown <monty@donna.mysql.com>2001-01-02 00:27:08 +0200
commit170736f88607d53e818bf73d6d40309f7d96b1b6 (patch)
treead69c7c5b1ebe3a109f863f979e2c6b9ceb041c7 /sql/ha_berkeley.h
parent189509c623d09692e7bda2e998f5fbd9215f9ab3 (diff)
downloadmariadb-git-170736f88607d53e818bf73d6d40309f7d96b1b6.tar.gz
Fixed bug when opening BDB tables twice
Build-tools/Do-all-build-steps: Create the result directory Docs/manual.texi: More explanation about mysql_install_db mysql-test/mysql-test-run.sh: Add --core option mysql-test/r/bdb.result: Test of opening tables twice mysql-test/t/bdb.test: Test of opening tables twice sql/ha_berkeley.cc: Fixed bug when table is in use sql/ha_berkeley.h: Fixed bug when table is in use
Diffstat (limited to 'sql/ha_berkeley.h')
-rw-r--r--sql/ha_berkeley.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h
index f0809598798..8684bbb0442 100644
--- a/sql/ha_berkeley.h
+++ b/sql/ha_berkeley.h
@@ -35,6 +35,8 @@ typedef struct st_berkeley_share {
u_int32_t *key_type;
uint table_name_length,use_count;
uint status,version;
+ uint ref_length;
+ bool fixed_length_primary_key, fixed_length_row;
} BDB_SHARE;
@@ -55,8 +57,8 @@ class ha_berkeley: public handler
ulong changed_rows;
uint primary_key,last_dup_key, hidden_primary_key, version;
u_int32_t lock_on_read;
- bool fixed_length_row, fixed_length_primary_key, key_read, using_ignore;
- bool fix_rec_buff_for_blob(ulong length);
+ bool key_read, using_ignore;
+ bool fix_rec_buff_for_blob(ulong length);
byte current_ident[BDB_HIDDEN_PRIMARY_KEY_LENGTH];
ulong max_row_length(const byte *buf);