diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2014-02-18 17:45:08 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2014-02-18 17:45:08 +0400 |
commit | 84580f950cca0bd0c7369e3e84b60d4dcfe81ba6 (patch) | |
tree | 68d3f605ad5bc3e12bb4912f68d4a7d8414abd32 /client | |
parent | 820b1a66870639951cdf7f1cbfef14c3ba889615 (diff) | |
download | mariadb-git-84580f950cca0bd0c7369e3e84b60d4dcfe81ba6.tar.gz |
MDEV-5481 mysqldump fails to dump geometry types properly.
Fixed so the MYSQL_TYPE_GEOMETRY is treated as BLOB.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqldump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index bf4dcfefa19..3c8e0f9a508 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -3637,7 +3637,8 @@ static void dump_table(char *table, char *db) field->type == MYSQL_TYPE_BLOB || field->type == MYSQL_TYPE_LONG_BLOB || field->type == MYSQL_TYPE_MEDIUM_BLOB || - field->type == MYSQL_TYPE_TINY_BLOB)) ? 1 : 0; + field->type == MYSQL_TYPE_TINY_BLOB || + field->type == MYSQL_TYPE_GEOMETRY)) ? 1 : 0; if (extended_insert && !opt_xml) { if (i == 0) |