Commit d2b9a10c authored by Nigel McNie's avatar Nigel McNie
Browse files

Fix MySQL bug on installing Mahara, reported in the forums by Bruce Ellis.

http://mahara.org/interaction/forum/topic.php?id=131
(cherry picked from commit 4c2a22677c3ae886f0a0f76aea15a0a15eb02eb4)
parent a392aadc
...@@ -89,7 +89,7 @@ class ADODB_mysql extends ADOConnection { ...@@ -89,7 +89,7 @@ class ADODB_mysql extends ADOConnection {
} }
// get index details // get index details
$rs = $this->Execute(sprintf('SHOW INDEX FROM %s',$table)); $rs = $this->Execute(sprintf('SHOW INDEX FROM "%s"',$table));
// restore fetchmode // restore fetchmode
if (isset($savem)) { if (isset($savem)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment