r110387 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110386‎ | r110387 | r110388 >
Date:14:29, 31 January 2012
Author:yaron
Status:deferred
Tags:
Comment:
Added support for SQLite, DB2 database systems
Modified paths:
  • /trunk/extensions/ExternalData/ED_Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ExternalData/ED_Utils.php
@@ -207,6 +207,10 @@
208208 $db = new DatabaseMssql( $db_server, $db_username, $db_password, $db_name );
209209 } elseif ( $db_type == "oracle" ) {
210210 $db = new DatabaseOracle( $db_server, $db_username, $db_password, $db_name );
 211+ } elseif ( $db_type == "sqlite" ) {
 212+ $db = new DatabaseSqlite( $db_server, $db_username, $db_password, $db_name );
 213+ } elseif ( $db_type == "db2" ) {
 214+ $db = new DatabaseIbm_db2( $db_server, $db_username, $db_password, $db_name );
211215 } else {
212216 $db = null;
213217 }

Status & tagging log