summaryrefslogtreecommitdiff
path: root/sql/rpl_gtid.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-01-08 15:33:23 +0200
committerMonty <monty@mariadb.org>2018-01-30 21:33:56 +0200
commitf55dc7f733446a201e3b465ae03a0388d192a3ad (patch)
tree54bb6977650a907dcd069ef1b7124e61944ceabe /sql/rpl_gtid.cc
parent18e22cb69f7d56207c80a5bf4336f2a52ff0d70f (diff)
downloadmariadb-git-f55dc7f733446a201e3b465ae03a0388d192a3ad.tar.gz
Change C_STRING_WITH_LEN to STRING_WITH_LEN
This preserves const str for constant strings Other things - A few variables where changed from LEX_STRING to LEX_CSTRING - Incident_log_event::Incident_log_event and record_incident where changed to take LEX_CSTRING* as an argument instead of LEX_STRING
Diffstat (limited to 'sql/rpl_gtid.cc')
-rw-r--r--sql/rpl_gtid.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/sql/rpl_gtid.cc b/sql/rpl_gtid.cc
index 1b176d10b4c..d7e43a8fb39 100644
--- a/sql/rpl_gtid.cc
+++ b/sql/rpl_gtid.cc
@@ -427,17 +427,17 @@ rpl_slave_state::truncate_state_table(THD *thd)
static const TABLE_FIELD_TYPE mysql_rpl_slave_state_coltypes[4]= {
- { { C_STRING_WITH_LEN("domain_id") },
- { C_STRING_WITH_LEN("int(10) unsigned") },
+ { { STRING_WITH_LEN("domain_id") },
+ { STRING_WITH_LEN("int(10) unsigned") },
{NULL, 0} },
- { { C_STRING_WITH_LEN("sub_id") },
- { C_STRING_WITH_LEN("bigint(20) unsigned") },
+ { { STRING_WITH_LEN("sub_id") },
+ { STRING_WITH_LEN("bigint(20) unsigned") },
{NULL, 0} },
- { { C_STRING_WITH_LEN("server_id") },
- { C_STRING_WITH_LEN("int(10) unsigned") },
+ { { STRING_WITH_LEN("server_id") },
+ { STRING_WITH_LEN("int(10) unsigned") },
{NULL, 0} },
- { { C_STRING_WITH_LEN("seq_no") },
- { C_STRING_WITH_LEN("bigint(20) unsigned") },
+ { { STRING_WITH_LEN("seq_no") },
+ { STRING_WITH_LEN("bigint(20) unsigned") },
{NULL, 0} },
};