mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
merging fixes of bug@51089 to 5.1-bt
This commit is contained in:
@@ -22,7 +22,7 @@ SHOW STATUS LIKE 'Slave_running';
|
||||
let $status= query_get_value("show slave status", Slave_IO_Running, 1);
|
||||
echo Slave_IO_Running= $status;
|
||||
let $status= query_get_value("show slave status", Slave_SQL_Running, 1);
|
||||
echo Slave_IO_Running= $status;
|
||||
echo Slave_SQL_Running= $status;
|
||||
|
||||
# Test 2. The slave IO thread is started but not yet got connected to master
|
||||
# and SQL thread is not started
|
||||
@@ -35,7 +35,7 @@ SHOW STATUS LIKE 'Slave_running';
|
||||
let $status= query_get_value("show slave status", Slave_IO_Running, 1);
|
||||
echo Slave_IO_Running= $status;
|
||||
let $status= query_get_value("show slave status", Slave_SQL_Running, 1);
|
||||
echo Slave_IO_Running= $status;
|
||||
echo Slave_SQL_Running= $status;
|
||||
|
||||
# Test 3. The slave IO thread is started and got connected to master
|
||||
# and SQL thread is still not started
|
||||
@@ -51,7 +51,7 @@ SHOW STATUS LIKE 'Slave_running';
|
||||
let $status= query_get_value("show slave status", Slave_IO_Running, 1);
|
||||
echo Slave_IO_Running= $status;
|
||||
let $status= query_get_value("show slave status", Slave_SQL_Running, 1);
|
||||
echo Slave_IO_Running= $status;
|
||||
echo Slave_SQL_Running= $status;
|
||||
|
||||
# Test 4. The slave IO thread is started and got connected to master
|
||||
# and SQL thread is started
|
||||
@@ -65,7 +65,7 @@ SHOW STATUS LIKE 'Slave_running';
|
||||
let $status= query_get_value("show slave status", Slave_IO_Running, 1);
|
||||
echo Slave_IO_Running= $status;
|
||||
let $status= query_get_value("show slave status", Slave_SQL_Running, 1);
|
||||
echo Slave_IO_Running= $status;
|
||||
echo Slave_SQL_Running= $status;
|
||||
|
||||
# cleanup
|
||||
|
||||
|
Reference in New Issue
Block a user