summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.h
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-02 00:27:08 +0200
committermonty@donna.mysql.com <>2001-01-02 00:27:08 +0200
commit7541f7212cc3956f042bf19b8094b279b5057ccc (patch)
treead69c7c5b1ebe3a109f863f979e2c6b9ceb041c7 /sql/ha_berkeley.h
parent94836b77ae37aa258a29f21ff7061fa0b690d51d (diff)
downloadmariadb-git-7541f7212cc3956f042bf19b8094b279b5057ccc.tar.gz
Fixed bug when opening BDB tables twice
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);