mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
bug#51089
correcting c&p typos in the test
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);
|
let $status= query_get_value("show slave status", Slave_IO_Running, 1);
|
||||||
echo Slave_IO_Running= $status;
|
echo Slave_IO_Running= $status;
|
||||||
let $status= query_get_value("show slave status", Slave_SQL_Running, 1);
|
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
|
# Test 2. The slave IO thread is started but not yet got connected to master
|
||||||
# and SQL thread is not started
|
# 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);
|
let $status= query_get_value("show slave status", Slave_IO_Running, 1);
|
||||||
echo Slave_IO_Running= $status;
|
echo Slave_IO_Running= $status;
|
||||||
let $status= query_get_value("show slave status", Slave_SQL_Running, 1);
|
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
|
# Test 3. The slave IO thread is started and got connected to master
|
||||||
# and SQL thread is still not started
|
# 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);
|
let $status= query_get_value("show slave status", Slave_IO_Running, 1);
|
||||||
echo Slave_IO_Running= $status;
|
echo Slave_IO_Running= $status;
|
||||||
let $status= query_get_value("show slave status", Slave_SQL_Running, 1);
|
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
|
# Test 4. The slave IO thread is started and got connected to master
|
||||||
# and SQL thread is started
|
# 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);
|
let $status= query_get_value("show slave status", Slave_IO_Running, 1);
|
||||||
echo Slave_IO_Running= $status;
|
echo Slave_IO_Running= $status;
|
||||||
let $status= query_get_value("show slave status", Slave_SQL_Running, 1);
|
let $status= query_get_value("show slave status", Slave_SQL_Running, 1);
|
||||||
echo Slave_IO_Running= $status;
|
echo Slave_SQL_Running= $status;
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user