소스 검색

[php] this should be enough

frabbit 10 년 전
부모
커밋
34f732af56
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      std/php/db/PDO.hx

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

@@ -232,7 +232,7 @@ private class PHPNativeStrategy extends TypeStrategy {
 				return "bool";
 			case "int", "int24", "int32", "long", "longlong", "short":
 				return "int";
-			case _ if (pdo_type == pdo_type_str):
+			case "blob" if (pdo_type == pdo_type_str):
 			 	return "string";
 			case "blob":
 				return "blob";