Skip to content

Commit 0981d64

Browse files
committed
Proper support for binary and varbinary
1 parent 3a95b06 commit 0981d64

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<=254);
201+
return (($field->flags & 128) && (($field->type>=249 && $field->type<=252) || $field->charsetnr==63));
202202
}
203203

204204
public function isGeometryType($field) {

0 commit comments

Comments
 (0)