1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

#41760 Inserting into multiple-table views is not working

During insert, we are not reading the rows in a referring table but
instead using the last read row that happens to be in table->record[0].

Now INSERT into such view is denied.
This commit is contained in:
Evgeny Potemkin
2009-10-20 11:30:41 +04:00
parent 68c55462ef
commit c4cf9fc0bb
5 changed files with 43 additions and 21 deletions

View File

@ -247,7 +247,7 @@ DROP TABLE t1;
# Bug #32676: insert delayed crash with wrong column and function specified
#
CREATE TABLE t1 (a INT);
--error ER_BAD_FIELD_ERROR
--error 1305
INSERT DELAYED INTO t1 SET b= b();
DROP TABLE t1;