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
Expand all
Hide 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
(REPEAT(0x1125,200000), REPEAT(0x1125,200000)), ('', ''), ('', '');
SELECT a FROM t1 GROUP BY 1 LIMIT 1 INTO @nullll;
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;
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;
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;
SUBSTRING(a,1,10) LENGTH(a) GROUP_CONCAT(b)
1111111111 1300 one,two
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
SELECT SUBSTRING(a,1,10), LENGTH(a) FROM t1 GROUP BY a;
id 1
...
...
@@ -1936,7 +1936,7 @@ SELECT SUBSTRING(a,1,10), LENGTH(a) FROM t1 GROUP BY a;
SUBSTRING(a,1,10) LENGTH(a)
1111111111 1300
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;
#
# Bug#57688 Assertion `!table || (!table->write_set || bitmap_is_set(table->write_set, field
...
...
@@ -2733,7 +2733,7 @@ f1 f2
NULL
NULL NULL
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;
DROP TABLE t1;
#
...
...
mysql-test/main/order_by.result
View file @
b7063e43
...
...
@@ -860,7 +860,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxab
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxaa
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxz
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;
create table t1 (
`sid` decimal(8,0) default null,
...
...
@@ -4125,7 +4125,7 @@ a substr(b, @save_max_sort_length+1)
2 AB
1 A
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
select a, substr(b, @save_max_sort_length+1) from t1 order by b desc;
ANALYZE
...
...
@@ -4172,7 +4172,7 @@ ANALYZE
}
}
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;
#
# Packing sort keys with complex collations
...
...
mysql-test/main/query_cache.result
View file @
b7063e43
...
...
@@ -835,7 +835,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxw
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxy
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;
select c from t1 order by c, id;
c
...
...
mysql-test/main/subselect_mat.result
View file @
b7063e43
...
...
@@ -899,7 +899,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 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;
explain extended select left(a1,7), left(a2,7)
from t1_1024
...
...
@@ -917,7 +917,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 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;
set @blob_len = 1025;
set @suffix_len = @blob_len - @prefix_len;
...
...
@@ -1002,7 +1002,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 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;
explain extended select left(a1,7), left(a2,7)
from t1_1025
...
...
@@ -1020,7 +1020,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 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;
create table t1bit (a1 bit(3), a2 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:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 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;
explain extended select left(a1,7), left(a2,7)
from t1_1024
...
...
@@ -938,7 +938,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 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;
set @blob_len = 1025;
set @suffix_len = @blob_len - @prefix_len;
...
...
@@ -1024,7 +1024,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 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;
explain extended select left(a1,7), left(a2,7)
from t1_1025
...
...
@@ -1043,7 +1043,7 @@ Warnings:
Warning 1260 Row 1 was cut by group_concat()
Warning 1260 Row 2 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;
create table t1bit (a1 bit(3), a2 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)
1
0
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;
CREATE TABLE worklog5743 (
col_1_text TEXT(4000) , col_2_text TEXT(4000) ,
...
...
mysql-test/suite/sys_vars/r/max_sort_length_func.result
View file @
b7063e43
This diff is collapsed.
Click to expand it.
mysql-test/suite/vcol/r/partition.result
View file @
b7063e43
...
...
@@ -92,7 +92,7 @@ x left(b, 10) left(v, 10)
50 zzzzzzzzzz zzzzzzzzzz
56 zzzzzzzzzz zzzzzzzzzz
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;
drop table t1;
# 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)
1 LONG 8192 HISTORICAL ROW
2 LONG 8192 CURRENT ROW
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';
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)
...
...
@@ -266,7 +266,7 @@ x left(y, 4) length(y) check_row(row_start, row_end)
2 LONG 8192 HISTORICAL ROW
2 SHOR 5 CURRENT ROW
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;
### Issue tempesta-tech/mariadb#365, bug 7 (duplicate of historical row)
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