mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-14616: WSREP has not yet prepared node for application use error
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
This commit is contained in:
parent
992370693f
commit
7ffa82b03c
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -14,7 +14,7 @@ while ($mysql_errno)
|
|||
# Strangely enough, the server might return "Too many connections"
|
||||
# while being shutdown, thus 1040 is an "allowed" error
|
||||
# See BUG#36228
|
||||
--error 0,1040,1053,1205,2002,2003,2005,2006,2013,1927
|
||||
--error 0,ER_CON_COUNT_ERROR,ER_SERVER_SHUTDOWN,ER_LOCK_WAIT_TIMEOUT,ER_CONNECTION_KILLED,2002,2003,2005,2006,2013
|
||||
show status;
|
||||
|
||||
dec $counter;
|
||||
|
|
|
@ -685,7 +685,7 @@ remove_file $MYSQLTEST_VARDIR/tmp/mysqltest.sql;
|
|||
|
||||
# Too many errorcodes specified
|
||||
--error 1
|
||||
--exec echo "--error 1,2,3,4,5,6,7,8,9,10,11" | $MYSQL_TEST 2>&1
|
||||
--exec echo "--error 1,2,3,4,5,6,7,8,9,10,11,12,13" | $MYSQL_TEST 2>&1
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue