proper support for bianry and varbinary in mysql
This commit is contained in:
parent
0981d64463
commit
46373011cd
1 changed files with 1 additions and 1 deletions
2
api.php
2
api.php
|
|
@ -198,7 +198,7 @@ class MySQL implements DatabaseInterface {
|
|||
|
||||
public function isBinaryType($field) {
|
||||
//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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue