projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e9a27e
)
inc/DBSchema/mysql.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 15:04:00 +0000
(23:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 15:04:00 +0000
(23:04 +0800)
inc/DBSchema/mysql.php
patch
|
blob
|
history
diff --git
a/inc/DBSchema/mysql.php
b/inc/DBSchema/mysql.php
index
e056506
..
421992d
100644
(file)
--- a/
inc/DBSchema/mysql.php
+++ b/
inc/DBSchema/mysql.php
@@
-17,7
+17,7
@@
class MTrackDBSchema_mysql extends MTrackDBSchema_Generic
if ($ret) {
return $ret;
}
- parse_str(str_replace(array(";",":"), "&", $db->dsn), $dsn);
+ parse_str(str_replace(array(";",":"), "&", $
this->
db->dsn), $dsn);
print_r($dsn['dbname']);
$this->db->query("CREATE DATABASE {$dsn['dbname']}");
// assume we need to create database..