1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00
Files
mariadb/mysql-test/t
unknown 9b6e83f4b8 A fix and a test case for Bug#16248 "WHERE (col1,col2) IN ((?,?))
gives wrong results". Implement previously missing 
Item_row::cleanup. The bug is not repeatable in 5.0, probably 
due to a coincidence: the problem is present in 5.0 as well.


mysql-test/r/ps.result:
  Update the result file (Bug#16248)
mysql-test/t/ps.test:
  Add a test case for Bug#16248 "WHERE (col1,col2) IN ((?,?)) gives 
  wrong results"
sql/item_row.cc:
  Implement Item_row::cleanup(): we should reset used_tables_cache
  before reexecution of a prepared statement. In case ROW
  arguments contain a placeholder, used_tables_cache has PARAM_TABLE
  bit set in statement prepare. As a result, when executing a statement,
  the condition push down algorithm (make_cond_for_table) would think
  that the WHERE clause belongs to the non-existent PARAM_TABLE and
  wouldn't attach the WHERE clause to any of the real tables, 
  effectively optimizing the clause away.
sql/item_row.h:
  Remove a never used member 'array_holder'. Add declaration for
  Item_row::cleanup.
2006-04-07 22:26:25 +04:00
..
2005-09-08 12:09:30 +04:00
2005-11-06 02:11:12 +03:00
2006-01-16 15:46:37 +01:00
2006-01-27 13:23:10 +01:00
2005-08-19 01:57:22 -07:00
2005-10-09 01:32:09 +02:00
2005-08-08 13:46:13 -07:00
2006-01-30 15:17:33 +03:00
2005-08-07 03:16:15 +01:00
2005-09-06 18:03:08 +04:00
2006-03-06 18:34:38 +01:00
2005-10-25 14:50:08 -07:00
2006-02-28 17:54:11 -06:00
2005-11-25 10:41:22 +01:00
2005-09-30 11:39:49 +02:00
2005-07-31 04:28:01 -07:00
2005-09-05 12:33:25 +02:00
2005-01-30 10:24:03 +00:00
2005-10-12 09:47:59 +02:00
2005-12-08 16:13:53 +01:00
2005-08-09 00:13:49 +03:00
2006-01-26 00:06:20 +03:00