diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-02-21 15:44:12 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-02-21 15:44:12 +0100 |
commit | 8cf596b5eabe431572ec1c4f21b9c32101feb22f (patch) | |
tree | e25faac86d7e486920124e3d52606214e9668f73 | |
parent | 49e68de96b420a444c826995746a5f09470e76d9 (diff) |
DB_result tests seem to also depend on autoloading via the class_exists() checks ...
-rw-r--r-- | system/database/DB_driver.php | 2 | ||||
-rwxr-xr-x | tests/mocks/database/ci_test.sqlite | bin | 19456 -> 19456 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 213e2c3a8..f03f56c85 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -704,7 +704,7 @@ abstract class CI_DB_driver { { $driver = 'CI_DB_'.$this->dbdriver.'_result'; - if ( ! class_exists($driver, FALSE)) + if ( ! class_exists($driver)) { include_once(BASEPATH.'database/DB_result.php'); include_once(BASEPATH.'database/drivers/'.$this->dbdriver.'/'.$this->dbdriver.'_result.php'); diff --git a/tests/mocks/database/ci_test.sqlite b/tests/mocks/database/ci_test.sqlite Binary files differindex 44dcef9ec..574d3ae53 100755 --- a/tests/mocks/database/ci_test.sqlite +++ b/tests/mocks/database/ci_test.sqlite |