diff options
author | monty@mishka.local <> | 2004-09-15 22:10:31 +0300 |
---|---|---|
committer | monty@mishka.local <> | 2004-09-15 22:10:31 +0300 |
commit | 91ff64e107866821efc8591fc6ecf28f3b7ee9a0 (patch) | |
tree | d4323a7f81c07c98095c922e124755d6ac3253b8 /sql/ha_berkeley.h | |
parent | 3ce78a27cdcb9b0ba4d6e0f36f2953cf8db7b518 (diff) | |
download | mariadb-git-91ff64e107866821efc8591fc6ecf28f3b7ee9a0.tar.gz |
Added options --auto-increment-increment and --auto-increment-offset.
This allows one to setup a master <-> master replication with non conflicting auto-increment series.
Cleaned up binary log code to make it easyer to add new state variables.
Added simpler 'upper level' logic for artificial events (events that should not cause cleanups on slave).
Simplified binary log handling.
Changed how auto_increment works together with to SET INSERT_ID=# to make it more predictable: Now the inserted rows in a multi-row statement are set independent of the existing rows in the table. (Before only InnoDB did this correctly)
Diffstat (limited to 'sql/ha_berkeley.h')
-rw-r--r-- | sql/ha_berkeley.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h index 975d70abf7b..d4fb4ca5fbb 100644 --- a/sql/ha_berkeley.h +++ b/sql/ha_berkeley.h @@ -153,7 +153,7 @@ class ha_berkeley: public handler int5store(to,share->auto_ident); pthread_mutex_unlock(&share->mutex); } - longlong get_auto_increment(); + ulonglong get_auto_increment(); void print_error(int error, myf errflag); uint8 table_cache_type() { return HA_CACHE_TBL_TRANSACT; } bool primary_key_is_clustered() { return true; } |