Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
11.6(EOL)
-
None
-
None
Description
Testcase:
CREATE TABLE t1 (a tinyint(3), b tinyint(5)); |
INSERT INTO t1 VALUES (1,1); |
|
LOCK TABLE t1 write; |
INSERT INTO t1 VALUES (1,2); |
delete from t1 as at; |
UNLOCK TABLES;
|
|
drop table t1; |
Actual result:
At line 10: query 'delete from t1 as at' failed: ER_TABLE_NOT_LOCKED (1100): Table 'at' was not locked with LOCK TABLES |
Expected result:
Delete was successful
Attachments
Issue Links
- is caused by
-
MDEV-33988 DELETE (single table) to support table aliases
- Closed