1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
unknown 870d46819e Bug #32400: Complex SELECT query returns correct result
only on some occasions

Referencing an element from the SELECT list in a WHERE 
clause is not permitted. The namespace of the WHERE
clause is the table columns only. This was not enforced
correctly when resolving outer references in sub-queries.

Fixed by not allowing references to aliases in a 
sub-query in WHERE.


mysql-test/include/ps_query.inc:
  Bug #32400: fixed old test queries
mysql-test/r/ps_2myisam.result:
  Bug #32400: fixed old test queries
mysql-test/r/ps_3innodb.result:
  Bug #32400: fixed old test queries
mysql-test/r/ps_4heap.result:
  Bug #32400: fixed old test queries
mysql-test/r/ps_5merge.result:
  Bug #32400: fixed old test queries
mysql-test/r/ps_6bdb.result:
  Bug #32400: fixed old test queries
mysql-test/r/ps_7ndb.result:
  Bug #32400: fixed old test queries
mysql-test/r/subselect.result:
  Bug #32400: test case
mysql-test/t/subselect.test:
  Bug #32400: test case
sql/item.cc:
  Bug #32400: don't allow references to aliases in WHERE
tests/mysql_client_test.c:
  Bug #32400: fixed old test queries
2007-11-20 19:18:21 +02:00
..
2003-08-28 06:08:17 +03:00
2006-05-31 22:55:45 -07:00
2005-07-06 17:16:22 +05:00
2007-03-29 11:20:08 +02:00
2005-05-05 10:36:17 -07:00
2003-01-28 08:38:28 +02:00
2004-06-20 19:11:02 +02:00
2005-07-22 21:06:02 +05:00
2003-12-25 20:11:01 +04:00
2007-06-07 20:25:22 +02:00
2003-05-21 21:39:58 +03:00
2004-12-13 21:00:43 +01:00
2005-06-17 14:03:27 +02:00
2006-11-20 22:42:06 +02:00
2007-06-15 13:53:36 +05:00
2007-06-15 13:53:36 +05:00
2007-06-15 13:53:36 +05:00
2007-06-15 13:53:36 +05:00