From e45346f98ef84463febe11b2a122e38d1b227376 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 17 Oct 2006 18:31:56 +0000 Subject: [PATCH] Fixed typo that was preventing correct BLOB storage under Oracle. Merged from MOODLE_17_STABLE --- lib/dmllib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dmllib.php b/lib/dmllib.php index 031c951fa5..7b5d5b7dc4 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -1736,7 +1736,7 @@ function oracle_dirty_hack ($table, &$dataobject, $usecache = true) { /** * This function will search for all the CLOBs and BLOBs fields passed in the dataobject, replacing - * their contents by the fixed strings '@#CLOB#@' and '@#BLOB' and returning one array for all the + * their contents by the fixed strings '@#CLOB#@' and '@#BLOB#@' and returning one array for all the * found CLOBS and another for all the found BLOBS * Used by Oracle drivers to perform the two-step insertion/update of LOBs * @@ -1789,7 +1789,7 @@ function oracle_detect_lobs ($table, &$dataobject, &$clobs, &$blobs, $unset = fa /// If the field is BLOB, update its value to '@#BLOB#@' and store it in the $blobs array if ($columns[strtolower($fieldname)]->type == 'BLOB') { // && strlen($dataobject->$fieldname) > 3999 - $clobs[$fieldname] = $dataobject->$fieldname; + $blobs[$fieldname] = $dataobject->$fieldname; if ($unset) { unset($dataobject->$fieldname); } else { -- 2.39.5