summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2009-08-17 17:13:45 +0200
committerDerek Allard <derek.allard@ellislab.com>2009-08-17 17:13:45 +0200
commit64c398bde1ac0332737980a66a780624ab069be2 (patch)
treeef5e55545fbdb0dd0bcfa457dd91566ea8b6bf46 /system/database/drivers
parentac2e84108ddf1daa5eef6e6b0d778d8c3b60fcff (diff)
Modified MSSQL driver to use mssql_get_last_message() for error messages.
Diffstat (limited to 'system/database/drivers')
-rw-r--r--system/database/drivers/mssql/mssql_driver.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php
index 4748d5683..97ac971bd 100644
--- a/system/database/drivers/mssql/mssql_driver.php
+++ b/system/database/drivers/mssql/mssql_driver.php
@@ -438,8 +438,7 @@ class CI_DB_mssql_driver extends CI_DB {
*/
function _error_message()
{
- // Are errros even supported in MS SQL?
- return '';
+ return mssql_get_last_message();
}
// --------------------------------------------------------------------