summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.h
diff options
context:
space:
mode:
authormonty@mishka.local <>2004-09-15 22:10:31 +0300
committermonty@mishka.local <>2004-09-15 22:10:31 +0300
commit91ff64e107866821efc8591fc6ecf28f3b7ee9a0 (patch)
treed4323a7f81c07c98095c922e124755d6ac3253b8 /sql/ha_innodb.h
parent3ce78a27cdcb9b0ba4d6e0f36f2953cf8db7b518 (diff)
downloadmariadb-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_innodb.h')
-rw-r--r--sql/ha_innodb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h
index 1bfb86de944..fa3e9f012e8 100644
--- a/sql/ha_innodb.h
+++ b/sql/ha_innodb.h
@@ -164,7 +164,7 @@ class ha_innobase: public handler
THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to,
enum thr_lock_type lock_type);
void init_table_handle_for_HANDLER();
- longlong get_auto_increment();
+ ulonglong get_auto_increment();
uint8 table_cache_type() { return HA_CACHE_TBL_ASKTRANSACT; }
static char *get_mysql_bin_log_name();
static ulonglong get_mysql_bin_log_pos();