"longtext need to be handled like text"

This commit is contained in:
Ralf Becker 2008-11-02 09:46:42 +00:00
parent f22de2cc36
commit 9f3d5f4b4c

View File

@ -233,7 +233,7 @@ class schema_proc
{
// only create indexes on text-columns, if (db-)specifiy options are given or FULLTEXT for mysql
// most DB's cant do them and give errors
if ($aTableDef['fd'][$mFields]['type'] == 'text')
if (in_array($aTableDef['fd'][$mFields]['type'],array('text','longtext')))
{
if ($this->sType == 'mysql')
{