summaryrefslogtreecommitdiff
path: root/mysql-test/r/gis.result
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-03-18 17:10:48 +0400
committerAlexander Barkov <bar@mariadb.org>2015-03-18 17:10:48 +0400
commite28a241907aa7a511b65b196703efaeea71e1dc4 (patch)
tree9456d75e69127d0416592f8036441b17cbe43724 /mysql-test/r/gis.result
parenta471b7098f50e21565ce4c86efcb05d8310e1d62 (diff)
downloadmariadb-git-e28a241907aa7a511b65b196703efaeea71e1dc4.tar.gz
MDEV-7661 Unexpected result for: CAST(0xHHHH AS CHAR CHARACTER SET xxx)
for incorrect byte sequences
Diffstat (limited to 'mysql-test/r/gis.result')
-rw-r--r--mysql-test/r/gis.result11
1 files changed, 8 insertions, 3 deletions
diff --git a/mysql-test/r/gis.result b/mysql-test/r/gis.result
index 32799f15de2..55435f34200 100644
--- a/mysql-test/r/gis.result
+++ b/mysql-test/r/gis.result
@@ -1619,11 +1619,16 @@ insert into t1 values(geomfromtext("POINT(0 9.2233720368548e18)"));
select equals(`a`,convert(`a` using utf8)) from `t1`;
equals(`a`,convert(`a` using utf8))
1
+0
+0
+Warnings:
+Warning 1300 Invalid utf8 character string: '\xE0C'
+Warning 1300 Invalid utf8 character string: '\xE0C'
+select equals(`a`,left(`a`,23)) from `t1`;
+equals(`a`,left(`a`,23))
+NULL
NULL
NULL
-Warnings:
-Warning 1300 Invalid utf8 character string: 'E043'
-Warning 1300 Invalid utf8 character string: 'E043'
drop table t1;
#
# MDEV-6883 ST_WITHIN crashes server if (0,0) is matched to POLYGON((0 0))