cakephp2-php8/lib/Cake/Model/Datasource
Walther Lalk 2dd3cecfaa Fixes issue with Sql Server driver when loading fixtures
Sqlserver::describe is expecting a model object (Unlike other drivers which work with either a object or string). While this does work under normal conditions, it causes a "Trying to get property of non-object" notice when using fixtures. The same problem also causes the testLimitOffsetHack test to fail.

This change does a simple test to ensure that the $model variable is an object before trying to access a property of it. All SqlServer tests are now passing.
2014-05-06 12:43:36 +02:00
..
Database Fixes issue with Sql Server driver when loading fixtures 2014-05-06 12:43:36 +02:00
Session Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
CakeSession.php Merge branch 'master' into 2.5 2014-02-16 14:24:19 -05:00
DataSource.php Process query only when needed. 2013-12-21 10:57:40 -03:00
DboSource.php Merge branch 'master' into 2.5 2014-05-04 14:35:36 +05:30