GNU Patch #106 and #109.

This commit is contained in:
skeeter 2002-02-15 03:16:11 +00:00
parent 5e48dcbe99
commit 73f3c725fb

View File

@ -78,8 +78,6 @@
}
break;
case 'longtext':
$sTranslated = 'longtext';
break;
case 'text':
$sTranslated = 'text';
break;
@ -311,7 +309,7 @@
function AddColumn($oProc, &$aTables, $sTableName, $sColumnName, &$aColumnDef)
{
$oProc->_GetFieldSQL($aColumnDef, $sFieldSQL);
$query = "ALTER TABLE $sTableName ADD COLUMN $sColumnName $sFieldSQL";
$query = "ALTER TABLE $sTableName ADD $sColumnName $sFieldSQL";
return !!($oProc->m_odb->query($query));
}