Modified MSSQL driver to use mssql_get_last_message() for error messages.
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php
index 4748d56..97ac971 100644
--- a/system/database/drivers/mssql/mssql_driver.php
+++ b/system/database/drivers/mssql/mssql_driver.php
@@ -438,8 +438,7 @@
*/
function _error_message()
{
- // Are errros even supported in MS SQL?
- return '';
+ return mssql_get_last_message();
}
// --------------------------------------------------------------------
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 5283605..652aa27 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -76,6 +76,7 @@
<li>Added escape_like_str() method for escaping strings to be used in LIKE conditions</li>
<li>Updated Active Record to utilize the new LIKE escaping mechanism.</li>
<li>Added reconnect() method to DB drivers to try to keep alive / reestablish a connection after a long idle.</li>
+ <li>Modified MSSQL driver to use mssql_get_last_message() for error messages.</li>
</ul>
</li>
<li>Helpers