Browse Source

[php] STinyInt should not become Bool

frabbit 10 years ago
parent
commit
03cddedd0a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      std/php/db/PDO.hx

+ 2 - 2
std/php/db/PDO.hx

@@ -228,9 +228,9 @@ private class PHPNativeStrategy extends TypeStrategy {
 				return "float";
 			case "date", "datetime", "timestamp":
 				return "date";
-			case "bool", "tinyint(1)", "tiny":
+			case "bool", "tinyint(1)":
 				return "bool";
-			case "int", "int24", "int32", "long", "longlong", "short":
+			case "int", "int24", "int32", "long", "longlong", "short", "tiny":
 				return "int";
 			case "blob" if (pdo_type == pdo_type_str):
 			 	return "string";