Browse Source

Support varbinary (for Adriano)

Maurits van der Schee 8 years ago
parent
commit
d55163dfb0
2 changed files with 1 additions and 1 deletions
  1. 1
    1
      api.php
  2. BIN
      data/blog.db

+ 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));
201
+		return ($field->flags & 128) && ($field->type>=249) && ($field->type<=254);
202 202
 	}
203 203
 
204 204
 	public function isGeometryType($field) {

BIN
data/blog.db View File


Loading…
Cancel
Save