summaryrefslogtreecommitdiff
path: root/storage/myisammrg/mysql-test
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-04-11 11:49:26 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-04-12 12:28:09 +0300
commit4dc10ec68d354241768ce4779c024b4bb2ca897b (patch)
tree5d35027fb2b4f8d0ef33b02a15d938953c14e7be /storage/myisammrg/mysql-test
parenta05f423554d0825997c1ff3de7e49e981e84e882 (diff)
downloadmariadb-git-4dc10ec68d354241768ce4779c024b4bb2ca897b.tar.gz
MDEV-19236 Improve error message for ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE
remove a sometimes misleading word INPLACE from error message
Diffstat (limited to 'storage/myisammrg/mysql-test')
-rw-r--r--storage/myisammrg/mysql-test/storage_engine/alter_table_online.rdiff2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisammrg/mysql-test/storage_engine/alter_table_online.rdiff b/storage/myisammrg/mysql-test/storage_engine/alter_table_online.rdiff
index 854a00cfd81..857854a6115 100644
--- a/storage/myisammrg/mysql-test/storage_engine/alter_table_online.rdiff
+++ b/storage/myisammrg/mysql-test/storage_engine/alter_table_online.rdiff
@@ -61,7 +61,7 @@
+# Also, this problem may cause a chain effect (more errors of different kinds in the test).
+# -------------------------------------------
ALTER ONLINE TABLE t1 MODIFY b BIGINT <CUSTOM_COL_OPTIONS>;
--ERROR 0A000: LOCK=NONE is not supported. Reason: Cannot change column type INPLACE. Try LOCK=SHARED.
+-ERROR 0A000: LOCK=NONE is not supported. Reason: Cannot change column type. Try LOCK=SHARED.
+ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
+# ERROR: Statement ended with errno 1845, errname ER_ALTER_OPERATION_NOT_SUPPORTED (expected results: ER_ALTER_OPERATION_NOT_SUPPORTED_REASON)
ALTER ONLINE TABLE t1 ENGINE=MEMORY;