From fe67223740563a52020009e5e2271290bc60edfa Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 14 Oct 2009 05:51:43 +0000 Subject: [PATCH] BUGFIX Added missing parameters to MSSQLDatabase::createTable() and MSSQLDatabase::alterTable() that were introuced in r88293 --- code/MSSQLDatabase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/MSSQLDatabase.php b/code/MSSQLDatabase.php index 6ff47e6..266ad85 100644 --- a/code/MSSQLDatabase.php +++ b/code/MSSQLDatabase.php @@ -312,7 +312,7 @@ class MSSQLDatabase extends Database { * - 'temporary' - If true, then a temporary table will be created * @return The table name generated. This may be different from the table name, for example with temporary tables. */ - public function createTable($tableName, $fields = null, $indexes = null, $options = null) { + public function createTable($tableName, $fields = null, $indexes = null, $options = null, $advancedOptions = null) { $fieldSchemas = $indexSchemas = ""; if($fields) foreach($fields as $k => $v) $fieldSchemas .= "\"$k\" $v,\n"; @@ -343,7 +343,7 @@ class MSSQLDatabase extends Database { * @param $alteredFields Updated fields, a map of field name => field schema * @param $alteredIndexes Updated indexes, a map of index name => index type */ - public function alterTable($tableName, $newFields = null, $newIndexes = null, $alteredFields = null, $alteredIndexes = null) { + public function alterTable($tableName, $newFields = null, $newIndexes = null, $alteredFields = null, $alteredIndexes = null, $alteredOptions=null, $advancedOptions=null) { $fieldSchemas = $indexSchemas = ""; $alterList = array();