1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-24 19:42:23 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
84ed2e7ce6 fix main.alter_table_{online,lock} 2023-08-15 10:16:13 +02:00
845c939601 MDEV-28943 Online alter fails under LOCK TABLE with ER_ALTER_OPERATION_NOT_SUPPORTED_REASON
if ALTER TABLE ... LOCK=xxx is executed under LOCK TABLES,
ignore the LOCK clause, because ALTER should not downgrade
already taken EXCLUSIVE table lock to SHARED or NONE.

This commit preserves the existing behavior (LOCK was de facto ignored),
but makes it explicit.
2023-08-15 10:16:12 +02:00
f7dd8799e7 Fixed bug in alter_table_lock.result
Before this change the test could abort with ER_OPTION_PREVENTS_STATEMENT
2022-05-12 10:01:10 +03:00
13076bd314 Avoid some failures WITH_MSAN 2022-02-28 14:05:50 +02:00