diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-23 13:22:12 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-23 13:22:12 +0000 |
commit | 602cb01718953b894ec79ce2384d2794403ac986 (patch) | |
tree | 3cfa4054a6fd33cd2840ee19548e8cf4ced10bc4 /includes | |
parent | e08abdd25259e8a2d8e4986a04e55ecd629f077d (diff) | |
download | brdo-602cb01718953b894ec79ce2384d2794403ac986.tar.gz brdo-602cb01718953b894ec79ce2384d2794403ac986.tar.bz2 |
#198234 by bjaspan: fix improper type maps for numeric and char values in schema API
Diffstat (limited to 'includes')
-rw-r--r-- | includes/database.mysql-common.inc | 2 | ||||
-rw-r--r-- | includes/database.pgsql.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/database.mysql-common.inc b/includes/database.mysql-common.inc index a537e7a59..2fd0a4857 100644 --- a/includes/database.mysql-common.inc +++ b/includes/database.mysql-common.inc @@ -225,7 +225,7 @@ function db_type_map() { 'float:big' => 'DOUBLE', 'float:normal' => 'FLOAT', - 'numeric:normal' => 'NUMERIC', + 'numeric:normal' => 'DECIMAL', 'blob:big' => 'LONGBLOB', 'blob:normal' => 'BLOB', diff --git a/includes/database.pgsql.inc b/includes/database.pgsql.inc index 1d3cef333..65e049263 100644 --- a/includes/database.pgsql.inc +++ b/includes/database.pgsql.inc @@ -444,7 +444,7 @@ function db_type_map() { // database types back into schema types. $map = array( 'varchar:normal' => 'varchar', - 'char:normal' => 'char', + 'char:normal' => 'character', 'text:tiny' => 'text', 'text:small' => 'text', |