summaryrefslogtreecommitdiff
path: root/sql/rpl_utility.h
diff options
context:
space:
mode:
authorHe Zhenxing <zhenxing.he@sun.com>2010-01-05 14:25:29 +0800
committerHe Zhenxing <zhenxing.he@sun.com>2010-01-05 14:25:29 +0800
commitaf27d4e2003a84a28007a99053aefecafd7ecd97 (patch)
tree184f658ef7d7bcba3eef0bc520513215eff318fc /sql/rpl_utility.h
parentbe397eb40061afdc924cabb96efca0ec736b5181 (diff)
downloadmariadb-git-af27d4e2003a84a28007a99053aefecafd7ecd97.tar.gz
Bug#48776 row based replication breaks with spatial / geometry types, cause crashes!
This bug is the same problem as Bug 49836 for 5.1 versions. mysql-test/suite/rpl/r/rpl_geometry.result: Test case for bug 48776 mysql-test/suite/rpl/t/rpl_geometry.test: Test case for bug 48776 sql/rpl_utility.h: Add missing case MYSQL_TYPE_GEOMETRY
Diffstat (limited to 'sql/rpl_utility.h')
-rw-r--r--sql/rpl_utility.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/rpl_utility.h b/sql/rpl_utility.h
index 1f4ca246ff1..d011e9aade8 100644
--- a/sql/rpl_utility.h
+++ b/sql/rpl_utility.h
@@ -95,6 +95,7 @@ public:
case MYSQL_TYPE_LONG_BLOB:
case MYSQL_TYPE_DOUBLE:
case MYSQL_TYPE_FLOAT:
+ case MYSQL_TYPE_GEOMETRY:
{
/*
These types store a single byte.