Eugene Kosov
cb4657e3b4
MDEV-14627 SQL: disallow ADD SYSTEM VERSIONING for system-versioned tables
...
SQL: disallow ADD SYSTEM VERSIONING for system-versioned tables
2017-12-12 14:56:28 +03:00
Eugene Kosov
2968543f8d
IB: NULL instead of autodecrement [ closes #373 ]
2017-12-08 19:37:24 +03:00
Sergei Golubchik
903be4e6be
remove my_error_as and one unnecessary error message
2017-12-08 16:26:16 +03:00
Sergei Golubchik
d3845132fc
remove 'vers_auto_decrement'
...
Do not generate fake values when adding an auto-inc column to a versioned
table. This is not a auto-inc issue, but a more general case of adding
a not nullalble unique column to a table with history. We don't support
it yet, not even with a special auto-inc hack. As a workaround, one
can use a nullable unique column, that works.
2017-12-05 18:01:43 +03:00
Aleksey Midenkov
f826f1249b
Tests: suppress tinyint error for ppc64le [ #347 ]
2017-11-28 14:21:00 +03:00
Aleksey Midenkov
f9d875d212
SQL: disable engine change [ fixes #358 ]
2017-11-27 19:48:36 +03:00
Eugene Kosov
62470fc787
SQL: recreate PRIMARY KEY on DROP SYSTEM VERSIONING [ #348 ]
2017-11-27 15:07:34 +03:00
Aleksey Midenkov
0c571f8c4e
SQL: versioning_alter_history ERROR mode [ closes #350 ]
...
Disabled DROP and SURVIVE modes.
2017-11-27 15:07:34 +03:00
Aleksey Midenkov
cbe93291e4
SQL,IB: add auto_inc copy mode fix [ #347 ]
...
Related to #212 .
Extra update of sys_trx_start removed [#87 ].
2017-11-23 18:31:55 +03:00
Eugene Kosov
91ba4f04be
SQL: prohibit column conversion to system fields for non-empty table [ fixes #310 ]
2017-11-22 15:31:03 +03:00
Eugene Kosov
f9b8c908a0
SQL: ADD/DROP SYSTEM VERSIONING syntax for ALTER TABLE
2017-11-17 11:25:49 +03:00
Aleksey Midenkov
33085349e9
IB, SQL: removed VTQ, added TRT on SQL layer [ closes #305 ]
2017-11-15 00:22:10 +03:00
Eugene Kosov
c2a70c8050
SQL, IB: option to drop historical rows on ALTER [ closes #249 ]
2017-09-01 12:41:46 +03:00
Aleksey Midenkov
d3d2ea9fd5
SQL, Parser: system_time logic and syntax fixes [ closes #237 ]
2017-08-08 17:12:16 +03:00
Eugene Kosov
5ce6044b1c
SQL: remove versioning only when hidden system fields
...
[closes #211 ]
2017-08-03 16:03:19 +03:00
Eugene Kosov
f8b6256992
SQL: disallow ALTER CHANGE of system fields [ fixes #213 ]
2017-07-19 23:06:07 +03:00
Eugene Kosov
229c528110
SQL: hide system fields instead of drop [ closes #210 ]
2017-06-29 12:07:16 +03:00
Eugene Kosov
414651c80a
SQL: ALTER ADD COLUMN order fix
2017-05-25 15:25:04 +03:00
Aleksey Midenkov
1894fab11a
Tests: split versioning.select into combinations
2017-05-05 20:36:32 +03:00
kevg
fb801289f3
IB, Tests: ALTER with ALGORITHM=INPLACE for InnoDB [ closes #87 ]
2017-05-05 20:36:28 +03:00
kevg
57692d7117
SQL, IB: ALTER ADD AUTO_INCREMENT for versioned tables [ closes #112 ]
2017-05-05 20:36:24 +03:00
kevg
a17b8f707f
0.5: basic support for ALTER TABLE for InnoDB and other storage engines [ closes #57 ]
2017-05-05 20:36:21 +03:00