1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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).
This commit is contained in:
Monty
2020-06-18 11:10:53 +03:00
parent 605555fc31
commit 1a49c5eb4d
11 changed files with 66 additions and 34 deletions

View File

@ -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,