Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b7063e43
Commit
b7063e43
authored
Sep 16, 2024
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update tests max_sort_length
parent
d1f45fc9
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
47 additions
and
47 deletions
+47
-47
mysql-test/main/ctype_gbk.result
mysql-test/main/ctype_gbk.result
+2
-2
mysql-test/main/group_by.result
mysql-test/main/group_by.result
+3
-3
mysql-test/main/order_by.result
mysql-test/main/order_by.result
+3
-3
mysql-test/main/query_cache.result
mysql-test/main/query_cache.result
+1
-1
mysql-test/main/subselect_mat.result
mysql-test/main/subselect_mat.result
+4
-4
mysql-test/main/subselect_sj_mat.result
mysql-test/main/subselect_sj_mat.result
+4
-4
mysql-test/suite/innodb_zip/r/prefix_index_liftedlimit.result
...l-test/suite/innodb_zip/r/prefix_index_liftedlimit.result
+1
-1
mysql-test/suite/sys_vars/r/max_sort_length_func.result
mysql-test/suite/sys_vars/r/max_sort_length_func.result
+26
-26
mysql-test/suite/vcol/r/partition.result
mysql-test/suite/vcol/r/partition.result
+1
-1
mysql-test/suite/versioning/r/update.result
mysql-test/suite/versioning/r/update.result
+2
-2
No files found.
mysql-test/main/ctype_gbk.result
View file @
b7063e43
...
@@ -681,10 +681,10 @@ INSERT INTO t1 VALUES
...
@@ -681,10 +681,10 @@ INSERT INTO t1 VALUES
(REPEAT(0x1125,200000), REPEAT(0x1125,200000)), ('', ''), ('', '');
(REPEAT(0x1125,200000), REPEAT(0x1125,200000)), ('', ''), ('', '');
SELECT a FROM t1 GROUP BY 1 LIMIT 1 INTO @nullll;
SELECT a FROM t1 GROUP BY 1 LIMIT 1 INTO @nullll;
Warnings:
Warnings:
Warning 420
1
1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
SELECT b FROM t1 GROUP BY 1 LIMIT 1 INTO @nullll;
SELECT b FROM t1 GROUP BY 1 LIMIT 1 INTO @nullll;
Warnings:
Warnings:
Warning 420
1
1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
DROP TABLES t1;
DROP TABLES t1;
End of 5.0 tests
End of 5.0 tests
#
#
...
...
mysql-test/main/group_by.result
View file @
b7063e43
...
@@ -1919,7 +1919,7 @@ SELECT SUBSTRING(a,1,10), LENGTH(a), GROUP_CONCAT(b) FROM t1 GROUP BY a;
...
@@ -1919,7 +1919,7 @@ SELECT SUBSTRING(a,1,10), LENGTH(a), GROUP_CONCAT(b) FROM t1 GROUP BY a;
SUBSTRING(a,1,10) LENGTH(a) GROUP_CONCAT(b)
SUBSTRING(a,1,10) LENGTH(a) GROUP_CONCAT(b)
1111111111 1300 one,two
1111111111 1300 one,two
Warnings:
Warnings:
Warning 420
1
2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
EXPLAIN
EXPLAIN
SELECT SUBSTRING(a,1,10), LENGTH(a) FROM t1 GROUP BY a;
SELECT SUBSTRING(a,1,10), LENGTH(a) FROM t1 GROUP BY a;
id 1
id 1
...
@@ -1936,7 +1936,7 @@ SELECT SUBSTRING(a,1,10), LENGTH(a) FROM t1 GROUP BY a;
...
@@ -1936,7 +1936,7 @@ SELECT SUBSTRING(a,1,10), LENGTH(a) FROM t1 GROUP BY a;
SUBSTRING(a,1,10) LENGTH(a)
SUBSTRING(a,1,10) LENGTH(a)
1111111111 1300
1111111111 1300
Warnings:
Warnings:
Warning 420
1
1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
DROP TABLE t1;
DROP TABLE t1;
#
#
# Bug#57688 Assertion `!table || (!table->write_set || bitmap_is_set(table->write_set, field
# Bug#57688 Assertion `!table || (!table->write_set || bitmap_is_set(table->write_set, field
...
@@ -2733,7 +2733,7 @@ f1 f2
...
@@ -2733,7 +2733,7 @@ f1 f2
NULL
NULL
NULL NULL
NULL NULL
Warnings:
Warnings:
Warning 420
1
116 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
116 values were longer than max_sort_length. Sorting used only the first 1024 bytes
SET @@sort_buffer_size = @old_sort_buff_size;
SET @@sort_buffer_size = @old_sort_buff_size;
DROP TABLE t1;
DROP TABLE t1;
#
#
...
...
mysql-test/main/order_by.result
View file @
b7063e43
...
@@ -860,7 +860,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxab
...
@@ -860,7 +860,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxab
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxaa
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxaa
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxz
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxz
Warnings:
Warnings:
Warning 420
1
2 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
2 values were longer than max_sort_length. Sorting used only the first 64 bytes
drop table t1;
drop table t1;
create table t1 (
create table t1 (
`sid` decimal(8,0) default null,
`sid` decimal(8,0) default null,
...
@@ -4125,7 +4125,7 @@ a substr(b, @save_max_sort_length+1)
...
@@ -4125,7 +4125,7 @@ a substr(b, @save_max_sort_length+1)
2 AB
2 AB
1 A
1 A
Warnings:
Warnings:
Warning 420
1
5 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
5 values were longer than max_sort_length. Sorting used only the first 1024 bytes
analyze format=json
analyze format=json
select a, substr(b, @save_max_sort_length+1) from t1 order by b desc;
select a, substr(b, @save_max_sort_length+1) from t1 order by b desc;
ANALYZE
ANALYZE
...
@@ -4172,7 +4172,7 @@ ANALYZE
...
@@ -4172,7 +4172,7 @@ ANALYZE
}
}
}
}
Warnings:
Warnings:
Warning 420
1
5 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
5 values were longer than max_sort_length. Sorting used only the first 1024 bytes
drop table t1;
drop table t1;
#
#
# Packing sort keys with complex collations
# Packing sort keys with complex collations
...
...
mysql-test/main/query_cache.result
View file @
b7063e43
...
@@ -835,7 +835,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
...
@@ -835,7 +835,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxw
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxw
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxy
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
set max_sort_length=200;
set max_sort_length=200;
select c from t1 order by c, id;
select c from t1 order by c, id;
c
c
...
...
mysql-test/main/subselect_mat.result
View file @
b7063e43
...
@@ -899,7 +899,7 @@ Warnings:
...
@@ -899,7 +899,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
set @@group_concat_max_len = 256;
set @@group_concat_max_len = 256;
explain extended select left(a1,7), left(a2,7)
explain extended select left(a1,7), left(a2,7)
from t1_1024
from t1_1024
...
@@ -917,7 +917,7 @@ Warnings:
...
@@ -917,7 +917,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
drop table t1_1024, t2_1024, t3_1024;
drop table t1_1024, t2_1024, t3_1024;
set @blob_len = 1025;
set @blob_len = 1025;
set @suffix_len = @blob_len - @prefix_len;
set @suffix_len = @blob_len - @prefix_len;
...
@@ -1002,7 +1002,7 @@ Warnings:
...
@@ -1002,7 +1002,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
set @@group_concat_max_len = 256;
set @@group_concat_max_len = 256;
explain extended select left(a1,7), left(a2,7)
explain extended select left(a1,7), left(a2,7)
from t1_1025
from t1_1025
...
@@ -1020,7 +1020,7 @@ Warnings:
...
@@ -1020,7 +1020,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
drop table t1_1025, t2_1025, t3_1025;
drop table t1_1025, t2_1025, t3_1025;
create table t1bit (a1 bit(3), a2 bit(3));
create table t1bit (a1 bit(3), a2 bit(3));
create table t2bit (b1 bit(3), b2 bit(3));
create table t2bit (b1 bit(3), b2 bit(3));
...
...
mysql-test/main/subselect_sj_mat.result
View file @
b7063e43
...
@@ -919,7 +919,7 @@ Warnings:
...
@@ -919,7 +919,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
set @@group_concat_max_len = 256;
set @@group_concat_max_len = 256;
explain extended select left(a1,7), left(a2,7)
explain extended select left(a1,7), left(a2,7)
from t1_1024
from t1_1024
...
@@ -938,7 +938,7 @@ Warnings:
...
@@ -938,7 +938,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
drop table t1_1024, t2_1024, t3_1024;
drop table t1_1024, t2_1024, t3_1024;
set @blob_len = 1025;
set @blob_len = 1025;
set @suffix_len = @blob_len - @prefix_len;
set @suffix_len = @blob_len - @prefix_len;
...
@@ -1024,7 +1024,7 @@ Warnings:
...
@@ -1024,7 +1024,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
set @@group_concat_max_len = 256;
set @@group_concat_max_len = 256;
explain extended select left(a1,7), left(a2,7)
explain extended select left(a1,7), left(a2,7)
from t1_1025
from t1_1025
...
@@ -1043,7 +1043,7 @@ Warnings:
...
@@ -1043,7 +1043,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 2 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 1260 Row 3 was cut by group_concat()
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
drop table t1_1025, t2_1025, t3_1025;
drop table t1_1025, t2_1025, t3_1025;
create table t1bit (a1 bit(3), a2 bit(3));
create table t1bit (a1 bit(3), a2 bit(3));
create table t2bit (b1 bit(3), b2 bit(3));
create table t2bit (b1 bit(3), b2 bit(3));
...
...
mysql-test/suite/innodb_zip/r/prefix_index_liftedlimit.result
View file @
b7063e43
...
@@ -768,7 +768,7 @@ col_1_text = REPEAT("क", 4000)
...
@@ -768,7 +768,7 @@ col_1_text = REPEAT("क", 4000)
1
1
0
0
Warnings:
Warnings:
Warning 420
1
2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
DROP TABLE worklog5743;
DROP TABLE worklog5743;
CREATE TABLE worklog5743 (
CREATE TABLE worklog5743 (
col_1_text TEXT(4000) , col_2_text TEXT(4000) ,
col_1_text TEXT(4000) , col_2_text TEXT(4000) ,
...
...
mysql-test/suite/sys_vars/r/max_sort_length_func.result
View file @
b7063e43
...
@@ -40,7 +40,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
...
@@ -40,7 +40,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Warnings:
Warnings:
Warning 420
1
6 values were longer than max_sort_length. Sorting used only the first 69 bytes
Warning 420
3
6 values were longer than max_sort_length. Sorting used only the first 69 bytes
** Results should be sorted **
** Results should be sorted **
'#--------------------FN_DYNVARS_098_02-------------------------#'
'#--------------------FN_DYNVARS_098_02-------------------------#'
connect test_con2,localhost,root,,;
connect test_con2,localhost,root,,;
...
@@ -94,7 +94,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
...
@@ -94,7 +94,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
Warnings:
Warnings:
Warning 420
1
16 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
16 values were longer than max_sort_length. Sorting used only the first 64 bytes
** Results should not be sorted **
** Results should not be sorted **
'#--------------------FN_DYNVARS_098_03-------------------------#'
'#--------------------FN_DYNVARS_098_03-------------------------#'
SET max_sort_length=64;
SET max_sort_length=64;
...
@@ -125,7 +125,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
...
@@ -125,7 +125,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
Warnings:
Warnings:
Warning 420
1
20 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
20 values were longer than max_sort_length. Sorting used only the first 64 bytes
** Results should not be sorted **
** Results should not be sorted **
RESET QUERY CACHE;
RESET QUERY CACHE;
'#--------------------FN_DYNVARS_098_04-------------------------#'
'#--------------------FN_DYNVARS_098_04-------------------------#'
...
@@ -153,7 +153,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
...
@@ -153,7 +153,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Warnings:
Warnings:
Warning 420
1
15 values were longer than max_sort_length. Sorting used only the first 69 bytes
Warning 420
3
15 values were longer than max_sort_length. Sorting used only the first 69 bytes
** Results should be sorted **
** Results should be sorted **
'#--------------------FN_DYNVARS_098_05-------------------------#'
'#--------------------FN_DYNVARS_098_05-------------------------#'
SET max_sort_length=70;
SET max_sort_length=70;
...
@@ -225,7 +225,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
...
@@ -225,7 +225,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
Warnings:
Warnings:
Warning 420
1
4 values were longer than max_sort_length. Sorting used only the first 70 bytes
Warning 420
3
4 values were longer than max_sort_length. Sorting used only the first 70 bytes
** Results should be sorted **
** Results should be sorted **
SET @@session.max_sort_length = 64;
SET @@session.max_sort_length = 64;
SELECT @@session.max_sort_length;
SELECT @@session.max_sort_length;
...
@@ -246,7 +246,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
...
@@ -246,7 +246,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
Warnings:
Warnings:
Warning 420
1
8 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
8 values were longer than max_sort_length. Sorting used only the first 64 bytes
** Results should not be sorted **
** Results should not be sorted **
'#--------------------FN_DYNVARS_098_08-------------------------#'
'#--------------------FN_DYNVARS_098_08-------------------------#'
Testing type CHAR
Testing type CHAR
...
@@ -265,7 +265,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
...
@@ -265,7 +265,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
Warnings:
Warnings:
Warning 420
1
4 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
4 values were longer than max_sort_length. Sorting used only the first 64 bytes
** Results should not be sorted **
** Results should not be sorted **
SET @@session.max_sort_length = 64;
SET @@session.max_sort_length = 64;
SELECT @@session.max_sort_length;
SELECT @@session.max_sort_length;
...
@@ -286,7 +286,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
...
@@ -286,7 +286,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxsy
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxgw
Warnings:
Warnings:
Warning 420
1
8 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
8 values were longer than max_sort_length. Sorting used only the first 64 bytes
** Results should not be sorted **
** Results should not be sorted **
DROP TABLE t, t1, t2;
DROP TABLE t, t1, t2;
#
#
...
@@ -308,7 +308,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
...
@@ -308,7 +308,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 70 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 70 bytes
# Make sure there are warnings when a string function is used:
# Make sure there are warnings when a string function is used:
select a from t1 order by coalesce(a);
select a from t1 order by coalesce(a);
a
a
...
@@ -318,7 +318,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
...
@@ -318,7 +318,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 70 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 70 bytes
select a from t1 order by concat(a, '1');
select a from t1 order by concat(a, '1');
a
a
ShortStr1
ShortStr1
...
@@ -327,7 +327,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
...
@@ -327,7 +327,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 70 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 70 bytes
select a from t1 order by binary(a);
select a from t1 order by binary(a);
a
a
ShortStr1
ShortStr1
...
@@ -336,7 +336,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
...
@@ -336,7 +336,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 70 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 70 bytes
# Table having a variable-length string field and UTF16 encoding (2 bytes per char):
# Table having a variable-length string field and UTF16 encoding (2 bytes per char):
create table t2(a varchar(100)) character set 'utf16';
create table t2(a varchar(100)) character set 'utf16';
insert into t2 values
insert into t2 values
...
@@ -353,7 +353,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
...
@@ -353,7 +353,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
# Table having text blobs
# Table having text blobs
create table t3(a text, b mediumtext, c longtext) character set 'utf16';
create table t3(a text, b mediumtext, c longtext) character set 'utf16';
insert into t3 values
insert into t3 values
...
@@ -370,7 +370,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
...
@@ -370,7 +370,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
select * from t3 order by b desc;
select * from t3 order by b desc;
a b c
a b c
shortString51 short777 short897
shortString51 short777 short897
...
@@ -379,7 +379,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
...
@@ -379,7 +379,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
select * from t3 order by coalesce(b) desc;
select * from t3 order by coalesce(b) desc;
a b c
a b c
shortString51 short777 short897
shortString51 short777 short897
...
@@ -388,7 +388,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
...
@@ -388,7 +388,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
select * from t3 order by c;
select * from t3 order by c;
a b c
a b c
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText999 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium99 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong99
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText999 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium99 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong99
...
@@ -397,7 +397,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
...
@@ -397,7 +397,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
shortString89 short123 short456
shortString89 short123 short456
shortString51 short777 short897
shortString51 short777 short897
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
select * from t3 order by c, a desc;
select * from t3 order by c, a desc;
a b c
a b c
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText999 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium99 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong99
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText999 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium99 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong99
...
@@ -406,7 +406,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
...
@@ -406,7 +406,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
shortString89 short123 short456
shortString89 short123 short456
shortString51 short777 short897
shortString51 short777 short897
Warnings:
Warnings:
Warning 420
1
6 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
6 values were longer than max_sort_length. Sorting used only the first 64 bytes
# Packing of sort keys will be applied here:
# Packing of sort keys will be applied here:
select * from t3 order by a, c, b;
select * from t3 order by a, c, b;
a b c
a b c
...
@@ -416,7 +416,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
...
@@ -416,7 +416,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
Warnings:
Warnings:
Warning 420
1
9 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
9 values were longer than max_sort_length. Sorting used only the first 64 bytes
select * from t3 order by a;
select * from t3 order by a;
a b c
a b c
shortString51 short777 short897
shortString51 short777 short897
...
@@ -425,7 +425,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
...
@@ -425,7 +425,7 @@ TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText888 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium88 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong88
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText777 MediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMediumMedium77 LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong77
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
# Test a prepared statement re-execution (expecting warnings at both executions)
# Test a prepared statement re-execution (expecting warnings at both executions)
prepare stmt from "select * from t2 order by a";
prepare stmt from "select * from t2 order by a";
execute stmt;
execute stmt;
...
@@ -436,7 +436,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
...
@@ -436,7 +436,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
execute stmt;
execute stmt;
a
a
shortString51
shortString51
...
@@ -445,7 +445,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
...
@@ -445,7 +445,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
# Test a stored procedure
# Test a stored procedure
create procedure p1() select * from t2 order by a;
create procedure p1() select * from t2 order by a;
call p1();
call p1();
...
@@ -456,7 +456,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
...
@@ -456,7 +456,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
call p1();
call p1();
a
a
shortString51
shortString51
...
@@ -465,7 +465,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
...
@@ -465,7 +465,7 @@ StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrzzz
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStryyy
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
StrStrStrStrStrStrStrStrStrStrStrStrStrStrStrxxx
Warnings:
Warnings:
Warning 420
1
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
3 values were longer than max_sort_length. Sorting used only the first 64 bytes
drop procedure p1;
drop procedure p1;
# Test a stored function
# Test a stored function
create function f1 () returns char(100) return (select a from t1 order by a limit 1);
create function f1 () returns char(100) return (select a from t1 order by a limit 1);
...
@@ -477,7 +477,7 @@ ShortStr1
...
@@ -477,7 +477,7 @@ ShortStr1
ShortStr1
ShortStr1
ShortStr1
ShortStr1
Warnings:
Warnings:
Warning 420
1
15 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
15 values were longer than max_sort_length. Sorting used only the first 64 bytes
# Test a view
# Test a view
create view v1 as select f1() as f1_res from t1 order by f1_res;
create view v1 as select f1() as f1_res from t1 order by f1_res;
select * from v1;
select * from v1;
...
@@ -488,7 +488,7 @@ ShortStr1
...
@@ -488,7 +488,7 @@ ShortStr1
ShortStr1
ShortStr1
ShortStr1
ShortStr1
Warnings:
Warnings:
Warning 420
1
30 values were longer than max_sort_length. Sorting used only the first 64 bytes
Warning 420
3
30 values were longer than max_sort_length. Sorting used only the first 64 bytes
drop function f1;
drop function f1;
drop view v1;
drop view v1;
drop table t1, t2, t3;
drop table t1, t2, t3;
...
...
mysql-test/suite/vcol/r/partition.result
View file @
b7063e43
...
@@ -92,7 +92,7 @@ x left(b, 10) left(v, 10)
...
@@ -92,7 +92,7 @@ x left(b, 10) left(v, 10)
50 zzzzzzzzzz zzzzzzzzzz
50 zzzzzzzzzz zzzzzzzzzz
56 zzzzzzzzzz zzzzzzzzzz
56 zzzzzzzzzz zzzzzzzzzz
Warnings:
Warnings:
Warning 420
1
29 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
29 values were longer than max_sort_length. Sorting used only the first 1024 bytes
update t1 set b= 'bar' where v > 'a' limit 20;
update t1 set b= 'bar' where v > 'a' limit 20;
drop table t1;
drop table t1;
# Cover return_top_record() in ha_partition::handle_ordered_index_scan()
# Cover return_top_record() in ha_partition::handle_ordered_index_scan()
...
...
mysql-test/suite/versioning/r/update.result
View file @
b7063e43
...
@@ -258,7 +258,7 @@ x left(y, 4) length(y) check_row(row_start, row_end)
...
@@ -258,7 +258,7 @@ x left(y, 4) length(y) check_row(row_start, row_end)
1 LONG 8192 HISTORICAL ROW
1 LONG 8192 HISTORICAL ROW
2 LONG 8192 CURRENT ROW
2 LONG 8192 CURRENT ROW
Warnings:
Warnings:
Warning 420
1
2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
update t1 set y= 'SHORT';
update t1 set y= 'SHORT';
select x, left(y, 4), length(y), check_row(row_start, row_end) from t1 for system_time all order by x, y;
select x, left(y, 4), length(y), check_row(row_start, row_end) from t1 for system_time all order by x, y;
x left(y, 4) length(y) check_row(row_start, row_end)
x left(y, 4) length(y) check_row(row_start, row_end)
...
@@ -266,7 +266,7 @@ x left(y, 4) length(y) check_row(row_start, row_end)
...
@@ -266,7 +266,7 @@ x left(y, 4) length(y) check_row(row_start, row_end)
2 LONG 8192 HISTORICAL ROW
2 LONG 8192 HISTORICAL ROW
2 SHOR 5 CURRENT ROW
2 SHOR 5 CURRENT ROW
Warnings:
Warnings:
Warning 420
1
2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
Warning 420
3
2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
drop tables t1;
drop tables t1;
### Issue tempesta-tech/mariadb#365, bug 7 (duplicate of historical row)
### Issue tempesta-tech/mariadb#365, bug 7 (duplicate of historical row)
create or replace table t1 (a int primary key, b int)
create or replace table t1 (a int primary key, b int)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment