projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b6740d
)
inc/DBSchema/mysql.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 15:30:24 +0000
(23:30 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 15:30:24 +0000
(23:30 +0800)
inc/DBSchema/mysql.php
patch
|
blob
|
history
diff --git
a/inc/DBSchema/mysql.php
b/inc/DBSchema/mysql.php
index
754bffc
..
bcb91f4
100644
(file)
--- a/
inc/DBSchema/mysql.php
+++ b/
inc/DBSchema/mysql.php
@@
-52,7
+52,7
@@
class MTrackDBSchema_mysql extends MTrackDBSchema_Generic
if (is_array($table->keys)) {
foreach ($table->keys as $kn=>$k) {
- if ($k->type != 'primary') continue;
+
//
if ($k->type != 'primary') continue;
if ($pri_key !== null) continue;
$sql[] = "\tprimary key (" . join(', ', $k->fields) . ")";
}