gh-ost/go/logic
Shlomi Noach 36c669dd75
Generated column as part of UNIQUE (or PRIMARY) KEY (#919)
* 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

* Generated column as part of UNIQUE (or PRIMARY) KEY

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

* skip analysis of generated column data type in unique key

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-24 20:16:49 +02:00
..
applier.go Copy auto increment (#967) 2021-05-14 15:32:56 +02:00
hooks.go Store lastHeartbeatOnChangelogTime instead of CurrentHeartbeatLag 2021-02-03 10:03:45 +00:00
inspect.go Generated column as part of UNIQUE (or PRIMARY) KEY (#919) 2021-05-24 20:16:49 +02:00
migrator.go Copy auto increment (#967) 2021-05-14 15:32:56 +02:00
server.go Add mysql port and version 2021-04-03 23:24:29 +02:00
streamer.go Merge branch 'master' into improve-conn-log 2021-02-08 13:35:30 +01:00
throttler.go Merge branch 'master' into logging-interface-contrib 2020-07-21 16:01:29 -05:00