1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

support 'alter online table t1 page_checksum=0'

This commit is contained in:
Sergei Golubchik
2022-05-24 20:10:48 +02:00
parent 6c57e29b17
commit a8a22b7af2
36 changed files with 139 additions and 143 deletions

View File

@@ -23,7 +23,7 @@ t1 CREATE TABLE `t1` (
SPATIAL KEY `c` (`b`),
KEY `d` (`d`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
ALTER ONLINE TABLE t1 ADD PRIMARY KEY(a),DROP INDEX d;
ALTER ONLINE TABLE t1 ADD PRIMARY KEY(a),DROP INDEX d, ALGORITHM=INPLACE;
ERROR 0A000: LOCK=NONE is not supported. Reason: Do not support online operation on table with GIS index. Try LOCK=SHARED
show warnings;
Level Code Message