summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorGwenael G <gwenael.gallon@mac.com>2015-01-23 18:09:36 +0100
committerGwenael G <gwenael.gallon@mac.com>2015-01-23 18:09:36 +0100
commit4070a63b74a515d2998d63989db57a15a1d9f742 (patch)
treed189cfbd3a6fd08f703773de49e9440bda8ee278 /system/database/drivers
parent7e9ee483a0928df9eb46ce9f4f5ef57bf2f999f7 (diff)
This $comment_clause local variable is declared but never used.
Diffstat (limited to 'system/database/drivers')
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php b/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php
index c90712a99..e8e24c6b3 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php
@@ -199,8 +199,6 @@ class CI_DB_pdo_mysql_forge extends CI_DB_pdo_forge {
$extra_clause = ' FIRST';
}
- $comment_clause = isset($field['comment']) ? ' COMMENT ' . $field['comment'] : '';
-
return $this->db->escape_identifiers($field['name'])
.(empty($field['new_name']) ? '' : ' '.$this->db->escape_identifiers($field['new_name']))
.' '.$field['type'].$field['length']