diff options
author | Andrey Andreev <narf@devilix.net> | 2015-02-19 13:44:18 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-02-19 13:44:18 +0100 |
commit | 6c7c8917d853bcd4acdce930b9afa537b2fb8b95 (patch) | |
tree | 941174c3cefd673f9a713ac4e5773f6a1782f599 /system/database/drivers/sqlsrv | |
parent | c545c0147636d8592fdcb7e8ec2c6df09399d485 (diff) |
Remove 'autoinit' DB setting
It doesn't make sense to do a load->database() call
but not connect to the database. IIRC there was more
stuff in CI_DB_driver::initialize() at some point,
so that was probably the reason why the setting
existed in the first place. However, now it only
results in users making invalid bug reports because
they don't understand the feature ...
Examples during just the past 2 weeks: #3571 #3601 #3607
Diffstat (limited to 'system/database/drivers/sqlsrv')
-rw-r--r-- | system/database/drivers/sqlsrv/sqlsrv_driver.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_driver.php b/system/database/drivers/sqlsrv/sqlsrv_driver.php index 8f17c8f96..16f77fab2 100644 --- a/system/database/drivers/sqlsrv/sqlsrv_driver.php +++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php @@ -292,10 +292,6 @@ class CI_DB_sqlsrv_driver extends CI_DB { { return $this->data_cache['version']; } - elseif ( ! $this->conn_id) - { - $this->initialize(); - } if ( ! $this->conn_id OR ($info = sqlsrv_server_info($this->conn_id)) === FALSE) { |