summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/database/drivers/sqlsrv/sqlsrv_forge.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_forge.php b/system/database/drivers/sqlsrv/sqlsrv_forge.php
index d800c5074..2940beb9b 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_forge.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_forge.php
@@ -61,12 +61,12 @@ class CI_DB_sqlsrv_forge extends CI_DB_forge {
function _drop_table($table)
{
$sql = '';
- $sql = "IF (EXISTS (SELECT *
- FROM INFORMATION_SCHEMA.TABLES
- WHERE TABLE_SCHEMA = 'dbo'
- AND TABLE_NAME = '";
- $sql .= $this->db->_escape_identifiers($table)."')) DROP TABLE [dbo].[";
- $sql .= $this->db->_escape_identifiers($table).']';
+ $sql = "IF (EXISTS (SELECT *
+ FROM INFORMATION_SCHEMA.TABLES
+ WHERE TABLE_SCHEMA = 'dbo'
+ AND TABLE_NAME = '";
+ $sql .= $this->db->_escape_identifiers($table)."')) DROP TABLE [dbo].[";
+ $sql .= $this->db->_escape_identifiers($table).']';
return $sql;
}