diff options
author | Monty <monty@mariadb.org> | 2020-06-18 11:10:53 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-06-19 12:03:13 +0300 |
commit | 1a49c5eb4d11dd6a35d293856281239d8e459582 (patch) | |
tree | 262a3904cbe838fa5ac325a3185ed67595ea5b0c /sql/sql_cache.cc | |
parent | 605555fc31784302a54d398d9503ca1e9e4bdec9 (diff) | |
download | mariadb-git-1a49c5eb4d11dd6a35d293856281239d8e459582.tar.gz |
Cleanup's and more DBUG_PRINT's
- Rewrote bool Query_compressed_log_event::write() to make it more readable
(no logic changes).
- Changed DBUG_PRINT of 'is_error:' to 'is_error():' to make it easier to
find error: in traces.
- Ensure that 'db' is never null in Query_log_event (Simplified code).
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index c44a98c75b9..35e3a7c5608 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -3503,7 +3503,8 @@ my_bool Query_cache::register_all_tables(THD *thd, my_bool Query_cache::insert_table(THD *thd, size_t key_len, const char *key, - Query_cache_block_table *node, size_t db_length, uint8 suffix_length_arg, + Query_cache_block_table *node, size_t db_length, + uint8 suffix_length_arg, uint8 cache_type, qc_engine_callback callback, ulonglong engine_data, |