Fixes #5539 - $config prototype was not being set correctly

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7709 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phishy 2008-10-07 00:55:51 +00:00
parent 06955ad42f
commit 091325bcd1

View file

@ -41,7 +41,7 @@ class DboOracle extends DboSource {
* @var unknown_type
* @access public
*/
var $config;
var $config = array();
/**
* Enter description here...
*
@ -968,7 +968,7 @@ class DboOracle extends DboSource {
$ins = array_chunk($ins, 1000);
foreach ($ins as $i) {
$q = str_replace('{$__cakeID__$}', join(', ', $i), $query);
$q = str_replace('= (', 'IN (', $q);
$q = str_replace('= (', 'IN (', $q);
$res = $this->fetchAll($q, $model->cacheQueries, $model->alias);
$fetch = array_merge($fetch, $res);
}
@ -1012,7 +1012,7 @@ class DboOracle extends DboSource {
$ins = array_chunk($ins, 1000);
foreach ($ins as $i) {
$q = str_replace('{$__cakeID__$}', '(' .join(', ', $i) .')', $query);
$q = str_replace('= (', 'IN (', $q);
$q = str_replace('= (', 'IN (', $q);
$q = str_replace(' WHERE 1 = 1', '', $q);