diff options
author | Monty <monty@mariadb.org> | 2019-12-30 13:56:19 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-03-24 21:00:02 +0200 |
commit | 6a9e24d0465fb0e67ba7bbc333263437e7227d8c (patch) | |
tree | 02bdd98c5cd807e55c185a6827558ddd6c9993b4 /sql/sql_table.h | |
parent | e5de1e26e723525aaab1cebc5c958c748eb36d9e (diff) | |
download | mariadb-git-6a9e24d0465fb0e67ba7bbc333263437e7227d8c.tar.gz |
Added support for replication for S3
MDEV-19964 S3 replication support
Added new configure options:
s3_slave_ignore_updates
"If the slave has shares same S3 storage as the master"
s3_replicate_alter_as_create_select
"When converting S3 table to local table, log all rows in binary log"
This allows on to configure slaves to have the S3 storage shared or
independent from the master.
Other thing:
Added new session variable '@@sql_if_exists' to force IF_EXIST to DDL's.
Diffstat (limited to 'sql/sql_table.h')
-rw-r--r-- | sql/sql_table.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sql_table.h b/sql/sql_table.h index debd55e7ab9..b9dada41e80 100644 --- a/sql/sql_table.h +++ b/sql/sql_table.h @@ -29,6 +29,7 @@ class THD; struct TABLE; struct handlerton; class handler; +class String; typedef struct st_ha_check_opt HA_CHECK_OPT; struct HA_CREATE_INFO; struct Table_specification_st; @@ -154,6 +155,8 @@ uint build_tmptable_filename(THD* thd, char *buff, size_t bufflen); bool mysql_create_table(THD *thd, TABLE_LIST *create_table, Table_specification_st *create_info, Alter_info *alter_info); +bool add_keyword_to_query(THD *thd, String *result, const LEX_CSTRING *keyword, + const LEX_CSTRING *add); /* mysql_create_table_no_lock can be called in one of the following @@ -242,7 +245,8 @@ bool mysql_restore_table(THD* thd, TABLE_LIST* table_list); bool mysql_checksum_table(THD* thd, TABLE_LIST* table_list, HA_CHECK_OPT* check_opt); bool mysql_rm_table(THD *thd,TABLE_LIST *tables, bool if_exists, - bool drop_temporary, bool drop_sequence); + bool drop_temporary, bool drop_sequence, + bool dont_log_query); int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists, bool drop_temporary, bool drop_view, bool drop_sequence, |