diff options
author | unknown <bell@sanja.is.com.ua> | 2002-10-30 13:18:52 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-10-30 13:18:52 +0200 |
commit | 0bb1e716bcb14aa8321893b906aaf79f32b7c577 (patch) | |
tree | 27649c1870a43321e1b60ed8b0693461db05b8f1 /sql/sql_cache.cc | |
parent | fc4c9c01ee8105888b75f01728f651c4c496cc22 (diff) | |
download | mariadb-git-0bb1e716bcb14aa8321893b906aaf79f32b7c577.tar.gz |
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion (SCRUM)
fixed some possible bugs
sql/item.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/item_subselect.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/item_sum.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/mysql_priv.h:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_base.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_cache.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_delete.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_lex.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_lex.h:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
fixed some possible bugs
sql/sql_parse.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_prepare.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_repl.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_select.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_union.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_update.cc:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
sql/sql_yacc.yy:
removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 5bdefbaaa30..2f236da2aa3 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -2444,14 +2444,14 @@ TABLE_COUNTER_TYPE Query_cache::is_cacheable(THD *thd, uint32 query_len, if (lex->sql_command == SQLCOM_SELECT && (thd->variables.query_cache_type == 1 || - (thd->variables.query_cache_type == 2 && (lex->select->options & + (thd->variables.query_cache_type == 2 && (lex->select_lex.options & OPTION_TO_QUERY_CACHE))) && thd->safe_to_cache_query) { my_bool has_transactions = 0; DBUG_PRINT("qcache", ("options %lx %lx, type %u", OPTION_TO_QUERY_CACHE, - lex->select->options, + lex->select_lex.options, (int) thd->variables.query_cache_type)); for (; tables_used; tables_used= tables_used->next) @@ -2498,7 +2498,7 @@ TABLE_COUNTER_TYPE Query_cache::is_cacheable(THD *thd, uint32 query_len, ("not interesting query: %d or not cacheable, options %lx %lx, type %u", (int) lex->sql_command, OPTION_TO_QUERY_CACHE, - lex->select->options, + lex->select_lex.options, (int) thd->variables.query_cache_type)); DBUG_RETURN(0); } |