1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

slave_open_temp_tables to Atomic_counter

This commit is contained in:
Sergey Vojtovich
2020-04-15 20:38:25 +04:00
parent 10cdf5230d
commit 4bd9f82a8f
6 changed files with 12 additions and 31 deletions

View File

@ -3692,6 +3692,11 @@ const char* get_one_variable(THD *thd,
end= pos + ls->length;
break;
}
case SHOW_ATOMIC_COUNTER_UINT32_T:
end= int10_to_str(
static_cast<long>(*static_cast<Atomic_counter<uint32_t>*>(value)),
buff, 10);
break;
case SHOW_UNDEF:
break; // Return empty string
case SHOW_SYS: // Cannot happen