Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKasun Chathuranga <chathuranga.jayaneththi@gmail.com>2013-04-30 21:35:18 +0400
committerKasun Chathuranga <chathuranga.jayaneththi@gmail.com>2013-04-30 21:35:18 +0400
commitd933575811b8b76463d20610eeb53f2173ead4cb (patch)
tree596e9cdaf1fc8831d591867738cd7e952351d205 /server_replication.php
parentf9e13eddd41252f74ee673cc8c742db76dd62aeb (diff)
PMA_DBI_try_query --> PMA_DBI_tryQuery
Diffstat (limited to 'server_replication.php')
-rw-r--r--server_replication.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/server_replication.php b/server_replication.php
index fa4696ce20..bf17e24396 100644
--- a/server_replication.php
+++ b/server_replication.php
@@ -114,7 +114,7 @@ if (isset($GLOBALS['sr_take_action'])) {
} elseif (isset($GLOBALS['sr_slave_server_control'])) {
if ($GLOBALS['sr_slave_action'] == 'reset') {
PMA_replication_slave_control("STOP");
- PMA_DBI_try_query("RESET SLAVE;");
+ PMA_DBI_tryQuery("RESET SLAVE;");
PMA_replication_slave_control("START");
} else {
PMA_replication_slave_control(
@@ -130,7 +130,7 @@ if (isset($GLOBALS['sr_take_action'])) {
$count = $GLOBALS['sr_skip_errors_count'] * 1;
}
PMA_replication_slave_control("STOP");
- PMA_DBI_try_query("SET GLOBAL SQL_SLAVE_SKIP_COUNTER = ".$count.";");
+ PMA_DBI_tryQuery("SET GLOBAL SQL_SLAVE_SKIP_COUNTER = ".$count.";");
PMA_replication_slave_control("START");
}