Skip to content

Commit 4637301

Browse files
committed
proper support for bianry and varbinary in mysql
1 parent 0981d64 commit 4637301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public function isNumericType($field) {
198198

199199
public function isBinaryType($field) {
200200
//echo "$field->name: $field->type ($field->flags)\n";
201-
return (($field->flags & 128) && (($field->type>=249 && $field->type<=252) || $field->charsetnr==63));
201+
return (($field->flags & 128) && (($field->type>=249 && $field->type<=252) || ($field->type>=253 && $field->type<=254 && $field->charsetnr==63)));
202202
}
203203

204204
public function isGeometryType($field) {

0 commit comments

Comments
 (0)