Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1(EOL)
-
None
Description
ALTER..INPLACE does not work for BINARY data type
DROP TABLE IF EXISTS t1;
|
CREATE TABLE t1 (a BINARY(10));
|
ALTER TABLE t1 MODIFY a BINARY(10), ALGORITHM=INPLACE;
|
returns
ERROR 1846 (0A000): ALGORITHM=INPLACE is not supported. Reason: Cannot change column type INPLACE. Try ALGORITHM=COPY.
|
The same error happens for BLOB:
DROP TABLE IF EXISTS t1;
|
CREATE TABLE t1 (a BLOB);
|
ALTER TABLE t1 MODIFY a BLOB, ALGORITHM=INPLACE;
|
The same problem happens for GEOMETRY:
DROP TABLE IF EXISTS t1;
|
CREATE TABLE t1 (a GEOMETRY);
|
ALTER TABLE t1 MODIFY a GEOMETRY, ALGORITHM=INPLACE;
|
Note, it does work fine for VARBINARY:
DROP TABLE IF EXISTS t1; CREATE TABLE t1 (a VARBINARY(10));
|
ALTER TABLE t1 MODIFY a VARBINARY(10), ALGORITHM=INPLACE;
|