From 73f3c725fb1698d6eada6826483692f779ea1c01 Mon Sep 17 00:00:00 2001 From: skeeter Date: Fri, 15 Feb 2002 03:16:11 +0000 Subject: [PATCH] GNU Patch #106 and #109. --- setup/inc/class.schema_proc_mssql.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup/inc/class.schema_proc_mssql.inc.php b/setup/inc/class.schema_proc_mssql.inc.php index 5a22c54d9d..43c63b2cf7 100644 --- a/setup/inc/class.schema_proc_mssql.inc.php +++ b/setup/inc/class.schema_proc_mssql.inc.php @@ -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)); }