summaryrefslogtreecommitdiff
path: root/lib/mysqlschema.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-08-12 12:56:23 -0700
committerBrion Vibber <brion@status.net>2010-08-12 12:56:23 -0700
commitae696728f5edf8972c68c17ce9ea21f07d44cbed (patch)
tree073ad192f38bb6be33f04534abfa314cfc64021a /lib/mysqlschema.php
parent855f1f6623e64701796f443fc20fde164b1a1846 (diff)
parentc3475e6ebef594460ec3685a007e7298fcbd9833 (diff)
Merge branch '0.9.x' into 1.0.x
Diffstat (limited to 'lib/mysqlschema.php')
-rw-r--r--lib/mysqlschema.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php
index 464c718f9..f9552c1dc 100644
--- a/lib/mysqlschema.php
+++ b/lib/mysqlschema.php
@@ -333,7 +333,7 @@ class MysqlSchema extends Schema
}
if (empty($name)) {
- $name = "$table_".implode("_", $columnNames)."_idx";
+ $name = "{$table}_".implode("_", $columnNames)."_idx";
}
$res = $this->conn->query("ALTER TABLE $table ".