summaryrefslogtreecommitdiff
path: root/tests/mysql_client_test.c
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2022-08-09 13:50:12 +0200
committerBrandon Nesterenko <bnesterenko09@gmail.com>2022-10-21 14:49:05 -0600
commit1a057a923ba8e7cdf9c065624f9a24c02dcecdd2 (patch)
treef2415162163100ecb2a0078da13c0f56019437bb /tests/mysql_client_test.c
parentccf0e27f28911229a588368121ca214b0afad3c6 (diff)
downloadmariadb-git-1a057a923ba8e7cdf9c065624f9a24c02dcecdd2.tar.gz
MDEV-15530: Variable replicate_rewrite_db cannot be found in "show global variables"
- Add `replicate_rewrite_db` status variable, that may accept comma separated key-value pairs. - Note that option `OPT_REPLICATE_REWRITE_DB` already existed in `mysqld.h` from this commit 23d8586dbfdf Reviewer:Brandon Nesterenko <brandon.nesterenko@mariadb.com>
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r--tests/mysql_client_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index e342aad532b..29aa2d001dd 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -469,7 +469,7 @@ static void test_prepare_simple()
strmov(query, "SHOW SLAVE STATUS");
stmt= mysql_simple_prepare(mysql, query);
check_stmt(stmt);
- DIE_UNLESS(mysql_stmt_field_count(stmt) == 53);
+ DIE_UNLESS(mysql_stmt_field_count(stmt) == 54);
mysql_stmt_close(stmt);
/* show master status */