r91719 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91718‎ | r91719 | r91720 >
Date:12:28, 8 July 2011
Author:freakolowsky
Status:ok
Tags:
Comment:
* DatabaseOracle.php binds variables, so using $val = 'NULL' breaks certain maint. scripts
Modified paths:
  • /trunk/phase3/includes/db/DatabaseOracle.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/DatabaseOracle.php
@@ -494,6 +494,10 @@
495495 $val = null;
496496 }
497497
 498+ if ( $val === 'NULL' ) {
 499+ $val = null;
 500+ }
 501+
498502 if ( $val === null ) {
499503 if ( $col_info != false && $col_info->isNullable() == 0 && $col_info->defaultValue() != null ) {
500504 $bind .= 'DEFAULT';

Follow-up revisions

RevisionCommit summaryAuthorDate
r92257MFT r91719, r91618reedy17:41, 15 July 2011

Status & tagging log