summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2010-08-10 11:45:34 -0700
committerBrion Vibber <brion@status.net>2010-08-10 11:45:34 -0700
commit6a2659ed67577b3f33c5c4d55067744a4b812a06 (patch)
tree6b89c07e28031f1740d5b1a2e494f7f86eb5a9de /lib
parent09dee24cbeadfb1fef797d38265e2ece09266bb0 (diff)
Workaround for index setup on SubMirror until I'm done w/ arbitrary index support for Schema setup.
Diffstat (limited to 'lib')
-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 ".