[pLog-svn] r3016 - plog/branches/lifetype-1.0.4/class/database/adodb/drivers

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Mar 5 15:56:28 GMT 2006


Author: oscar
Date: 2006-03-05 15:56:27 +0000 (Sun, 05 Mar 2006)
New Revision: 3016

Modified:
   plog/branches/lifetype-1.0.4/class/database/adodb/drivers/adodb-mysql.inc.php
Log:
implemented fix 850 (http://bugs.lifetype.net/view.php?id=850)


Modified: plog/branches/lifetype-1.0.4/class/database/adodb/drivers/adodb-mysql.inc.php
===================================================================
--- plog/branches/lifetype-1.0.4/class/database/adodb/drivers/adodb-mysql.inc.php	2006-03-05 15:52:13 UTC (rev 3015)
+++ plog/branches/lifetype-1.0.4/class/database/adodb/drivers/adodb-mysql.inc.php	2006-03-05 15:56:27 UTC (rev 3016)
@@ -422,7 +422,7 @@
         
         // We use a SHOW CREATE DATABASE command to show the original
         // SQL character set when DB was created.
-        $result = mysql_query("SHOW CREATE DATABASE $argDatabasename", $this->_connectionID);
+        $result = mysql_query("SHOW CREATE DATABASE `$argDatabasename`", $this->_connectionID);
         if (mysql_num_rows($result) < 0 ) {
             // The specified db name is wrong!
             return false;



More information about the pLog-svn mailing list