unknown
0e9a75a4f7
Moved safe_to_cache_query from thd to lex.
...
This is required for prepared statements and stored procedures.
BitKeeper/etc/ignore:
Added bkpull.log bkpull.log.2 bkpull.log.3 build.log sql/safe_to_cache_query.txt to the ignore list
sql/item_create.cc:
Moved safe_to_cache_query from thd to lex.
sql/item_func.cc:
Moved safe_to_cache_query from thd to lex.
sql/sql_cache.cc:
Moved safe_to_cache_query from thd to lex.
Note: Query_cache::is_cacheable() has both a thd and lex argument.
We assumed that it's the lex->safe_to_cache_query we should test.
sql/sql_class.cc:
Moved safe_to_cache_query from thd to lex.
sql/sql_class.h:
Moved safe_to_cache_query from thd to lex.
sql/sql_lex.cc:
Moved safe_to_cache_query from thd to lex.
We set it to 1 initially. It's then set to 0 in cases where
it's know not to be safe. (Before this change, it was set to
0 in thd, and then set to 1 before parsing.)
sql/sql_lex.h:
Moved safe_to_cache_query from thd to lex.
sql/sql_parse.cc:
Moved safe_to_cache_query from thd to lex.
No point in setting it here now, it's set in lex_start() later.
sql/sql_prepare.cc:
Moved safe_to_cache_query from thd to lex.
Must set it after lex_start() has been called.
sql/sql_yacc.yy:
Moved safe_to_cache_query from thd to lex.
2002-11-22 14:50:53 +01:00
..
2002-11-21 15:56:48 +02:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2002-08-30 12:40:40 +03:00
2001-12-06 14:10:51 +02:00
2002-01-02 21:29:41 +02:00
2002-03-12 21:37:58 +04:00
2002-11-06 17:01:12 +04:00
2002-11-21 15:56:48 +02:00
2002-11-07 04:02:37 +02:00
2002-11-21 15:56:48 +02:00
2001-12-06 14:10:51 +02:00
2002-11-21 15:56:48 +02:00
2002-11-13 17:58:07 +04:00
2002-10-02 13:33:08 +03:00
2002-11-21 15:56:48 +02:00
2002-11-14 12:21:36 +02:00
2002-11-21 15:56:48 +02:00
2002-10-07 17:49:03 +05:00
2002-11-21 15:56:48 +02:00
2002-10-29 23:16:46 +02:00
2002-11-14 12:21:36 +02:00
2002-06-20 15:25:02 +03:00
2002-11-07 03:54:00 +02:00
2002-09-27 08:23:51 +03:00
2002-11-21 15:56:48 +02:00
2002-07-23 20:39:36 +03:00
2002-11-17 18:54:23 +01:00
2002-11-17 18:54:23 +01:00
2002-11-21 15:56:48 +02:00
2002-11-21 15:56:48 +02:00
2001-12-06 14:10:51 +02:00
2002-11-21 15:56:48 +02:00
2002-11-21 15:56:48 +02:00
2002-10-08 22:28:24 +03:00
2002-10-25 13:58:32 +05:00
2002-11-21 15:56:48 +02:00
2002-11-21 22:25:53 +02:00
2002-11-22 14:50:53 +01:00
2002-08-30 12:40:40 +03:00
2002-11-22 14:50:53 +01:00
2002-11-21 15:56:48 +02:00
2002-11-11 18:43:33 +04:00
2002-11-14 00:26:18 +02:00
2002-11-14 00:26:18 +02:00
2002-11-14 00:26:18 +02:00
2002-11-06 17:43:22 +04:00
2002-10-02 13:33:08 +03:00
2002-11-21 15:56:48 +02:00
2002-11-12 17:32:36 +04:00
2001-12-06 14:10:51 +02:00
2002-10-02 13:33:08 +03:00
2002-11-14 09:43:24 +02:00
2002-11-21 15:56:48 +02:00
2002-10-09 16:33:35 +05:00
2001-12-06 14:10:51 +02:00
2002-11-21 15:56:48 +02:00
2002-11-21 15:56:48 +02:00
2002-11-21 22:25:53 +02:00
2002-11-21 15:56:48 +02:00
2002-11-21 15:56:48 +02:00
2002-10-28 17:44:19 +04:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2002-11-21 15:56:48 +02:00
2002-07-23 18:31:22 +03:00
2002-02-11 13:48:59 +02:00
2002-11-21 22:25:53 +02:00
2002-11-21 15:56:48 +02:00
2002-10-08 22:28:24 +03:00
2002-10-04 14:15:59 +03:00
2002-11-12 22:11:59 -02:00
2002-10-16 21:51:03 -02:00
2001-11-22 16:00:11 +01:00
2002-11-21 15:56:48 +02:00
2002-08-30 12:40:40 +03:00
2002-11-21 15:56:48 +02:00
2001-12-06 14:10:51 +02:00
2002-03-12 21:37:58 +04:00
2002-11-11 18:43:33 +04:00
2002-07-23 18:31:22 +03:00
2002-11-21 15:56:48 +02:00
2002-07-23 18:31:22 +03:00
2002-11-21 15:56:48 +02:00
2002-11-21 15:56:48 +02:00
2002-11-21 15:56:48 +02:00
2002-11-21 15:56:48 +02:00
2002-08-22 12:21:58 +05:00
2002-10-02 13:33:08 +03:00
2002-11-21 22:25:53 +02:00
2002-10-29 21:59:03 +02:00
2002-11-21 15:56:48 +02:00
2002-10-30 16:19:43 +04:00
2002-11-21 15:56:48 +02:00
2002-11-22 14:50:53 +01:00
2002-11-17 20:41:25 +02:00
2002-11-22 14:50:53 +01:00
2002-11-22 14:50:53 +01:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2002-11-21 22:25:53 +02:00
2002-11-21 22:25:53 +02:00
2002-11-16 14:31:48 +02:00
2002-10-02 13:33:08 +03:00
2002-11-21 02:07:14 +02:00
2002-10-25 14:09:47 +00:00
2002-10-30 17:38:07 +04:00
2002-11-21 15:56:48 +02:00
2002-11-22 14:50:53 +01:00
2002-11-22 14:50:53 +01:00
2001-12-06 14:10:51 +02:00
2002-10-02 13:33:08 +03:00
2002-11-21 15:56:48 +02:00
2002-11-07 03:54:00 +02:00
2001-12-06 14:10:51 +02:00
2001-12-06 14:10:51 +02:00
2002-07-29 18:37:15 +03:00
2002-11-22 14:50:53 +01:00
2002-11-22 14:50:53 +01:00
2002-11-21 15:56:48 +02:00
2002-11-21 15:56:48 +02:00
2002-11-07 04:02:37 +02:00
2002-11-21 15:56:48 +02:00
2002-11-14 00:26:18 +02:00
2002-11-21 15:56:48 +02:00
2002-11-14 17:25:34 +04:00
2002-11-14 17:25:34 +04:00
2002-11-21 15:56:48 +02:00
2002-11-07 20:11:55 +02:00
2002-11-21 15:56:48 +02:00
2001-12-06 14:10:51 +02:00
2002-11-18 18:28:51 +02:00
2002-11-21 22:25:53 +02:00
2002-11-22 14:50:53 +01:00
2002-11-05 17:10:31 +01:00
2002-10-02 13:33:08 +03:00
2002-11-21 15:56:48 +02:00
2002-11-21 15:56:48 +02:00
2001-12-06 14:10:51 +02:00
2002-10-03 16:54:26 +03:00
2002-09-18 02:21:29 +03:00
2002-10-02 13:33:08 +03:00
2002-11-07 04:02:37 +02:00
2002-10-02 17:55:12 +03:00