1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

mysqltest: fix --sorted_results

only sort actual results not warnings or metadata
also work for vertical results
warnings are sorted separately
This commit is contained in:
Sergei Golubchik
2025-01-07 21:38:11 +01:00
parent 9b941dc51f
commit a0e5dd5433
10 changed files with 90 additions and 159 deletions

View File

@@ -52,10 +52,10 @@ affected rows: 1
# Do not display the column value itself, just its length.
#
SELECT LENGTH(c1) FROM t1;
LENGTH(c1) 67108864
LENGTH(c1) 33554432
LENGTH(c1) 4194304
LENGTH(c1) 524288
LENGTH(c1) 67108864
affected rows: 4
#
# Grow the rows by updating.
@@ -68,8 +68,8 @@ info: Rows matched: 4 Changed: 4 Warnings: 0
# Do not display the column value itself, just its length.
#
SELECT LENGTH(c1) FROM t1;
LENGTH(c1) 134217728
LENGTH(c1) 1048576
LENGTH(c1) 134217728
LENGTH(c1) 67108864
LENGTH(c1) 8388608
affected rows: 4