mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
check for different error message
This commit is contained in:
@@ -2,14 +2,14 @@
|
|||||||
#
|
#
|
||||||
# wait for server to connect properly to cluster
|
# wait for server to connect properly to cluster
|
||||||
#
|
#
|
||||||
--error 0,ER_CHECK_NO_SUCH_TABLE,ER_OPEN_AS_READONLY,ER_GET_ERRMSG,ER_KEY_NOT_FOUND
|
--error 0,ER_NO_SUCH_TABLE,ER_OPEN_AS_READONLY,ER_GET_ERRMSG,ER_KEY_NOT_FOUND
|
||||||
delete from mysql.ndb_apply_status where server_id=0;
|
delete from mysql.ndb_apply_status where server_id=0;
|
||||||
let $mysql_errno= 1;
|
let $mysql_errno= 1;
|
||||||
let $counter= 600;
|
let $counter= 600;
|
||||||
while ($mysql_errno)
|
while ($mysql_errno)
|
||||||
{
|
{
|
||||||
# Table is readonly until the mysqld has connected properly
|
# Table is readonly until the mysqld has connected properly
|
||||||
--error 0,ER_CHECK_NO_SUCH_TABLE,ER_OPEN_AS_READONLY,ER_GET_ERRMSG
|
--error 0,ER_NO_SUCH_TABLE,ER_OPEN_AS_READONLY,ER_GET_ERRMSG
|
||||||
replace into mysql.ndb_apply_status values(0,0,"",0,0);
|
replace into mysql.ndb_apply_status values(0,0,"",0,0);
|
||||||
if ($mysql_errno)
|
if ($mysql_errno)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user