cakephp2-php8/lib/Cake/Model/Datasource/Database
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
..
Mysql.php Merge branch 'master' into 2.5 2014-05-04 14:35:36 +05:30
Postgres.php Merge branch 'master' into 2.5 2014-05-04 14:35:36 +05:30
Sqlite.php microptimize options and default merge and other string key array merges 2014-04-08 01:25:14 +02:00
Sqlserver.php Fixes issue with Sql Server driver when loading fixtures 2014-05-06 12:43:36 +02:00