Commit e7029e5f authored by Nigel McNie's avatar Nigel McNie Committed by Francois Marier
Browse files

adodb: fix MySQL bug on installing Mahara

This was reported in the forums by Bruce Ellis:

  http://mahara.org/interaction/forum/topic.php?id=131

and corresponds to Eduforge #3159 and LP #547934.

(cherry picked from commit d2b9a10c

)
Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
parent 31d39364
......@@ -89,7 +89,7 @@ class ADODB_mysql extends ADOConnection {
}
// get index details
$rs = $this->Execute(sprintf('SHOW INDEX FROM %s',$table));
$rs = $this->Execute(sprintf('SHOW INDEX FROM "%s"',$table));
// restore fetchmode
if (isset($savem)) {
......
Markdown is supported
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