Permalink
Browse files

MDL-26883 ddl - fix some function declarations

  • Loading branch information...
1 parent 56babbc commit 00570de5994429ac28f1b6c8aad067d4861b836f @stronk7 stronk7 committed Mar 18, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/ddl/mssql_sql_generator.php
  2. +1 −1 lib/ddl/postgres_sql_generator.php
  3. +1 −1 lib/ddl/sql_generator.php
View
2 lib/ddl/mssql_sql_generator.php
@@ -282,7 +282,7 @@ public function getRenameTableExtraSQL($xmldb_table, $newname) {
/**
* Given one xmldb_table and one xmldb_field, return the SQL statements needed to alter the field in the table
*/
- public function getAlterFieldSQL($xmldb_table, $xmldb_field) {
+ public function getAlterFieldSQL($xmldb_table, $xmldb_field, $skip_type_clause = NULL, $skip_default_clause = NULL, $skip_notnull_clause = NULL) {
$results = array(); /// To store all the needed SQL commands
View
2 lib/ddl/postgres_sql_generator.php
@@ -208,7 +208,7 @@ public function getRenameTableExtraSQL($xmldb_table, $newname) {
* - Changes in null/not null require the SET/DROP NOT NULL clause
* - Changes in default require the SET/DROP DEFAULT clause
*/
- public function getAlterFieldSQL($xmldb_table, $xmldb_field) {
+ public function getAlterFieldSQL($xmldb_table, $xmldb_field, $skip_type_clause = NULL, $skip_default_clause = NULL, $skip_notnull_clause = NULL) {
$results = array(); /// To store all the needed SQL commands
/// Get the normla names of the table and field
View
2 lib/ddl/sql_generator.php
@@ -1140,7 +1140,7 @@ public function getCreateSequenceSQL($xmldb_table, $xmldb_field) {
/**
* Returns the code (array of statements) needed to execute extra statements on table rename
*/
- public function getRenameTableExtraSQL($xmldb_table) {
+ public function getRenameTableExtraSQL($xmldb_table, $newname) {
return array();
}

0 comments on commit 00570de

Please sign in to comment.