gh-ost/go
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
..
base Copy auto increment (#967) 2021-05-14 15:32:56 +02:00
binlog add migrationcontext to gomysql_reader 2019-10-08 13:49:15 -04:00
cmd/gh-ost rm main 2021-01-13 17:21:21 +08:00
logic Copy auto increment (#967) 2021-05-14 15:32:56 +02:00
mysql Merge branch 'master' into ipv6 2020-10-22 11:39:46 +02:00
os renaming to gh-ost 2016-05-16 11:09:17 +02:00
sql Copy auto increment (#967) 2021-05-14 15:32:56 +02:00