summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.h
diff options
context:
space:
mode:
authorunknown <monty@tik.mysql.com>2000-10-15 18:45:53 +0300
committerunknown <monty@tik.mysql.com>2000-10-15 18:45:53 +0300
commitd78f9840978cf60b73f13f6a5201ed5593636573 (patch)
tree51edb97a7ba1e486acf5bdba590984b73c775b29 /sql/ha_berkeley.h
parent31ed959ba37ae81b9b0eb2079f1576f34f1241c7 (diff)
downloadmariadb-git-d78f9840978cf60b73f13f6a5201ed5593636573.tar.gz
Changed meaning of HA_EXTRA_RESET and start of hidden primary keys for BDB tables
heap/hp_extra.c: Changed meaning of HA_EXTRA_RESET include/my_base.h: Added HA_EXTRA_RESET_STATE isam/extra.c: Changed meaning of HA_EXTRA_RESET isam/pack_isam.c: Addapt to changed HA_EXTRA_RESET merge/extra.c: Changed meaning of HA_EXTRA_RESET myisam/mi_extra.c: Changed meaning of HA_EXTRA_RESET myisam/myisampack.c: Addapt to changed HA_EXTRA_RESET myisammrg/myrg_extra.c: Addapt to changed HA_EXTRA_RESET sql/filesort.cc: Addapt to changed HA_EXTRA_RESET sql/ha_berkeley.cc: Hidden primary key sql/ha_berkeley.h: Hidden primary key BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
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);