summaryrefslogtreecommitdiff
path: root/client/mysqltest.cc
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2018-03-22 08:51:43 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2018-03-23 07:27:01 +0200
commit2e5495a52993a5ca9093bfbcc9aa4d610c80f0dc (patch)
treedcd440e10bbe12cbaa842136412563398b4cbafb /client/mysqltest.cc
parentc25743c620388a466978d4cf268751a72e9bf4f1 (diff)
downloadmariadb-git-bb-10.1-MDEV-14616.tar.gz
MDEV-14616: WSREP has not yet prepared node for application use errorbb-10.1-MDEV-14616
MariaDB adjustments. mysqltest.cc : Allow 12 error codes at --error wait_until_connected_again.inc: Replace numeric error codes with symbols mysqltest.test: Add error codes to test that tests too many errorcodes
Diffstat (limited to 'client/mysqltest.cc')
-rw-r--r--client/mysqltest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index 895c837f68b..77584e70afe 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -520,7 +520,7 @@ struct st_match_err
struct st_expected_errors
{
- struct st_match_err err[10];
+ struct st_match_err err[12];
uint count;
};
static struct st_expected_errors saved_expected_errors;
@@ -1462,7 +1462,7 @@ void free_used_memory()
dynstr_free(&(*q)->content);
my_free((*q));
}
- for (i= 0; i < 10; i++)
+ for (i= 0; i < 12; i++)
{
if (var_reg[i].alloced_len)
my_free(var_reg[i].str_val);