1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-18 07:48:43 +03:00
Files
mariadb/mysql-test/r
unknown ece17ba3cf - a fix for Bug#11458 "Prepared statement with subselects return random
data": remove the fix for another bug (8807) that
added OUTER_REF_TABLE_BIT to all subqueries that used a placeholder
to prevent their evaluation at prepare. As this bit hanged in 
Item_subselect::used_tables_cache for ever, a constant subquery with
a placeholder was never evaluated as such, which caused wrong 
choice of the execution plan for the statement.
- to fix Bug#8807 backport a better fix from 5.0
- post-review fixes.


mysql-test/r/ps.result:
  Bug#11458: test results fixed
mysql-test/t/ps.test:
  - add a test case for Bug#11458 "Prepared statement with subselects return 
  random data"
sql/item.cc:
  - remove unnecessary Item_param::fix_fields
  - fix Item_param::set_null to set item_type accordingly (safety:
    Item_param should behave like a basic constant).
sql/item.h:
  Remove Item_param::fix_fields
sql/item_subselect.h:
  Remove no more existing friend.
sql/mysql_priv.h:
  Add UNCACHEABLE_PREPARE to mark all subqueries as uncacheable if
  in statement prepare (backport from 5.0).
sql/sql_lex.h:
  Comment fixed.
sql/sql_parse.cc:
  If in statement prepare, mark all subqueries as uncacheable (backport
  from 5.0)
sql/sql_prepare.cc:
  Switch off the uncacheable flag from all subqueries after statement
  prepare is done (backport from 5.0)
2005-07-13 17:38:55 +04:00
..
2004-05-05 17:05:24 +03:00
2005-05-14 16:24:36 +03:00
2005-06-03 17:13:43 +02:00
2005-05-14 00:01:40 +03:00
2005-06-16 10:09:05 +02:00
2003-12-10 04:31:42 +00:00
2004-03-30 02:32:41 +03:00
2004-08-26 18:26:38 +03:00
2003-11-21 01:53:01 +02:00
2004-08-26 18:26:38 +03:00
2005-05-05 10:36:17 -07:00
2004-11-02 16:02:12 +04:00
2005-04-04 17:55:12 +05:00
2005-07-11 13:20:07 +05:00
2005-02-15 21:03:17 -08:00
2005-02-11 15:00:29 -08:00
2004-10-07 10:50:13 +03:00
2003-12-10 04:31:42 +00:00
2004-05-13 23:47:20 +03:00
2003-12-10 04:31:42 +00:00
2005-06-27 20:31:00 +03:00
2005-06-13 11:38:16 -07:00
2005-01-20 15:38:56 +04:00
2004-08-18 12:11:26 +05:00
2004-05-13 23:47:20 +03:00
2005-07-06 11:36:27 +03:00
2005-03-27 15:46:06 +02:00
2005-07-05 15:19:04 -07:00
2004-10-07 10:50:13 +03:00
2005-05-05 10:36:17 -07:00
2004-06-20 19:11:02 +02:00
2003-12-14 21:31:02 +01:00
2003-12-25 20:11:01 +04:00
2004-08-26 18:26:38 +03:00
2003-12-10 04:31:42 +00:00
2004-03-31 03:32:38 +03:00
2003-12-10 04:31:42 +00:00
2003-12-10 04:31:42 +00:00
2005-06-27 16:46:41 +03:00
2005-06-27 16:46:41 +03:00
2003-12-10 04:31:42 +00:00
2005-04-04 18:29:18 -07:00
2004-09-02 22:06:30 -07:00
2005-04-11 22:36:07 +02:00
2005-02-02 08:38:24 +02:00
2003-12-10 04:31:42 +00:00
2005-03-30 23:08:03 +03:00
2004-12-11 16:36:12 +03:00
2004-09-09 11:22:23 -05:00
2004-11-08 11:06:36 +01:00
2004-12-22 13:38:15 +01:00
2004-09-30 21:36:25 +00:00
2004-05-11 10:40:48 +02:00
2005-05-04 10:16:03 +02:00
2004-10-07 08:42:11 +00:00
2004-08-31 21:10:57 +03:00
2004-09-02 22:06:30 -07:00
2005-05-14 16:24:36 +03:00
2005-02-12 00:05:13 +01:00
2005-06-07 06:34:13 -07:00
2005-06-07 06:34:13 -07:00
2005-06-07 06:34:13 -07:00
2005-06-07 06:34:13 -07:00
2005-06-07 06:34:13 -07:00
2005-06-09 18:00:50 +04:00
2005-06-09 12:26:45 +02:00
2005-07-05 15:19:04 -07:00
2004-05-05 23:29:35 +03:00
2005-06-23 10:56:44 +03:00
2004-10-07 10:50:13 +03:00
2003-12-10 04:31:42 +00:00
2003-12-10 04:31:42 +00:00
2004-05-13 23:47:20 +03:00
2003-12-10 04:31:42 +00:00
2003-10-08 12:01:58 +03:00
2003-10-29 14:23:35 +01:00
2004-07-20 11:00:10 +02:00
2003-12-19 16:25:50 +02:00
2003-12-10 04:31:42 +00:00
2004-06-21 10:21:20 +03:00
2004-06-21 10:21:20 +03:00
2005-02-24 17:25:06 +01:00
2004-05-05 21:24:21 +03:00
2004-02-16 10:03:25 +02:00
2005-01-31 13:18:36 +00:00
2004-05-05 17:05:24 +03:00
2004-03-18 00:09:13 +02:00
2004-05-24 21:12:05 +04:00
2005-04-06 12:20:55 +02:00
2004-05-17 01:52:13 +03:00
2004-09-07 21:30:28 +02:00
2004-05-19 05:09:10 +03:00
2005-02-28 19:59:38 +04:00
2003-12-10 04:31:42 +00:00
2004-07-20 11:00:10 +02:00
2004-11-12 17:44:17 +02:00
2004-08-24 17:24:23 +02:00
2004-06-21 10:24:40 +03:00
2005-03-23 20:38:42 +01:00
2003-12-10 04:31:42 +00:00
2004-08-19 03:02:09 +02:00
2004-02-16 10:03:25 +02:00
2005-05-26 18:33:57 +03:00
2005-04-18 05:21:44 +04:00