diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-22 12:12:22 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-22 12:12:22 +0100 |
commit | 7ade8b7944d10f4fd1583789309cf003a3eac6f7 (patch) | |
tree | b5b305d5d8ffb781682914a40f19ae8aa9dac477 /system/database/drivers/mysql | |
parent | 2eaeee5aa3971932e58ffac48554e554d799249f (diff) |
Fix modify_column() issues (#2020)
Diffstat (limited to 'system/database/drivers/mysql')
-rw-r--r-- | system/database/drivers/mysql/mysql_forge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysql/mysql_forge.php b/system/database/drivers/mysql/mysql_forge.php index 6c5dfc665..1e9145e4f 100644 --- a/system/database/drivers/mysql/mysql_forge.php +++ b/system/database/drivers/mysql/mysql_forge.php @@ -157,7 +157,7 @@ class CI_DB_mysql_forge extends CI_DB_forge { } return $this->db->escape_identifiers($field['name']) - .(empty($field['new_name']) ? '' : $this->db->escape_identifiers($field['new_name'])) + .(empty($field['new_name']) ? '' : ' '.$this->db->escape_identifiers($field['new_name'])) .' '.$field['type'].$field['length'] .$field['unsigned'] .$field['null'] |