mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
after merge changes:
* rename all debugging related command-line options and variables to start from "debug-", and made them all OFF by default. * replace "MySQL" with "MariaDB" in error messages * "Cast ... converted ... integer to it's ... complement" is now a note, not a warning * @@query_cache_strip_comments now has a session scope, not global.
This commit is contained in:
@ -1770,7 +1770,7 @@ Query_cache::send_result_to_client(THD *thd, char *org_sql, uint query_length)
|
||||
goto err_unlock;
|
||||
|
||||
Query_cache_block *query_block;
|
||||
if (opt_query_cache_strip_comments)
|
||||
if (thd->variables.query_cache_strip_comments)
|
||||
{
|
||||
make_base_query(&thd->base_query, sql, (size_t) (sql_end - sql),
|
||||
thd->db_length + 1 + QUERY_CACHE_FLAGS_SIZE);
|
||||
|
Reference in New Issue
Block a user