summaryrefslogtreecommitdiff
path: root/innobase/include
diff options
context:
space:
mode:
authorunknown <heikki@work.mysql.com>2002-09-04 19:01:39 +0200
committerunknown <heikki@work.mysql.com>2002-09-04 19:01:39 +0200
commit519c1185b32530b1657b21eb0e7a47df87b72785 (patch)
treeaae201ad56b7fbba9a7471ac8a81bd3d0f6257c6 /innobase/include
parent385319b2cfad4edcd926f5bd5163c7921ca832e3 (diff)
downloadmariadb-git-519c1185b32530b1657b21eb0e7a47df87b72785.tar.gz
dict0dict.h Put back code inadvertently removed in previous bk commit
dict0dict.c Put back code inadvertently removed in previous bk commit innobase/dict/dict0dict.c: Put back code inadvertently removed in previous bk commit innobase/include/dict0dict.h: Put back code inadvertently removed in previous bk commit
Diffstat (limited to 'innobase/include')
-rw-r--r--innobase/include/dict0dict.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/innobase/include/dict0dict.h b/innobase/include/dict0dict.h
index bf393210763..dd92c5aa467 100644
--- a/innobase/include/dict0dict.h
+++ b/innobase/include/dict0dict.h
@@ -121,6 +121,15 @@ dict_table_autoinc_decrement(
/*=========================*/
dict_table_t* table); /* in: table */
/************************************************************************
+Reads the next autoinc value (== autoinc counter value), 0 if not yet
+initialized. */
+
+ib_longlong
+dict_table_autoinc_read(
+/*====================*/
+ /* out: value for a new row, or 0 */
+ dict_table_t* table); /* in: table */
+/************************************************************************
Peeks the autoinc counter value, 0 if not yet initialized. Does not
increment the counter. The read not protected by any mutex! */