mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
This commit is contained in:
@ -85,8 +85,9 @@ static my_bool print_cached_tables_callback(TDC_element *element,
|
||||
while ((entry= it++))
|
||||
{
|
||||
THD *in_use= entry->in_use;
|
||||
printf("%-14.14s %-32s%6ld%8ld%6d %s\n",
|
||||
entry->s->db.str, entry->s->table_name.str, element->version,
|
||||
printf("%-14.14s %-32s%6lu%8ld%6d %s\n",
|
||||
entry->s->db.str, entry->s->table_name.str,
|
||||
(ulong) element->version,
|
||||
in_use ? (long) in_use->thread_id : (long) 0,
|
||||
entry->db_stat ? 1 : 0,
|
||||
in_use ? lock_descriptions[(int)entry->reginfo.lock_type] :
|
||||
@ -106,7 +107,8 @@ static void print_cached_tables(void)
|
||||
|
||||
tdc_iterate(0, (my_hash_walk_action) print_cached_tables_callback, NULL, true);
|
||||
|
||||
printf("\nCurrent refresh version: %ld\n", tdc_refresh_version());
|
||||
printf("\nCurrent refresh version: %ld\n",
|
||||
(long) tdc_refresh_version());
|
||||
fflush(stdout);
|
||||
/* purecov: end */
|
||||
return;
|
||||
|
Reference in New Issue
Block a user