diff options
author | unknown <sanja@montyprogram.com> | 2013-10-29 18:50:36 +0200 |
---|---|---|
committer | unknown <sanja@montyprogram.com> | 2013-10-29 18:50:36 +0200 |
commit | 52dea41052bc1be1efbe59c320046d7e62cfd0a6 (patch) | |
tree | 515c69dbce80f1af73974286de8f87413b1cad23 /mysql-test/r/derived.result | |
parent | 86901216fd4f7eb0844e884203810a0e43fcd103 (diff) | |
parent | 5ce11d8b4ca2a57968656925a69ed8114d5374f6 (diff) | |
download | mariadb-git-52dea41052bc1be1efbe59c320046d7e62cfd0a6.tar.gz |
Merge 5.3->5.5
Diffstat (limited to 'mysql-test/r/derived.result')
-rw-r--r-- | mysql-test/r/derived.result | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/r/derived.result b/mysql-test/r/derived.result index 685e8ddd6bc..9d31ceab4d1 100644 --- a/mysql-test/r/derived.result +++ b/mysql-test/r/derived.result @@ -438,6 +438,33 @@ CALL p(); id drop procedure p; drop temporary table t1; +# +# MDEV-5143: update of a joined table with a nested subquery with +# a syntax error crashes mysqld with signal 11 +# +create table t1 (id int(11) not null auto_increment, val varchar(100) null,primary key (id)); +create table t2 (id int(11) not null auto_increment, val varchar(100) null,primary key (id)); +insert into t1 (val) values('a'); +insert into t2 (val) values('1'); +update +( +select +val +from +( +select +v.val +from +t2 wrong_table_alias +) t4 +) t3 +inner join t1 on +t1.id=t3.val +set +t1.val=t3.val +; +ERROR 42S22: Unknown column 'v.val' in 'field list' +drop table t1, t2; # End of 5.3 tests # # Bug#58730 Assertion failed: table->key_read == 0 in close_thread_table, |