gh-ost/go/base
Tim Vaillancourt c71dbf9ef3
Copy auto increment (#967)
* v1.1.0

* WIP: copying AUTO_INCREMENT value to ghost table
Initial commit: towards setting up a test suite

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>

* greping for 'expect_table_structure' content

* Adding simple test for 'expect_table_structure' scenario

* adding tests for AUTO_INCREMENT value after row deletes. Should initially fail

* clear event beforehand

* parsing AUTO_INCREMENT from alter query, reading AUTO_INCREMENT from original table, applying AUTO_INCREMENT value onto ghost table if applicable and user has not specified AUTO_INCREMENT in alter statement

* support GetUint64

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>

* minor update to test

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>

* adding test for user defined AUTO_INCREMENT statement

Co-authored-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-14 15:32:56 +02:00
..
context_test.go Refactor global migration context 2017-08-08 13:36:54 -07:00
context.go Copy auto increment (#967) 2021-05-14 15:32:56 +02:00
default_logger.go implement a logging interface 2019-10-07 11:10:36 -04:00
load_map_test.go Throttling & critical load 2016-06-18 21:12:07 +02:00
load_map.go Throttling & critical load 2016-06-18 21:12:07 +02:00
utils_test.go Throttling & critical load 2016-06-18 21:12:07 +02:00
utils.go Merge branch 'master' into improve-conn-log 2021-02-08 13:35:30 +01:00