diff --git a/ext/db/dialect/mysql.c b/ext/db/dialect/mysql.c index 75b13bb48da..1855228af42 100755 --- a/ext/db/dialect/mysql.c +++ b/ext/db/dialect/mysql.c @@ -163,12 +163,7 @@ PHP_METHOD(Phalcon_Db_Dialect_Mysql, getColumnDefinition){ } break; - - case 8: - PHALCON_INIT_VAR(column_sql); - ZVAL_STRING(column_sql, "TINYINT(1)", 1); - break; - + default: PHALCON_THROW_EXCEPTION_STR(phalcon_db_exception_ce, "Unrecognized MySQL data type"); return; diff --git a/ext/db/dialect/oracle.c b/ext/db/dialect/oracle.c index 66f0bb5b598..3a10891881b 100644 --- a/ext/db/dialect/oracle.c +++ b/ext/db/dialect/oracle.c @@ -135,12 +135,7 @@ PHP_METHOD(Phalcon_Db_Dialect_Oracle, getColumnDefinition){ PHALCON_INIT_NVAR(column_sql); PHALCON_CONCAT_SVSVS(column_sql, "FLOAT(", size, ",", scale, ")"); break; - - case 8: - PHALCON_INIT_VAR(column_sql); - ZVAL_STRING(column_sql, "TINYINT(1)", 1); - break; - + default: PHALCON_THROW_EXCEPTION_STR(phalcon_db_exception_ce, "Unrecognized Oracle data type"); return; diff --git a/ext/db/dialect/postgresql.c b/ext/db/dialect/postgresql.c index 779c291dd5a..d89bc2d07b3 100644 --- a/ext/db/dialect/postgresql.c +++ b/ext/db/dialect/postgresql.c @@ -130,11 +130,6 @@ PHP_METHOD(Phalcon_Db_Dialect_Postgresql, getColumnDefinition){ PHALCON_INIT_NVAR(column_sql); ZVAL_STRING(column_sql, "FLOAT", 1); break; - - case 8: - PHALCON_INIT_VAR(column_sql); - ZVAL_STRING(column_sql, "SMALLINT(1)", 1); - break; default: PHALCON_THROW_EXCEPTION_STR(phalcon_db_exception_ce, "Unrecognized PostgreSQL data type"); diff --git a/ext/db/dialect/sqlite.c b/ext/db/dialect/sqlite.c index 7de011cf178..62afc219f5e 100644 --- a/ext/db/dialect/sqlite.c +++ b/ext/db/dialect/sqlite.c @@ -131,11 +131,6 @@ PHP_METHOD(Phalcon_Db_Dialect_Sqlite, getColumnDefinition){ PHALCON_INIT_NVAR(column_sql); ZVAL_STRING(column_sql, "FLOAT", 1); break; - - case 8: - PHALCON_INIT_VAR(column_sql); - ZVAL_STRING(column_sql, "TINYINT(1)", 1); - break; default: PHALCON_THROW_EXCEPTION_STR(phalcon_db_exception_ce, "Unrecognized SQLite data type");