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_heap.cc | |
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_heap.cc')
-rw-r--r-- | sql/ha_heap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc index d7327362286..7340a6973b5 100644 --- a/sql/ha_heap.cc +++ b/sql/ha_heap.cc @@ -484,7 +484,7 @@ void ha_heap::update_create_info(HA_CREATE_INFO *create_info) create_info->auto_increment_value= auto_increment_value; } -longlong ha_heap::get_auto_increment() +ulonglong ha_heap::get_auto_increment() { ha_heap::info(HA_STATUS_AUTO); return auto_increment_value; |