Skip to content

Commit 805e7ca

Browse files
committed
fix incorrect merge 15700f5
error messages in 11.8 should have same numbers as in 11.4
1 parent 76b54a2 commit 805e7ca

19 files changed

+99
-99
lines changed

mysql-test/main/ctype_gbk.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,10 +681,10 @@ INSERT INTO t1 VALUES
681681
(REPEAT(0x1125,200000), REPEAT(0x1125,200000)), ('', ''), ('', '');
682682
SELECT a FROM t1 GROUP BY 1 LIMIT 1 INTO @nullll;
683683
Warnings:
684-
Warning 4203 1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
684+
Warning 4202 1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
685685
SELECT b FROM t1 GROUP BY 1 LIMIT 1 INTO @nullll;
686686
Warnings:
687-
Warning 4203 1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
687+
Warning 4202 1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
688688
DROP TABLES t1;
689689
End of 5.0 tests
690690
#

mysql-test/main/group_by.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ SELECT SUBSTRING(a,1,10), LENGTH(a), GROUP_CONCAT(b) FROM t1 GROUP BY a;
19191919
SUBSTRING(a,1,10) LENGTH(a) GROUP_CONCAT(b)
19201920
1111111111 1300 one,two
19211921
Warnings:
1922-
Warning 4203 2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
1922+
Warning 4202 2 values were longer than max_sort_length. Sorting used only the first 1024 bytes
19231923
EXPLAIN
19241924
SELECT SUBSTRING(a,1,10), LENGTH(a) FROM t1 GROUP BY a;
19251925
id 1
@@ -1936,7 +1936,7 @@ SELECT SUBSTRING(a,1,10), LENGTH(a) FROM t1 GROUP BY a;
19361936
SUBSTRING(a,1,10) LENGTH(a)
19371937
1111111111 1300
19381938
Warnings:
1939-
Warning 4203 1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
1939+
Warning 4202 1 values were longer than max_sort_length. Sorting used only the first 1024 bytes
19401940
DROP TABLE t1;
19411941
#
19421942
# Bug#57688 Assertion `!table || (!table->write_set || bitmap_is_set(table->write_set, field
@@ -2733,7 +2733,7 @@ f1 f2
27332733
NULL
27342734
NULL NULL
27352735
Warnings:
2736-
Warning 4203 116 values were longer than max_sort_length. Sorting used only the first 1024 bytes
2736+
Warning 4202 116 values were longer than max_sort_length. Sorting used only the first 1024 bytes
27372737
SET @@sort_buffer_size = @old_sort_buff_size;
27382738
DROP TABLE t1;
27392739
#

