diff options
author | tino <tino@quadforce> | 2013-10-18 10:26:05 +0200 |
---|---|---|
committer | blowdoof <blowdoof@gmail.com> | 2013-10-18 15:40:55 +0200 |
commit | 508aa787c1203a42d1103617bba122e312bd5088 (patch) | |
tree | e09cfced0ec31be96ee963819b1bf1e283f44905 /system/database/drivers/sqlsrv | |
parent | 533bf8f526be37954a2987e09df2be1c40ba49ba (diff) |
Bugfix on truncate command
Diffstat (limited to 'system/database/drivers/sqlsrv')
-rw-r--r-- | system/database/drivers/sqlsrv/sqlsrv_driver.php | 2 |
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; } // -------------------------------------------------------------------- |