summaryrefslogtreecommitdiff
path: root/mysql-test/t/delayed.test
diff options
context:
space:
mode:
authorEvgeny Potemkin <epotemkin@mysql.com>2009-10-20 11:30:41 +0400
committerEvgeny Potemkin <epotemkin@mysql.com>2009-10-20 11:30:41 +0400
commit4349a4726e46a5694ceda60713b67d9132c8a4a0 (patch)
treeb5430b493ae6d3d29e6f5107bb8fee90742310ca /mysql-test/t/delayed.test
parent3c557833205a44e08b72d47db53054562907cc78 (diff)
downloadmariadb-git-4349a4726e46a5694ceda60713b67d9132c8a4a0.tar.gz
#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. mysql-test/r/delayed.result: A test case result is adjusted after fixing bug#41760. mysql-test/r/insert.result: A test case result is adjusted after fixing bug#41760. mysql-test/t/delayed.test: A test case is adjusted after fixing bug#41760. mysql-test/t/insert.test: A test case is adjusted after fixing bug#41760.
Diffstat (limited to 'mysql-test/t/delayed.test')
-rw-r--r--mysql-test/t/delayed.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/delayed.test b/mysql-test/t/delayed.test
index 94ad22b80d0..14833b8f837 100644
--- a/mysql-test/t/delayed.test
+++ b/mysql-test/t/delayed.test
@@ -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;