You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning 3135 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
1383
-
INSERT INTO at(_bin) (SELECT _bin ^ x'cafebabe' FROM at);
1384
-
Warnings:
1385
-
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
Copy file name to clipboardExpand all lines: mysql-test/r/varbinary.result
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -273,6 +273,7 @@ Warning 1287 Bitwise operations on BINARY will change behaviour in a future vers
273
273
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
274
274
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
275
275
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
276
+
RESET QUERY CACHE;
276
277
CALL test_bin_op();
277
278
b & c b & 0x31393838 b & NULL b & 0b1011 0x31393838 & b NULL & b 0b1011 & b b | c b | 0x31393838 b | NULL b | 0b1011 0x31393838 | b NULL | b 0b1011 | b b ^ c b ^ 0x31393838 b ^ NULL b ^ 0b1011 0x31393838 ^ b NULL ^ b 0b1011 ^ b BIT_COUNT(b) ~b b << 1 b >> 1
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
322
323
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
323
324
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
325
+
RESET QUERY CACHE;
324
326
CALL test_bin_op();
325
327
BIT_AND(b) BIT_OR(b) BIT_XOR(b)
326
328
1981 1981 1981
@@ -342,6 +344,7 @@ Warnings:
342
344
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
343
345
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
344
346
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
347
+
RESET QUERY CACHE;
345
348
CALL test_bin_op();
346
349
BIT_AND(b) BIT_OR(b) BIT_XOR(b)
347
350
1920 2047 127
@@ -423,6 +426,7 @@ Warning 1287 Bitwise operations on BINARY will change behaviour in a future vers
423
426
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
424
427
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
425
428
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
429
+
RESET QUERY CACHE;
426
430
EXECUTE s1;
427
431
b & c b & 0x31393838 b & NULL b & 0b1011 0x31393838 & b NULL & b 0b1011 & b b | c b | 0x31393838 b | NULL b | 0b1011 0x31393838 | b NULL | b 0b1011 | b b ^ c b ^ 0x31393838 b ^ NULL b ^ 0b1011 0x31393838 ^ b NULL ^ b 0b1011 ^ b BIT_COUNT(b) ~b b << 1 b >> 1
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
474
478
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
475
479
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
480
+
RESET QUERY CACHE;
476
481
EXECUTE s2;
477
482
BIT_AND(b) BIT_OR(b) BIT_XOR(b)
478
483
1981 1981 1981
@@ -496,6 +501,7 @@ Warnings:
496
501
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
497
502
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
498
503
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
504
+
RESET QUERY CACHE;
499
505
EXECUTE s2;
500
506
BIT_AND(b) BIT_OR(b) BIT_XOR(b)
501
507
1920 2047 127
@@ -576,6 +582,7 @@ Warning 1287 Bitwise operations on BINARY will change behaviour in a future vers
576
582
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
577
583
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
578
584
Warning 1287 Bitwise operations on BINARY will change behaviour in a future version, check the 'Bit functions' section in the manual.
585
+
RESET QUERY CACHE;
579
586
SELECT * from v1;
580
587
b & c b & 0x31393838 b & NULL b & 0b1011 0x31393838 & b NULL & b 0b1011 & b b | c b | 0x31393838 b | NULL b | 0b1011 0x31393838 | b NULL | b 0b1011 | b b ^ c b ^ 0x31393838 b ^ NULL b ^ 0b1011 0x31393838 ^ b NULL ^ b 0b1011 ^ b BIT_COUNT(b) ~b b << 1 b >> 1
0 commit comments