commit | fde170c0640a04e0d9d686bfa368e1f368cc1ba1 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Mar 10 19:55:11 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Mon Mar 10 19:55:11 2014 +0200 |
tree | bad6d91cac522c96d2bb654c0e3477ff87eafb6c | |
parent | 8155baba6e9a24235d7324427d926e2200fe566d [diff] [blame] |
Fix #2928, #2929
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index bcf7a8d..38e4ccf 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php
@@ -809,6 +809,7 @@ $field['length'] = is_array($attributes['CONSTRAINT']) ? "('".implode("','", $attributes['CONSTRAINT'])."')" : '('.$attributes['CONSTRAINT'].')'; + break; default: $field['length'] = is_array($attributes['CONSTRAINT']) ? '('.implode(',', $attributes['CONSTRAINT']).')'