File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -468,4 +468,13 @@ NULL
468
468
Warnings:
469
469
Warning 1301 Result of cast_as_char() was larger than max_allowed_packet (2048) - truncated
470
470
SET @@GLOBAL.max_allowed_packet=default;
471
+ #
472
+ # Bug#13519724 63793: CRASH IN DTCOLLATION::SET(DTCOLLATION &SET)
473
+ #
474
+ CREATE TABLE t1 (a VARCHAR(50));
475
+ SELECT a FROM t1
476
+ WHERE CAST(a as BINARY)=x'62736D697468'
477
+ AND CAST(a AS BINARY)=x'65736D697468';
478
+ a
479
+ DROP TABLE t1;
471
480
End of 5.1 tests
Original file line number Diff line number Diff line change @@ -295,4 +295,16 @@ connection default;
295
295
disconnect newconn;
296
296
SET @@GLOBAL.max_allowed_packet=default;
297
297
298
+ --echo #
299
+ --echo # Bug#13519724 63793: CRASH IN DTCOLLATION::SET(DTCOLLATION &SET)
300
+ --echo #
301
+
302
+ CREATE TABLE t1 (a VARCHAR(50));
303
+
304
+ SELECT a FROM t1
305
+ WHERE CAST(a as BINARY)=x'62736D697468'
306
+ AND CAST(a AS BINARY)=x'65736D697468';
307
+
308
+ DROP TABLE t1;
309
+
298
310
--echo End of 5.1 tests
You can’t perform that action at this time.
0 commit comments