[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Oracle-specific updater. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
File Size: | 285 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
OracleUpdater:: (13 methods):
getCoreUpdateList()
doNamespaceDefaults()
doFKRenameDeferr()
doFunctions17()
doSchemaUpgrade17()
doInsertPage0()
doRemoveNotNullEmptyDefaults()
doRemoveNotNullEmptyDefaults2()
doRecentchangesFK2Cascade()
doPageRestrictionsPKUKFix()
doRebuildDuplicateFunction()
doUpdates()
purgeCache()
Class: OracleUpdater - X-Ref
Class for handling updates to Oracle databases.getCoreUpdateList() X-Ref |
Handle to the database subclass |
doNamespaceDefaults() X-Ref |
MySQL uses datatype defaults for NULL inserted into NOT NULL fields In namespace case that results into insert of 0 which is default namespace Oracle inserts NULL, so namespace fields should have a default value |
doFKRenameDeferr() X-Ref |
Uniform FK names + deferrable state |
doFunctions17() X-Ref |
Recreate functions to 17 schema layout |
doSchemaUpgrade17() X-Ref |
Schema upgrade 16->17 there are no incremental patches prior to this |
doInsertPage0() X-Ref |
Insert page (page_id = 0) to prevent FK constraint violation |
doRemoveNotNullEmptyDefaults() X-Ref |
Remove DEFAULT '' NOT NULL constraints from fields as '' is internally converted to NULL in Oracle |
doRemoveNotNullEmptyDefaults2() X-Ref |
No description |
doRecentchangesFK2Cascade() X-Ref |
Removed forcing of invalid state on recentchanges_fk2. cascading taken in account in the deleting function |
doPageRestrictionsPKUKFix() X-Ref |
Fixed wrong PK, UK definition |
doRebuildDuplicateFunction() X-Ref |
rebuilding of the function that duplicates tables for tests |
doUpdates( $what = array( 'core', 'extensions', 'purge', 'stats' ) X-Ref |
Overload: after this action field info table has to be rebuilt param: array $what |
purgeCache() X-Ref |
Overload: because of the DDL_MODE tablename escaping is a bit dodgy |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |