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

cleanup: dead code, comments, avoid current_thd

This commit is contained in:
Sergei Golubchik
2020-03-24 22:13:49 +01:00
parent 63f922dae1
commit 27bf97aa00
3 changed files with 10 additions and 4 deletions

View File

@ -1729,10 +1729,14 @@ handlerton *ha_default_tmp_handlerton(THD *thd);
/* can be replicated by wsrep replication provider plugin */
#define HTON_WSREP_REPLICATION (1 << 13)
/* Shared storage on slave. Ignore on slave any CREATE TABLE, DROP or updates */
/*
Set this on the *slave* that's connected to a shared with a master storage.
The slave will ignore any CREATE TABLE, DROP or updates for this engine.
*/
#define HTON_IGNORE_UPDATES (1 << 14)
/*
Set this on the *master* that's connected to a shared with a slave storage.
The table may not exists on the slave. The effects of having this flag are:
- ALTER TABLE that changes engine from this table to another engine will
be replicated as CREATE + INSERT