summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authortino <tino@quadforce>2013-10-18 10:26:05 +0200
committerblowdoof <blowdoof@gmail.com>2013-10-18 15:40:55 +0200
commit508aa787c1203a42d1103617bba122e312bd5088 (patch)
treee09cfced0ec31be96ee963819b1bf1e283f44905 /system
parent533bf8f526be37954a2987e09df2be1c40ba49ba (diff)
Bugfix on truncate command
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/sqlsrv/sqlsrv_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_driver.php b/system/database/drivers/sqlsrv/sqlsrv_driver.php
index 400fd31c6..e6f37778c 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_driver.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -536,7 +536,7 @@ class CI_DB_sqlsrv_driver extends CI_DB {
*/
function _truncate($table)
{
- return "TRUNCATE ".$table;
+ return "TRUNCATE TABLE ".$table;
}
// --------------------------------------------------------------------