The branch, MAINT_3_4_0 has been updated
via d1a6f043e28761a619a0c02f7746c288b3d78400 (commit)
via d6a7bd40faa240c23016ce482c36650294faa13e (commit)
from 7be53b23921aa3eb07d1ee5b1844c1906fcfb4cd (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 ++
server_replication.php | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0a10389..c6bff75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -127,6 +127,8 @@
- bug #3103853 [js] Double quotes were not escaped in generated js
- bug #3077463 [core] Events were not copied when copying/renaming database
- bug #1762306 [core] Copy database with view of a view
+- patch #3117535 [replication] Add quotes to database in initial statement,
+ thanks to Craig Duncan - duncan3dc
3.3.8.0 (2010-10-25)
- bug #3059311 [import] BIGINT field type added to table analysis
diff --git a/server_replication.php b/server_replication.php
index 6c410fa..17ac37a 100644
--- a/server_replication.php
+++ b/server_replication.php
@@ -122,11 +122,11 @@ if (isset($GLOBALS['sr_take_action'])) {
}
$dblist[] = $tmp_row[0];
- PMA_DBI_query('CREATE DATABASE IF NOT EXISTS '.$tmp_row[0],
$trg_link);
+ PMA_DBI_query('CREATE DATABASE IF NOT EXISTS
'.PMA_backquote($tmp_row[0]), $trg_link);
} else {
if (array_search($tmp_row[0], $do_db) !== false) {
$dblist[] = $tmp_row[0];
- PMA_DBI_query('CREATE DATABASE IF NOT EXISTS
'.$tmp_row[0], $trg_link);
+ PMA_DBI_query('CREATE DATABASE IF NOT EXISTS
'.PMA_backquote($tmp_row[0]), $trg_link);
}
}
} // end while
hooks/post-receive
--
phpMyAdmin
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git