summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.h
diff options
context:
space:
mode:
authormonty@tik.mysql.com <>2000-10-15 18:45:53 +0300
committermonty@tik.mysql.com <>2000-10-15 18:45:53 +0300
commit9323e733ff9bfbbc7555de94cb9b603f47502905 (patch)
tree51edb97a7ba1e486acf5bdba590984b73c775b29 /sql/ha_berkeley.h
parent00625e0f8fe6f748763100a3a46787691835d83e (diff)
downloadmariadb-git-9323e733ff9bfbbc7555de94cb9b603f47502905.tar.gz
Changed meaning of HA_EXTRA_RESET and start of hidden primary keys for BDB tables
Diffstat (limited to 'sql/ha_berkeley.h')
-rw-r--r--sql/ha_berkeley.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h
index 519e4b62cf9..89ee6e58332 100644
--- a/sql/ha_berkeley.h
+++ b/sql/ha_berkeley.h
@@ -24,9 +24,12 @@
#include <db.h>
typedef struct st_berkeley_share {
+ ulonglong auto_ident;
THR_LOCK lock;
+ pthread_mutex_t mutex;
char *table_name;
uint table_name_length,use_count;
+ my_bool inited;
} BDB_SHARE;
class ha_berkeley: public handler
@@ -44,7 +47,7 @@ class ha_berkeley: public handler
ulong int_option_flag;
ulong alloced_rec_buff_length;
uint primary_key,last_dup_key;
- bool fixed_length_row, fixed_length_primary_key;
+ bool fixed_length_row, fixed_length_primary_key, hidden_primary_key;
bool fix_rec_buff_for_blob(ulong length);
ulong max_row_length(const byte *buf);