forked from extern/egroupware
fixed error with fulltext indexes (eg. in the wiki), when the default-type-type is set to InnoDB, which is eg. the default for some newer windows installs or mysql 4.1.x
This commit is contained in:
parent
0f7d93fa3e
commit
f48bb9f670
@ -417,6 +417,11 @@
|
||||
}
|
||||
|
||||
$query = "CREATE TABLE $sTableName ($sTableSQL)";
|
||||
// override default table type, if a fulltext index is requested, as only MyISAM can do fulltext
|
||||
if (stristr($sTableSQL,'FULLTEXT') !== false)
|
||||
{
|
||||
$query .= 'TYPE=MyISAM';
|
||||
}
|
||||
return !!($oProc->m_odb->query($query));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user