cakephp2-php8/lib/Cake/Model/Datasource
Christian Winther 9e6120c86a This fixes an issue where attempting to use "!=" in a condition with an array with only a single element generates invalid SQL.
Example:
$condition['Model.id !='] = array(1, 2); //Generates Model.id NOT IN (1, 2) as expected
$condition['Model.id !='] = array(1); //Generates Model.id != = (1) which is invalid SQL

Patch will cause the above to generate Model.id != (1);

This an implimentation of @markstory's suggestion on PR 1232
2013-05-28 11:54:31 +00:00
..
Database Merge branch 'master' into 2.4 2013-05-05 14:36:46 +05:30
Session Added extra line for referencing license file for copyright 2013-02-08 21:22:51 +09:00
CakeSession.php Remove error setting when reading/deleting non-existent key. 2013-05-04 03:16:33 +05:30
DataSource.php Added extra line for referencing license file for copyright 2013-02-08 21:22:51 +09:00
DboSource.php This fixes an issue where attempting to use "!=" in a condition with an array with only a single element generates invalid SQL. 2013-05-28 11:54:31 +00:00