proper support for bianry and varbinary in mysql

This commit is contained in:
Maurits van der Schee 2017-03-28 01:02:58 +02:00
commit 46373011cd

View file

@ -198,7 +198,7 @@ class MySQL implements DatabaseInterface {
public function isBinaryType($field) { public function isBinaryType($field) {
//echo "$field->name: $field->type ($field->flags)\n"; //echo "$field->name: $field->type ($field->flags)\n";
return (($field->flags & 128) && (($field->type>=249 && $field->type<=252) || $field->charsetnr==63)); return (($field->flags & 128) && (($field->type>=249 && $field->type<=252) || ($field->type>=253 && $field->type<=254 && $field->charsetnr==63)));
} }
public function isGeometryType($field) { public function isGeometryType($field) {