Browse Source

proper support for bianry and varbinary in mysql

Maurits van der Schee 7 years ago
parent
commit
46373011cd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api.php

+ 1
- 1
api.php View File

@@ -198,7 +198,7 @@ class MySQL implements DatabaseInterface {
198 198
 
199 199
 	public function isBinaryType($field) {
200 200
 		//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)));
202 202
 	}
203 203
 
204 204
 	public function isGeometryType($field) {

Loading…
Cancel
Save