mysql-test/main/mysql_tzinfo_to_sql_symlink.result

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ execute immediate if(@wsrep_cannot_replicate_tz, concat('ALTER TABLE time_zone_t
105105
execute immediate if(@wsrep_cannot_replicate_tz, concat('ALTER TABLE time_zone_transition_type ENGINE=', @time_zone_transition_type_engine, ', ORDER BY Time_zone_id, Transition_type_id'), 'do 0');
106106
SET session alter_algorithm=@old_alter_alg;
107107
Warnings:
108-
Warning 4201 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
108+
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
109109
Warnings:
110-
Warning 4201 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
110+
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
111111
SELECT COUNT(*) FROM time_zone;
112112
COUNT(*)
113113
2
@@ -166,9 +166,9 @@ SET SESSION SQL_LOG_BIN=@save_sql_log_bin;
166166
execute immediate if(@wsrep_is_on, 'SET SESSION WSREP_ON=@save_wsrep_on', 'do 0');
167167
SET session alter_algorithm=@old_alter_alg;
168168
Warnings:
169-
Warning 4201 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
169+
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
170170
Warnings:
171-
Warning 4201 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
171+
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
172172
SELECT COUNT(*) FROM time_zone;
173173
COUNT(*)
174174
2
@@ -490,9 +490,9 @@ execute immediate if(@wsrep_is_on, 'SET SESSION WSREP_ON=@save_wsrep_on', 'do 0'
490490
#
491491
set sql_mode=only_full_group_by;
492492
Warnings:
493-
Warning 4201 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
493+
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
494494
Warnings:
495-
Warning 4201 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
495+
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
496496
SELECT COUNT(*) FROM time_zone;
497497
COUNT(*)
498498
2

mysql-test/main/order_by.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxab
860860
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxaa
861861
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxz
862862
Warnings:
863-
Warning 4203 2 values were longer than max_sort_length. Sorting used only the first 64 bytes
863+
Warning 4202 2 values were longer than max_sort_length. Sorting used only the first 64 bytes
864864
drop table t1;
865865
create table t1 (
866866
`sid` decimal(8,0) default null,
@@ -4125,7 +4125,7 @@ a substr(b, @save_max_sort_length+1)
41254125
2 AB
41264126
1 A
41274127
Warnings:
4128-
Warning 4203 5 values were longer than max_sort_length. Sorting used only the first 1024 bytes
4128+
Warning 4202 5 values were longer than max_sort_length. Sorting used only the first 1024 bytes
41294129
analyze format=json
41304130
select a, substr(b, @save_max_sort_length+1) from t1 order by b desc;
41314131
ANALYZE
@@ -4172,7 +4172,7 @@ ANALYZE
41724172
}
41734173
}
41744174
Warnings:
4175-
Warning 4203 5 values were longer than max_sort_length. Sorting used only the first 1024 bytes
4175+
Warning 4202 5 values were longer than max_sort_length. Sorting used only the first 1024 bytes
41764176
drop table t1;
41774177
#
41784178
# Packing sort keys with complex collations

mysql-test/main/query_cache.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
831831
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxw
832832
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxy
833833
Warnings:
834-
Warning 4203 3 values were longer than max_sort_length. Sorting used only the first 64 bytes
834+
Warning 4202 3 values were longer than max_sort_length. Sorting used only the first 64 bytes
835835
set max_sort_length=200;
836836
select c from t1 order by c, id;
837837
c

mysql-test/main/repair.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,16 +287,16 @@ COMMAND_LINE_ARGUMENT OPTIONAL
287287
GLOBAL_VALUE_PATH NULL
288288
set alter_algorithm=COPY;
289289
Warnings:
290-
Warning 4201 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
290+
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
291291
select @@alter_algorithm;
292292
@@alter_algorithm
293293
DEFAULT
294294
set statement alter_algorithm=COPY FOR SELECT @@alter_algorithm;
295295
@@alter_algorithm
296296
DEFAULT
297297
Warnings:
298-
Warning 4201 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
299-
Warning 4201 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
298+
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
299+
Warning 4200 The variable '@@alter_algorithm' is ignored. It only exists for compatibility with old installations and will be removed in a future release
300300
# restart: --alter-algorithm=COPY
301301
select @@alter_algorithm;
302302
@@alter_algorithm

mysql-test/main/secondary_key_costs.result

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ explain select * from t1 where nm like '500%' AND fl2 = 0;
2929
id select_type table type possible_keys key key_len ref rows Extra
3030
1 SIMPLE t1 range idx1,idx2 idx1 35 NULL 1 Using index condition; Using where
3131
Warnings:
32-
Warning 4201 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
33-
Warning 4201 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
32+
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
33+
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
3434
set @trace=(select trace from information_schema.optimizer_trace);
3535
select json_detailed(json_extract(@trace, '$**.considered_access_paths'));
3636
json_detailed(json_extract(@trace, '$**.considered_access_paths'))
@@ -97,8 +97,8 @@ explain select * from t1 where nm like '500%' AND fl2 = 0;
9797
id select_type table type possible_keys key key_len ref rows Extra
9898
1 SIMPLE t1 range idx1,idx2 idx1 35 NULL 1 Using index condition; Using where
9999
Warnings:
100-
Warning 4201 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
101-
Warning 4201 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
100+
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
101+
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
102102
set @trace=(select trace from information_schema.optimizer_trace);
103103
select json_detailed(json_extract(@trace, '$**.considered_access_paths'));
104104
json_detailed(json_extract(@trace, '$**.considered_access_paths'))
@@ -163,14 +163,14 @@ select @@optimizer_adjust_secondary_key_costs;
163163
0
164164
set @@optimizer_adjust_secondary_key_costs=7;
165165
Warnings:
166-
Warning 4201 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
166+
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
167167
Warning 1292 Truncated incorrect optimizer_adjust_secondary_ke... value: '7'
168168
select @@optimizer_adjust_secondary_key_costs;
169169
@@optimizer_adjust_secondary_key_costs
170170
2
171171
set @@optimizer_adjust_secondary_key_costs=default;
172172
Warnings:
173-
Warning 4201 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
173+
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
174174
#
175175
# MDEV-34664: fix_innodb_cardinality
176176
#
@@ -201,7 +201,7 @@ id select_type table type possible_keys key key_len ref rows Extra
201201
1 SIMPLE t1 ref b b 5 test.t2.a 90 Using index
202202
set @@optimizer_adjust_secondary_key_costs=8;
203203
Warnings:
204-
Warning 4201 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
204+
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
205205
Warning 1292 Truncated incorrect optimizer_adjust_secondary_ke... value: '8'
206206
explain select * from t1,t2 where t1.b=t2.a;
207207
id select_type table type possible_keys key key_len ref rows Extra
@@ -238,4 +238,4 @@ set global userstat=@save_userstat;
238238
set global innodb_stats_persistent_sample_pages=@save_ispsp;
239239
set @@optimizer_adjust_secondary_key_costs=default;
240240
Warnings:
241-
Warning 4201 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release
241+
Warning 4200 The variable '@@optimizer_adjust_secondary_key_costs' is ignored. It only exists for compatibility with old installations and will be removed in a future release

mysql-test/main/subselect_mat.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ Warnings:
899899
Warning 1260 Row 1 was cut by group_concat()
900900
Warning 1260 Row 2 was cut by group_concat()
901901
Warning 1260 Row 3 was cut by group_concat()
902-
Warning 4203 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
902+
Warning 4202 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
903903
set @@group_concat_max_len = 256;
904904
explain extended select left(a1,7), left(a2,7)
905905
from t1_1024
@@ -917,7 +917,7 @@ Warnings:
917917
Warning 1260 Row 1 was cut by group_concat()
918918
Warning 1260 Row 2 was cut by group_concat()
919919
Warning 1260 Row 3 was cut by group_concat()
920-
Warning 4203 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
920+
Warning 4202 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
921921
drop table t1_1024, t2_1024, t3_1024;
922922
set @blob_len = 1025;
923923
set @suffix_len = @blob_len - @prefix_len;
@@ -1002,7 +1002,7 @@ Warnings:
10021002
Warning 1260 Row 1 was cut by group_concat()
10031003
Warning 1260 Row 2 was cut by group_concat()
10041004
Warning 1260 Row 3 was cut by group_concat()
1005-
Warning 4203 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
1005+
Warning 4202 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
10061006
set @@group_concat_max_len = 256;
10071007
explain extended select left(a1,7), left(a2,7)
10081008
from t1_1025
@@ -1020,7 +1020,7 @@ Warnings:
10201020
Warning 1260 Row 1 was cut by group_concat()
10211021
Warning 1260 Row 2 was cut by group_concat()
10221022
Warning 1260 Row 3 was cut by group_concat()
1023-
Warning 4203 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
1023+
Warning 4202 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
10241024
drop table t1_1025, t2_1025, t3_1025;
10251025
create table t1bit (a1 bit(3), a2 bit(3));
10261026
create table t2bit (b1 bit(3), b2 bit(3));

mysql-test/main/subselect_sj_mat.result

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ Warnings:
919919
Warning 1260 Row 1 was cut by group_concat()
920920
Warning 1260 Row 2 was cut by group_concat()
921921
Warning 1260 Row 3 was cut by group_concat()
922-
Warning 4203 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
922+
Warning 4202 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
923923
set @@group_concat_max_len = 256;
924924
explain extended select left(a1,7), left(a2,7)
925925
from t1_1024
@@ -938,7 +938,7 @@ Warnings:
938938
Warning 1260 Row 1 was cut by group_concat()
939939
Warning 1260 Row 2 was cut by group_concat()
940940
Warning 1260 Row 3 was cut by group_concat()
941-
Warning 4203 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
941+
Warning 4202 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
942942
drop table t1_1024, t2_1024, t3_1024;
943943
set @blob_len = 1025;
944944
set @suffix_len = @blob_len - @prefix_len;
@@ -1024,7 +1024,7 @@ Warnings:
10241024
Warning 1260 Row 1 was cut by group_concat()
10251025
Warning 1260 Row 2 was cut by group_concat()
10261026
Warning 1260 Row 3 was cut by group_concat()
1027-
Warning 4203 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
1027+
Warning 4202 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
10281028
set @@group_concat_max_len = 256;
10291029
explain extended select left(a1,7), left(a2,7)
10301030
from t1_1025
@@ -1043,7 +1043,7 @@ Warnings:
10431043
Warning 1260 Row 1 was cut by group_concat()
10441044
Warning 1260 Row 2 was cut by group_concat()
10451045
Warning 1260 Row 3 was cut by group_concat()
1046-
Warning 4203 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
1046+
Warning 4202 3 values were longer than max_sort_length. Sorting used only the first 1024 bytes
10471047
drop table t1_1025, t2_1025, t3_1025;
10481048
create table t1bit (a1 bit(3), a2 bit(3));
10491049
create table t2bit (b1 bit(3), b2 bit(3));

mysql-test/main/vector_funcs.result

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ select vec_totext(x'aabbcc');
1313
vec_totext(x'aabbcc')
1414
NULL
1515
Warnings:
16-
Warning 4204 Invalid binary vector format. Must use IEEE standard float representation in little-endian format. Use VEC_FromText() to generate it.
16+
Warning 4203 Invalid binary vector format. Must use IEEE standard float representation in little-endian format. Use VEC_FromText() to generate it.
1717
select vec_totext(x'0000f07f');
1818
vec_totext(x'0000f07f')
1919
[NaN]
@@ -30,60 +30,60 @@ select hex(vec_fromtext('["a"]'));
3030
hex(vec_fromtext('["a"]'))
3131
NULL
3232
Warnings:
33-
Warning 4205 Invalid vector format at offset: 4 for '["a"]'. Must be a valid JSON array of numbers.
33+
Warning 4204 Invalid vector format at offset: 4 for '["a"]'. Must be a valid JSON array of numbers.
3434
select hex(vec_fromtext('[]'));
3535
hex(vec_fromtext('[]'))
3636

3737
select hex(vec_fromtext('["a"]'));
3838
hex(vec_fromtext('["a"]'))
3939
NULL
4040
Warnings:
41-
Warning 4205 Invalid vector format at offset: 4 for '["a"]'. Must be a valid JSON array of numbers.
41+
Warning 4204 Invalid vector format at offset: 4 for '["a"]'. Must be a valid JSON array of numbers.
4242
select hex(vec_fromtext('[{"a": "b"}]'));
4343
hex(vec_fromtext('[{"a": "b"}]'))
4444
NULL
4545
Warnings:
46-
Warning 4205 Invalid vector format at offset: 2 for '[{"a": "b"}]'. Must be a valid JSON array of numbers.
46+
Warning 4204 Invalid vector format at offset: 2 for '[{"a": "b"}]'. Must be a valid JSON array of numbers.
4747
select hex(vec_fromtext('[null]'));
4848
hex(vec_fromtext('[null]'))
4949
NULL
5050
Warnings:
51-
Warning 4205 Invalid vector format at offset: 5 for '[null]'. Must be a valid JSON array of numbers.
51+
Warning 4204 Invalid vector format at offset: 5 for '[null]'. Must be a valid JSON array of numbers.
5252
select hex(vec_fromtext('[1, null]'));
5353
hex(vec_fromtext('[1, null]'))
5454
NULL
5555
Warnings:
56-
Warning 4205 Invalid vector format at offset: 8 for '[1, null]'. Must be a valid JSON array of numbers.
56+
Warning 4204 Invalid vector format at offset: 8 for '[1, null]'. Must be a valid JSON array of numbers.
5757
select hex(vec_fromtext('[1, ["a"]]'));
5858
hex(vec_fromtext('[1, ["a"]]'))
5959
NULL
6060
Warnings:
61-
Warning 4205 Invalid vector format at offset: 5 for '[1, ["a"]]'. Must be a valid JSON array of numbers.
61+
Warning 4204 Invalid vector format at offset: 5 for '[1, ["a"]]'. Must be a valid JSON array of numbers.
6262
select hex(vec_fromtext('[1, [2]]'));
6363
hex(vec_fromtext('[1, [2]]'))
6464
NULL
6565
Warnings:
66-
Warning 4205 Invalid vector format at offset: 5 for '[1, [2]]'. Must be a valid JSON array of numbers.
66+
Warning 4204 Invalid vector format at offset: 5 for '[1, [2]]'. Must be a valid JSON array of numbers.
6767
select hex(vec_fromtext('{"a":"b"}'));
6868
hex(vec_fromtext('{"a":"b"}'))
6969
NULL
7070
Warnings:
71-
Warning 4205 Invalid vector format at offset: 1 for '{"a":"b"}'. Must be a valid JSON array of numbers.
71+
Warning 4204 Invalid vector format at offset: 1 for '{"a":"b"}'. Must be a valid JSON array of numbers.
7272
select hex(vec_fromtext('[1, 2, "z", 3]'));
7373
hex(vec_fromtext('[1, 2, "z", 3]'))
7474
NULL
7575
Warnings:
76-
Warning 4205 Invalid vector format at offset: 10 for '[1, 2, "z", 3]'. Must be a valid JSON array of numbers.
76+
Warning 4204 Invalid vector format at offset: 10 for '[1, 2, "z", 3]'. Must be a valid JSON array of numbers.
7777
select hex(vec_fromtext('[1, 2, 3'));
7878
hex(vec_fromtext('[1, 2, 3'))
7979
NULL
8080
Warnings:
81-
Warning 4205 Invalid vector format at offset: 8 for '[1, 2, 3'. Must be a valid JSON array of numbers.
81+
Warning 4204 Invalid vector format at offset: 8 for '[1, 2, 3'. Must be a valid JSON array of numbers.
8282
select hex(vec_fromtext('1, 2, 3]'));
8383
hex(vec_fromtext('1, 2, 3]'))
8484
NULL
8585
Warnings:
86-
Warning 4205 Invalid vector format at offset: 1 for '1, 2, 3]'. Must be a valid JSON array of numbers.
86+
Warning 4204 Invalid vector format at offset: 1 for '1, 2, 3]'. Must be a valid JSON array of numbers.
8787
select hex(vec_fromtext('[]'));
8888
hex(vec_fromtext('[]'))
8989

@@ -141,7 +141,7 @@ select vec_fromtext(v) from t;
141141
vec_fromtext(v)
142142
NULL
143143
Warnings:
144-
Warning 4205 Invalid vector format at offset: 1 for '{\0014n?'. Must be a valid JSON array of numbers.
144+
Warning 4204 Invalid vector format at offset: 1 for '{\0014n?'. Must be a valid JSON array of numbers.
145145
drop table t;
146146
select vec_fromtext(0x00000000);
147147
vec_fromtext(0x00000000)

0 commit comments

Comments
 (0)