diff options
author | unknown <heikki@donna.mysql.fi> | 2001-05-21 19:04:46 +0300 |
---|---|---|
committer | unknown <heikki@donna.mysql.fi> | 2001-05-21 19:04:46 +0300 |
commit | 00c7a75380c944fbfdf982989a0b76a6f0057210 (patch) | |
tree | 227b53a6a74235a06057b8f20f57bf38e04cd997 /innobase/include/dict0mem.h | |
parent | 9171d4da5966d55e65cd1d81a00ca34c877cbe47 (diff) | |
download | mariadb-git-00c7a75380c944fbfdf982989a0b76a6f0057210.tar.gz |
dict0dict.h InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0mem.h InnoDB now tries to provide autoinc column value from a counter table in data dict
sync0sync.h InnoDB now tries to provide autoinc column value from a counter table in data dict
univ.i InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0dict.c InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0mem.c InnoDB now tries to provide autoinc column value from a counter table in data dict
sync0sync.c InnoDB now tries to provide autoinc column value from a counter table in data dict
ha_innobase.cc InnoDB now tries to provide autoinc column value from a counter table in data dict
sql/ha_innobase.cc:
InnoDB now tries to provide autoinc column value from a counter table in data dict
innobase/sync/sync0sync.c:
InnoDB now tries to provide autoinc column value from a counter table in data dict
innobase/dict/dict0mem.c:
InnoDB now tries to provide autoinc column value from a counter table in data dict
innobase/dict/dict0dict.c:
InnoDB now tries to provide autoinc column value from a counter table in data dict
innobase/include/dict0dict.h:
InnoDB now tries to provide autoinc column value from a counter table in data dict
innobase/include/dict0mem.h:
InnoDB now tries to provide autoinc column value from a counter table in data dict
innobase/include/sync0sync.h:
InnoDB now tries to provide autoinc column value from a counter table in data dict
innobase/include/univ.i:
InnoDB now tries to provide autoinc column value from a counter table in data dict
Diffstat (limited to 'innobase/include/dict0mem.h')
-rw-r--r-- | innobase/include/dict0mem.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/innobase/include/dict0mem.h b/innobase/include/dict0mem.h index 42b9cb55270..be9cd42b7be 100644 --- a/innobase/include/dict0mem.h +++ b/innobase/include/dict0mem.h @@ -302,6 +302,16 @@ struct dict_table_struct{ for MySQL SHOW TABLE STATUS; this counter is not protected by any latch, because this is only used for heuristics */ + /*----------------------*/ + mutex_t autoinc_mutex; + /* mutex protecting the autoincrement + counter */ + ibool autoinc_inited; + /* TRUE if the autoinc counter has been + inited; MySQL gets the init value by executing + SELECT MAX(auto inc column) */ + ib_longlong autoinc;/* autoinc counter value already given to + a row */ ulint magic_n;/* magic number */ }; #define DICT_TABLE_MAGIC_N 76333786 |