Debian Codegraph @

mysql-test/suite/json/t/json_conversions.test

raw
1 ########### suite/json/t/json_conversions.test #
2 # Tests conversion from json data types to mysql data types #
3 # #
4 # This test copies all tests originally in json_conversions.test #
5 ######################################################################
6
7 --echo # Test of the conversion from JSON data type to MySQL types
8 --echo # ----------------------------------------------------------------------
9
10 --echo # Set up auxiliary table with possible JSON values. The idea here is to
11 --echo # enumerate all possible types of JSON values, including the different
12 --echo # opaque values we could possibly end up with. A difficulty here is that
13 --echo # it is hard create scenarios that will actually employ all possible
14 --echo # MYSQL_TYPE_* types inside opaque: partly because some are used as
15 --echo # native scalars, e.g. signed int -> JSON (signed) INTEGER, partly
16 --echo # because not all MYSQL_TYPE_* values can actually label a column, but
17 --echo # are seemingly only used in intermediate steps, e.g. BINARY and
18 --echo # VARBINARY which end up as column with CHAR and VARCHAR with binary
19 --echo # character set internally.
20
21
22 create table t(c varchar(30) not null, j json, key(c));
23
24 create table blobs(b blob); insert into blobs values(x'cafebabe');
25 create table tinyblobs(b tinyblob); insert into tinyblobs values(x'cafebabe');
26 create table mediumblobs(b mediumblob); insert into mediumblobs values(x'cafebabe');
27 create table longblobs(b longblob); insert into longblobs values(x'cafebabe');
28 create table year(y year); insert into year values('1992');
29 create table varbin(b varbinary(40)); insert into varbin values(x'cafebabe');
30 create table bin(b binary(40)); insert into varbin values(x'cafebabe');
31 create table enum(e enum('a', 'b', 'c')); insert into enum values ('b');
32 create table sett(e set('a', 'b', 'c')); insert into sett values ('b,c');
33 create table varchar_binary(c varchar(30) character set 'binary'); insert into varchar_binary values ('foo');
34
35 insert into t values ('null' ,'null');
36 insert into t values ('bool' ,'true');
37 insert into t values ('uint' ,cast(cast(12 as unsigned) as json));
38 insert into t values ('int' ,'12');
39 insert into t values ('double' ,cast(3.14E0 as json));
40 insert into t values ('stringany' ,'"a"');
41 insert into t values ('stringint' ,'"1"');
42 insert into t values ('stringdecimal' ,'"3.14"');
43 insert into t values ('object' ,'{"a": 3}');
44 insert into t values ('array' ,'[1,2]');
45 insert into t values ('opaque_mysql_type_decimal' ,cast(3.14 as json));
46 insert into t(c,j) (select
47 'opaque_mysql_type_set' ,cast(e as json) from sett);
48
49 insert into t(c,j) (select
50 'opaque_mysql_type_enum' ,cast(e as json) from enum);
51
52 insert into t values ('opaque_mysql_type_date' ,cast(cast('2015-01-15' as date) as json));
53 insert into t values ('opaque_mysql_type_time' ,cast(cast('23:24:25' as time) as json));
54 insert into t values ('opaque_mysql_type_datetime' ,cast(cast('2015-01-15 23:24:25' as datetime) as json));
55 insert into t values ('opaque_mysql_type_geom' ,cast(st_geomfromtext('point(1 1)') as json));
56
57 insert into t(c,j) (select
58 'opaque_mysql_type_bit' ,cast(x'cafe' as json));
59
60 insert into t(c,j) (select
61 'opaque_mysql_type_year' ,cast(y as json) from year);
62
63 # can't use values: stringifies blob */
64 insert into t(c,j) (select
65 'opaque_mysql_type_blob' ,cast(b as json) from blobs);
66
67 insert into t(c,j) (select
68 'opaque_mysql_type_longblob' ,cast(b as json) from longblobs);
69
70 insert into t(c,j) (select
71 'opaque_mysql_type_mediumblob' ,cast(b as json) from mediumblobs);
72
73 insert into t(c,j) (select
74 'opaque_mysql_type_tinyblob' ,cast(b as json) from tinyblobs);
75
76 # BINARY and VARBINARY are seen as VARCHAR with binary charset
77 # (opaque_mysql_type_varchar below) so just use NULL
78
79 insert into t(c,j) (select
80 'opaque_mysql_type_varbinary' ,NULL);
81
82 insert into t(c,j) (select
83 'opaque_mysql_type_binary' ,NULL);
84
85 insert into t(c,j) (select
86 'opaque_mysql_type_varchar' ,cast(c as json) from varchar_binary);
87
88 insert into t(c,j) (select
89 'opaque_mysql_type_string' ,NULL); # not used for field
90
91 insert into t values ('opaque_mysql_type_var_string' ,NULL); # not used for field
92
93 drop table blobs;
94 drop table tinyblobs;
95 drop table mediumblobs;
96 drop table longblobs;
97 drop table year;
98 drop table varbin;
99 drop table bin;
100 drop table enum;
101 drop table sett;
102 drop table varchar_binary;
103
104 select c, json_type(j), j from t;
105
106 --echo # Auxiliary table containing columns of MySQL types
107 create table at(c varchar(36),
108 _bit bit(64),
109 _tin tinyint(8),
110 _boo bool,
111 _sms smallint signed,
112 _smu smallint unsigned,
113 _mes mediumint signed,
114 _meu mediumint unsigned,
115 _ins int signed,
116 _inu int unsigned,
117 _bis bigint signed,
118 _biu bigint unsigned,
119 _dec decimal (5,2),
120 _flo float,
121 _dou double,
122 _dat date default '2000-01-01',
123 _dtt datetime default '2000-01-01 00:00:00',
124 _smp timestamp default '2000-01-01 00:00:00',
125 _tim time default' 00:00:00',
126 _yea year,
127 _jsn json,
128 _chr char(255),
129 _vch varchar(255),
130 _bin binary(255),
131 _vbn varbinary(255),
132 _tbl tinyblob,
133 _ttx tinytext,
134 _blb blob,
135 _txt text,
136 _mbb mediumblob,
137 _mtx mediumtext,
138 _lbb longblob,
139 _ltx longtext,
140 _enu enum('a', 'b', 'c'),
141 _set set('a', 'b', 'c'),
142 _geo geometry,
143 _pnt point,
144 _lst linestring,
145 _pol polygon,
146 _mpt multipoint,
147 _mls multilinestring,
148 _mpy multipolygon,
149 _gco geometrycollection);
150
151 --echo # ----------------------------------------------------------------------
152 --echo # I N S E R T F R O M J S O N C O L U M N
153 --echo # ----------------------------------------------------------------------
154 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='null';
155 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='bool';
156 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='uint';
157 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='int';
158 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='double';
159 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='stringany';
160 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='stringint';
161 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='stringdecimal';
162 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='object';
163 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='array';
164 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_decimal';
165 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_set';
166 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_enum';
167 --error ER_DATA_TOO_LONG
168 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_date';
169 --error ER_DATA_TOO_LONG
170 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_time';
171 --error ER_DATA_TOO_LONG
172 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_datetime';
173 --error ER_DATA_TOO_LONG
174 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_geom';
175 --error ER_DATA_TOO_LONG
176 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_bit';
177 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_year';
178 --error ER_DATA_TOO_LONG
179 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_blob';
180 --error ER_DATA_TOO_LONG
181 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_longblob';
182 --error ER_DATA_TOO_LONG
183 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_mediumblob';
184 --error ER_DATA_TOO_LONG
185 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_tinyblob';
186 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_varbinary';
187 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_binary';
188 --error ER_DATA_TOO_LONG
189 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_varchar';
190 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_string';
191 insert into at(c,_bit) select concat('_bit: ',c),j from t where c='opaque_mysql_type_var_string';
192
193 --error ER_INVALID_JSON_VALUE_FOR_CAST
194 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='null';
195 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='bool';
196 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='uint';
197 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='int';
198 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='double';
199 --error ER_INVALID_JSON_VALUE_FOR_CAST
200 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='stringany';
201 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='stringint';
202 --error ER_INVALID_JSON_VALUE_FOR_CAST
203 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='stringdecimal'; # needs cast(j as decimal)
204 --error ER_INVALID_JSON_VALUE_FOR_CAST
205 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='object';
206 --error ER_INVALID_JSON_VALUE_FOR_CAST
207 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='array';
208 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_decimal';
209 --error ER_INVALID_JSON_VALUE_FOR_CAST
210 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_set';
211 --error ER_INVALID_JSON_VALUE_FOR_CAST
212 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_enum';
213 --error ER_INVALID_JSON_VALUE_FOR_CAST
214 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_date';
215 --error ER_INVALID_JSON_VALUE_FOR_CAST
216 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_time';
217 --error ER_INVALID_JSON_VALUE_FOR_CAST
218 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_datetime';
219 --error ER_INVALID_JSON_VALUE_FOR_CAST
220 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_geom';
221 --error ER_INVALID_JSON_VALUE_FOR_CAST
222 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_bit';
223 --error ER_WARN_DATA_OUT_OF_RANGE
224 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_year';
225 --error ER_INVALID_JSON_VALUE_FOR_CAST
226 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_blob';
227 --error ER_INVALID_JSON_VALUE_FOR_CAST
228 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_longblob';
229 --error ER_INVALID_JSON_VALUE_FOR_CAST
230 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_mediumblob';
231 --error ER_INVALID_JSON_VALUE_FOR_CAST
232 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_tinyblob';
233 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_varbinary';
234 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_binary';
235 --error ER_INVALID_JSON_VALUE_FOR_CAST
236 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_varchar';
237 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_string';
238 insert into at(c,_tin) select concat('_tin: ',c),j from t where c='opaque_mysql_type_var_string';
239
240 --error ER_INVALID_JSON_VALUE_FOR_CAST
241 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='null';
242 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='bool';
243 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='uint';
244 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='int';
245 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='double';
246 --error ER_INVALID_JSON_VALUE_FOR_CAST
247 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='stringany';
248 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='stringint';
249 --error ER_INVALID_JSON_VALUE_FOR_CAST
250 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='stringdecimal';
251 --error ER_INVALID_JSON_VALUE_FOR_CAST
252 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='object';
253 --error ER_INVALID_JSON_VALUE_FOR_CAST
254 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='array';
255 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_decimal';
256 --error ER_INVALID_JSON_VALUE_FOR_CAST
257 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_set';
258 --error ER_INVALID_JSON_VALUE_FOR_CAST
259 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_enum';
260 --error ER_INVALID_JSON_VALUE_FOR_CAST
261 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_date';
262 --error ER_INVALID_JSON_VALUE_FOR_CAST
263 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_time';
264 --error ER_INVALID_JSON_VALUE_FOR_CAST
265 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_datetime';
266 --error ER_INVALID_JSON_VALUE_FOR_CAST
267 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_geom';
268 --error ER_INVALID_JSON_VALUE_FOR_CAST
269 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_bit';
270 --error ER_WARN_DATA_OUT_OF_RANGE
271 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_year';
272 --error ER_INVALID_JSON_VALUE_FOR_CAST
273 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_blob';
274 --error ER_INVALID_JSON_VALUE_FOR_CAST
275 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_longblob';
276 --error ER_INVALID_JSON_VALUE_FOR_CAST
277 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_mediumblob';
278 --error ER_INVALID_JSON_VALUE_FOR_CAST
279 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_tinyblob';
280 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_varbinary';
281 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_binary';
282 --error ER_INVALID_JSON_VALUE_FOR_CAST
283 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_varchar';
284 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_string';
285 insert into at(c,_boo) select concat('_boo: ',c),j from t where c='opaque_mysql_type_var_string';
286
287 --error ER_INVALID_JSON_VALUE_FOR_CAST
288 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='null';
289 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='bool';
290 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='uint';
291 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='int';
292 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='double';
293 --error ER_INVALID_JSON_VALUE_FOR_CAST
294 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='stringany';
295 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='stringint';
296 --error ER_INVALID_JSON_VALUE_FOR_CAST
297 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='stringdecimal';
298 --error ER_INVALID_JSON_VALUE_FOR_CAST
299 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='object';
300 --error ER_INVALID_JSON_VALUE_FOR_CAST
301 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='array';
302 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_decimal';
303 --error ER_INVALID_JSON_VALUE_FOR_CAST
304 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_set';
305 --error ER_INVALID_JSON_VALUE_FOR_CAST
306 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_enum';
307 --error ER_INVALID_JSON_VALUE_FOR_CAST
308 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_date';
309 --error ER_INVALID_JSON_VALUE_FOR_CAST
310 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_time';
311 --error ER_INVALID_JSON_VALUE_FOR_CAST
312 --error ER_INVALID_JSON_VALUE_FOR_CAST
313 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_datetime';
314 --error ER_INVALID_JSON_VALUE_FOR_CAST
315 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_geom';
316 --error ER_INVALID_JSON_VALUE_FOR_CAST
317 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_bit';
318 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_year';
319 --error ER_INVALID_JSON_VALUE_FOR_CAST
320 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_blob';
321 --error ER_INVALID_JSON_VALUE_FOR_CAST
322 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_longblob';
323 --error ER_INVALID_JSON_VALUE_FOR_CAST
324 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_mediumblob';
325 --error ER_INVALID_JSON_VALUE_FOR_CAST
326 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_tinyblob';
327 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_varbinary';
328 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_binary';
329 --error ER_INVALID_JSON_VALUE_FOR_CAST
330 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_varchar';
331 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_string';
332 insert into at(c,_sms) select concat('_sms: ',c),j from t where c='opaque_mysql_type_var_string';
333
334 --error ER_INVALID_JSON_VALUE_FOR_CAST
335 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='null';
336 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='bool';
337 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='uint';
338 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='int';
339 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='double';
340 --error ER_INVALID_JSON_VALUE_FOR_CAST
341 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='stringany';
342 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='stringint';
343 --error ER_INVALID_JSON_VALUE_FOR_CAST
344 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='stringdecimal';
345 --error ER_INVALID_JSON_VALUE_FOR_CAST
346 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='object';
347 --error ER_INVALID_JSON_VALUE_FOR_CAST
348 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='array';
349 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_decimal';
350 --error ER_INVALID_JSON_VALUE_FOR_CAST
351 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_set';
352 --error ER_INVALID_JSON_VALUE_FOR_CAST
353 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_enum';
354 --error ER_INVALID_JSON_VALUE_FOR_CAST
355 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_date';
356 --error ER_INVALID_JSON_VALUE_FOR_CAST
357 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_time';
358 --error ER_INVALID_JSON_VALUE_FOR_CAST
359 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_datetime';
360 --error ER_INVALID_JSON_VALUE_FOR_CAST
361 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_geom';
362 --error ER_INVALID_JSON_VALUE_FOR_CAST
363 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_bit';
364 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_year';
365 --error ER_INVALID_JSON_VALUE_FOR_CAST
366 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_blob';
367 --error ER_INVALID_JSON_VALUE_FOR_CAST
368 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_longblob';
369 --error ER_INVALID_JSON_VALUE_FOR_CAST
370 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_mediumblob';
371 --error ER_INVALID_JSON_VALUE_FOR_CAST
372 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_tinyblob';
373 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_varbinary';
374 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_binary';
375 --error ER_INVALID_JSON_VALUE_FOR_CAST
376 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_varchar';
377 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_string';
378 insert into at(c,_smu) select concat('_smu: ',c),j from t where c='opaque_mysql_type_var_string';
379
380 --error ER_INVALID_JSON_VALUE_FOR_CAST
381 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='null';
382 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='bool';
383 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='uint';
384 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='int';
385 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='double';
386 --error ER_INVALID_JSON_VALUE_FOR_CAST
387 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='stringany';
388 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='stringint';
389 --error ER_INVALID_JSON_VALUE_FOR_CAST
390 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='stringdecimal';
391 --error ER_INVALID_JSON_VALUE_FOR_CAST
392 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='object';
393 --error ER_INVALID_JSON_VALUE_FOR_CAST
394 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='array';
395 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_decimal';
396 --error ER_INVALID_JSON_VALUE_FOR_CAST
397 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_set';
398 --error ER_INVALID_JSON_VALUE_FOR_CAST
399 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_enum';
400 --error ER_INVALID_JSON_VALUE_FOR_CAST
401 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_date';
402 --error ER_INVALID_JSON_VALUE_FOR_CAST
403 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_time';
404 --error ER_INVALID_JSON_VALUE_FOR_CAST
405 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_datetime';
406 --error ER_INVALID_JSON_VALUE_FOR_CAST
407 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_geom';
408 --error ER_INVALID_JSON_VALUE_FOR_CAST
409 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_bit';
410 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_year';
411 --error ER_INVALID_JSON_VALUE_FOR_CAST
412 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_blob';
413 --error ER_INVALID_JSON_VALUE_FOR_CAST
414 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_longblob';
415 --error ER_INVALID_JSON_VALUE_FOR_CAST
416 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_mediumblob';
417 --error ER_INVALID_JSON_VALUE_FOR_CAST
418 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_tinyblob';
419 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_varbinary';
420 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_binary';
421 --error ER_INVALID_JSON_VALUE_FOR_CAST
422 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_varchar';
423 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_string';
424 insert into at(c,_mes) select concat('_mes: ',c),j from t where c='opaque_mysql_type_var_string';
425
426 --error ER_INVALID_JSON_VALUE_FOR_CAST
427 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='null';
428 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='bool';
429 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='uint';
430 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='int';
431 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='double';
432 --error ER_INVALID_JSON_VALUE_FOR_CAST
433 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='stringany';
434 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='stringint';
435 --error ER_INVALID_JSON_VALUE_FOR_CAST
436 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='stringdecimal';
437 --error ER_INVALID_JSON_VALUE_FOR_CAST
438 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='object';
439 --error ER_INVALID_JSON_VALUE_FOR_CAST
440 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='array';
441 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_decimal';
442 --error ER_INVALID_JSON_VALUE_FOR_CAST
443 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_set';
444 --error ER_INVALID_JSON_VALUE_FOR_CAST
445 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_enum';
446 --error ER_INVALID_JSON_VALUE_FOR_CAST
447 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_date';
448 --error ER_INVALID_JSON_VALUE_FOR_CAST
449 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_time';
450 --error ER_INVALID_JSON_VALUE_FOR_CAST
451 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_datetime';
452 --error ER_INVALID_JSON_VALUE_FOR_CAST
453 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_geom';
454 --error ER_INVALID_JSON_VALUE_FOR_CAST
455 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_bit';
456 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_year';
457 --error ER_INVALID_JSON_VALUE_FOR_CAST
458 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_blob';
459 --error ER_INVALID_JSON_VALUE_FOR_CAST
460 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_longblob';
461 --error ER_INVALID_JSON_VALUE_FOR_CAST
462 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_mediumblob';
463 --error ER_INVALID_JSON_VALUE_FOR_CAST
464 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_tinyblob';
465 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_varbinary';
466 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_binary';
467 --error ER_INVALID_JSON_VALUE_FOR_CAST
468 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_varchar';
469 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_string';
470 insert into at(c,_meu) select concat('_meu: ',c),j from t where c='opaque_mysql_type_var_string';
471
472 --error ER_INVALID_JSON_VALUE_FOR_CAST
473 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='null';
474 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='bool';
475 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='uint';
476 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='int';
477 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='double';
478 --error ER_INVALID_JSON_VALUE_FOR_CAST
479 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='stringany';
480 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='stringint';
481 --error ER_INVALID_JSON_VALUE_FOR_CAST
482 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='stringdecimal';
483 --error ER_INVALID_JSON_VALUE_FOR_CAST
484 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='object';
485 --error ER_INVALID_JSON_VALUE_FOR_CAST
486 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='array';
487 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_decimal';
488 --error ER_INVALID_JSON_VALUE_FOR_CAST
489 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_set';
490 --error ER_INVALID_JSON_VALUE_FOR_CAST
491 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_enum';
492 --error ER_INVALID_JSON_VALUE_FOR_CAST
493 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_date';
494 --error ER_INVALID_JSON_VALUE_FOR_CAST
495 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_time';
496 --error ER_INVALID_JSON_VALUE_FOR_CAST
497 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_datetime';
498 --error ER_INVALID_JSON_VALUE_FOR_CAST
499 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_geom';
500 --error ER_INVALID_JSON_VALUE_FOR_CAST
501 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_bit';
502 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_year';
503 --error ER_INVALID_JSON_VALUE_FOR_CAST
504 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_blob';
505 --error ER_INVALID_JSON_VALUE_FOR_CAST
506 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_longblob';
507 --error ER_INVALID_JSON_VALUE_FOR_CAST
508 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_mediumblob';
509 --error ER_INVALID_JSON_VALUE_FOR_CAST
510 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_tinyblob';
511 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_varbinary';
512 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_binary';
513 --error ER_INVALID_JSON_VALUE_FOR_CAST
514 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_varchar';
515 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_string';
516 insert into at(c,_ins) select concat('_ins: ',c),j from t where c='opaque_mysql_type_var_string';
517
518 --error ER_INVALID_JSON_VALUE_FOR_CAST
519 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='null';
520 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='bool';
521 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='uint';
522 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='int';
523 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='double';
524 --error ER_INVALID_JSON_VALUE_FOR_CAST
525 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='stringany';
526 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='stringint';
527 --error ER_INVALID_JSON_VALUE_FOR_CAST
528 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='stringdecimal';
529 --error ER_INVALID_JSON_VALUE_FOR_CAST
530 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='object';
531 --error ER_INVALID_JSON_VALUE_FOR_CAST
532 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='array';
533 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_decimal';
534 --error ER_INVALID_JSON_VALUE_FOR_CAST
535 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_set';
536 --error ER_INVALID_JSON_VALUE_FOR_CAST
537 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_enum';
538 --error ER_INVALID_JSON_VALUE_FOR_CAST
539 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_date';
540 --error ER_INVALID_JSON_VALUE_FOR_CAST
541 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_time';
542 --error ER_INVALID_JSON_VALUE_FOR_CAST
543 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_datetime';
544 --error ER_INVALID_JSON_VALUE_FOR_CAST
545 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_geom';
546 --error ER_INVALID_JSON_VALUE_FOR_CAST
547 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_bit';
548 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_year';
549 --error ER_INVALID_JSON_VALUE_FOR_CAST
550 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_blob';
551 --error ER_INVALID_JSON_VALUE_FOR_CAST
552 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_longblob';
553 --error ER_INVALID_JSON_VALUE_FOR_CAST
554 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_mediumblob';
555 --error ER_INVALID_JSON_VALUE_FOR_CAST
556 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_tinyblob';
557 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_varbinary';
558 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_binary';
559 --error ER_INVALID_JSON_VALUE_FOR_CAST
560 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_varchar';
561 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_string';
562 insert into at(c,_inu) select concat('_inu: ',c),j from t where c='opaque_mysql_type_var_string';
563
564 --error ER_INVALID_JSON_VALUE_FOR_CAST
565 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='null';
566 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='bool';
567 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='uint';
568 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='int';
569 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='double';
570 --error ER_INVALID_JSON_VALUE_FOR_CAST
571 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='stringany';
572 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='stringint';
573 --error ER_INVALID_JSON_VALUE_FOR_CAST
574 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='stringdecimal';
575 --error ER_INVALID_JSON_VALUE_FOR_CAST
576 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='object';
577 --error ER_INVALID_JSON_VALUE_FOR_CAST
578 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='array';
579 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_decimal';
580 --error ER_INVALID_JSON_VALUE_FOR_CAST
581 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_set';
582 --error ER_INVALID_JSON_VALUE_FOR_CAST
583 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_enum';
584 --error ER_INVALID_JSON_VALUE_FOR_CAST
585 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_date';
586 --error ER_INVALID_JSON_VALUE_FOR_CAST
587 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_time';
588 --error ER_INVALID_JSON_VALUE_FOR_CAST
589 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_datetime';
590 --error ER_INVALID_JSON_VALUE_FOR_CAST
591 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_geom';
592 --error ER_INVALID_JSON_VALUE_FOR_CAST
593 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_bit';
594 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_year';
595 --error ER_INVALID_JSON_VALUE_FOR_CAST
596 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_blob';
597 --error ER_INVALID_JSON_VALUE_FOR_CAST
598 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_longblob';
599 --error ER_INVALID_JSON_VALUE_FOR_CAST
600 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_mediumblob';
601 --error ER_INVALID_JSON_VALUE_FOR_CAST
602 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_tinyblob';
603 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_varbinary';
604 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_binary';
605 --error ER_INVALID_JSON_VALUE_FOR_CAST
606 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_varchar';
607 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_string';
608 insert into at(c,_bis) select concat('_bis: ',c),j from t where c='opaque_mysql_type_var_string';
609
610 --error ER_INVALID_JSON_VALUE_FOR_CAST
611 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='null';
612 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='bool';
613 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='uint';
614 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='int';
615 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='double';
616 --error ER_INVALID_JSON_VALUE_FOR_CAST
617 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='stringany';
618 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='stringint';
619 --error ER_INVALID_JSON_VALUE_FOR_CAST
620 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='stringdecimal';
621 --error ER_INVALID_JSON_VALUE_FOR_CAST
622 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='object';
623 --error ER_INVALID_JSON_VALUE_FOR_CAST
624 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='array';
625 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_decimal';
626 --error ER_INVALID_JSON_VALUE_FOR_CAST
627 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_set';
628 --error ER_INVALID_JSON_VALUE_FOR_CAST
629 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_enum';
630 --error ER_INVALID_JSON_VALUE_FOR_CAST
631 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_date';
632 --error ER_INVALID_JSON_VALUE_FOR_CAST
633 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_time';
634 --error ER_INVALID_JSON_VALUE_FOR_CAST
635 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_datetime';
636 --error ER_INVALID_JSON_VALUE_FOR_CAST
637 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_geom';
638 --error ER_INVALID_JSON_VALUE_FOR_CAST
639 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_bit';
640 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_year';
641 --error ER_INVALID_JSON_VALUE_FOR_CAST
642 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_blob';
643 --error ER_INVALID_JSON_VALUE_FOR_CAST
644 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_longblob';
645 --error ER_INVALID_JSON_VALUE_FOR_CAST
646 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_mediumblob';
647 --error ER_INVALID_JSON_VALUE_FOR_CAST
648 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_tinyblob';
649 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_varbinary';
650 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_binary';
651 --error ER_INVALID_JSON_VALUE_FOR_CAST
652 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_varchar';
653 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_string';
654 insert into at(c,_biu) select concat('_biu: ',c),j from t where c='opaque_mysql_type_var_string';
655
656 --error ER_INVALID_JSON_VALUE_FOR_CAST
657 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='null';
658 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='bool';
659 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='uint';
660 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='int';
661 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='double';
662 --error ER_INVALID_JSON_VALUE_FOR_CAST
663 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='stringany';
664 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='stringint';
665 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='stringdecimal';
666 --error ER_INVALID_JSON_VALUE_FOR_CAST
667 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='object';
668 --error ER_INVALID_JSON_VALUE_FOR_CAST
669 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='array';
670 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_decimal';
671 --error ER_INVALID_JSON_VALUE_FOR_CAST
672 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_set';
673 --error ER_INVALID_JSON_VALUE_FOR_CAST
674 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_enum';
675 --error ER_INVALID_JSON_VALUE_FOR_CAST
676 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_date';
677 --error ER_INVALID_JSON_VALUE_FOR_CAST
678 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_time';
679 --error ER_INVALID_JSON_VALUE_FOR_CAST
680 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_datetime';
681 --error ER_INVALID_JSON_VALUE_FOR_CAST
682 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_geom';
683 --error ER_INVALID_JSON_VALUE_FOR_CAST
684 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_bit';
685 --error ER_WARN_DATA_OUT_OF_RANGE
686 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_year';
687 --error ER_INVALID_JSON_VALUE_FOR_CAST
688 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_blob';
689 --error ER_INVALID_JSON_VALUE_FOR_CAST
690 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_longblob';
691 --error ER_INVALID_JSON_VALUE_FOR_CAST
692 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_mediumblob';
693 --error ER_INVALID_JSON_VALUE_FOR_CAST
694 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_tinyblob';
695 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_varbinary';
696 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_binary';
697 --error ER_INVALID_JSON_VALUE_FOR_CAST
698 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_varchar';
699 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_string';
700 insert into at(c,_dec) select concat('_dec: ',c),j from t where c='opaque_mysql_type_var_string';
701
702 --error ER_INVALID_JSON_VALUE_FOR_CAST
703 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='null';
704 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='bool';
705 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='uint';
706 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='int';
707 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='double';
708 --error ER_INVALID_JSON_VALUE_FOR_CAST
709 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='stringany';
710 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='stringint';
711 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='stringdecimal';
712 --error ER_INVALID_JSON_VALUE_FOR_CAST
713 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='object';
714 --error ER_INVALID_JSON_VALUE_FOR_CAST
715 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='array';
716 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_decimal';
717 --error ER_INVALID_JSON_VALUE_FOR_CAST
718 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_set';
719 --error ER_INVALID_JSON_VALUE_FOR_CAST
720 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_enum';
721 --error ER_INVALID_JSON_VALUE_FOR_CAST
722 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_date';
723 --error ER_INVALID_JSON_VALUE_FOR_CAST
724 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_time';
725 --error ER_INVALID_JSON_VALUE_FOR_CAST
726 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_datetime';
727 --error ER_INVALID_JSON_VALUE_FOR_CAST
728 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_geom';
729 --error ER_INVALID_JSON_VALUE_FOR_CAST
730 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_bit';
731 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_year';
732 --error ER_INVALID_JSON_VALUE_FOR_CAST
733 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_blob';
734 --error ER_INVALID_JSON_VALUE_FOR_CAST
735 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_longblob';
736 --error ER_INVALID_JSON_VALUE_FOR_CAST
737 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_mediumblob';
738 --error ER_INVALID_JSON_VALUE_FOR_CAST
739 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_tinyblob';
740 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_varbinary';
741 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_binary';
742 --error ER_INVALID_JSON_VALUE_FOR_CAST
743 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_varchar';
744 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_string';
745 insert into at(c,_flo) select concat('_flo: ',c),j from t where c='opaque_mysql_type_var_string';
746
747 --error ER_INVALID_JSON_VALUE_FOR_CAST
748 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='null';
749 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='bool';
750 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='uint';
751 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='int';
752 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='double';
753 --error ER_INVALID_JSON_VALUE_FOR_CAST
754 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='stringany';
755 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='stringint';
756 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='stringdecimal';
757 --error ER_INVALID_JSON_VALUE_FOR_CAST
758 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='object';
759 --error ER_INVALID_JSON_VALUE_FOR_CAST
760 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='array';
761 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_decimal';
762 --error ER_INVALID_JSON_VALUE_FOR_CAST
763 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_set';
764 --error ER_INVALID_JSON_VALUE_FOR_CAST
765 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_enum';
766 --error ER_INVALID_JSON_VALUE_FOR_CAST
767 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_date';
768 --error ER_INVALID_JSON_VALUE_FOR_CAST
769 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_time';
770 --error ER_INVALID_JSON_VALUE_FOR_CAST
771 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_datetime';
772 --error ER_INVALID_JSON_VALUE_FOR_CAST
773 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_geom';
774 --error ER_INVALID_JSON_VALUE_FOR_CAST
775 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_bit';
776 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_year';
777 --error ER_INVALID_JSON_VALUE_FOR_CAST
778 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_blob';
779 --error ER_INVALID_JSON_VALUE_FOR_CAST
780 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_longblob';
781 --error ER_INVALID_JSON_VALUE_FOR_CAST
782 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_mediumblob';
783 --error ER_INVALID_JSON_VALUE_FOR_CAST
784 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_tinyblob';
785 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_varbinary';
786 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_binary';
787 --error ER_INVALID_JSON_VALUE_FOR_CAST
788 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_varchar';
789 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_string';
790 insert into at(c,_dou) select concat('_dou: ',c),j from t where c='opaque_mysql_type_var_string';
791
792 --error ER_INVALID_JSON_VALUE_FOR_CAST
793 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='null';
794 --error ER_INVALID_JSON_VALUE_FOR_CAST
795 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='bool';
796 --error ER_INVALID_JSON_VALUE_FOR_CAST
797 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='uint';
798 --error ER_INVALID_JSON_VALUE_FOR_CAST
799 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='int';
800 --error ER_INVALID_JSON_VALUE_FOR_CAST
801 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='double';
802 --error ER_INVALID_JSON_VALUE_FOR_CAST
803 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='stringany';
804 --error ER_INVALID_JSON_VALUE_FOR_CAST
805 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='stringint';
806 --error ER_INVALID_JSON_VALUE_FOR_CAST
807 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='stringdecimal';
808 --error ER_INVALID_JSON_VALUE_FOR_CAST
809 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='object';
810 --error ER_INVALID_JSON_VALUE_FOR_CAST
811 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='array';
812 --error ER_INVALID_JSON_VALUE_FOR_CAST
813 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_decimal';
814 --error ER_INVALID_JSON_VALUE_FOR_CAST
815 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_set';
816 --error ER_INVALID_JSON_VALUE_FOR_CAST
817 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_enum';
818 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_date';
819 --error ER_INVALID_JSON_VALUE_FOR_CAST
820 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_time';
821 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_datetime';
822 --error ER_INVALID_JSON_VALUE_FOR_CAST
823 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_geom';
824 --error ER_INVALID_JSON_VALUE_FOR_CAST
825 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_bit';
826 --error ER_INVALID_JSON_VALUE_FOR_CAST
827 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_year';
828 --error ER_INVALID_JSON_VALUE_FOR_CAST
829 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_blob';
830 --error ER_INVALID_JSON_VALUE_FOR_CAST
831 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_longblob';
832 --error ER_INVALID_JSON_VALUE_FOR_CAST
833 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_mediumblob';
834 --error ER_INVALID_JSON_VALUE_FOR_CAST
835 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_tinyblob';
836 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_varbinary';
837 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_binary';
838 --error ER_INVALID_JSON_VALUE_FOR_CAST
839 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_varchar';
840 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_string';
841 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_var_string';
842
843 --error ER_INVALID_JSON_VALUE_FOR_CAST
844 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='null';
845 --error ER_INVALID_JSON_VALUE_FOR_CAST
846 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='bool';
847 --error ER_INVALID_JSON_VALUE_FOR_CAST
848 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='uint';
849 --error ER_INVALID_JSON_VALUE_FOR_CAST
850 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='int';
851 --error ER_INVALID_JSON_VALUE_FOR_CAST
852 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='double';
853 --error ER_INVALID_JSON_VALUE_FOR_CAST
854 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='stringany';
855 --error ER_INVALID_JSON_VALUE_FOR_CAST
856 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='stringint';
857 --error ER_INVALID_JSON_VALUE_FOR_CAST
858 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='stringdecimal';
859 --error ER_INVALID_JSON_VALUE_FOR_CAST
860 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='object';
861 --error ER_INVALID_JSON_VALUE_FOR_CAST
862 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='array';
863 --error ER_INVALID_JSON_VALUE_FOR_CAST
864 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_decimal';
865 --error ER_INVALID_JSON_VALUE_FOR_CAST
866 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_set';
867 --error ER_INVALID_JSON_VALUE_FOR_CAST
868 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_enum';
869 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_date';
870 --error ER_INVALID_JSON_VALUE_FOR_CAST
871 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_time';
872 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_datetime';
873 --error ER_INVALID_JSON_VALUE_FOR_CAST
874 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_geom';
875 --error ER_INVALID_JSON_VALUE_FOR_CAST
876 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_bit';
877 --error ER_INVALID_JSON_VALUE_FOR_CAST
878 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_year';
879 --error ER_INVALID_JSON_VALUE_FOR_CAST
880 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_blob';
881 --error ER_INVALID_JSON_VALUE_FOR_CAST
882 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_longblob';
883 --error ER_INVALID_JSON_VALUE_FOR_CAST
884 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_mediumblob';
885 --error ER_INVALID_JSON_VALUE_FOR_CAST
886 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_tinyblob';
887 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_varbinary';
888 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_binary';
889 --error ER_INVALID_JSON_VALUE_FOR_CAST
890 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_varchar';
891 insert into at(c,_dtt) select concat('_dtt: ',c),j from t where c='opaque_mysql_type_string';
892 insert into at(c,_dat) select concat('_dat: ',c),j from t where c='opaque_mysql_type_var_string';
893
894 --error ER_INVALID_JSON_VALUE_FOR_CAST
895 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='null';
896 --error ER_INVALID_JSON_VALUE_FOR_CAST
897 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='bool';
898 --error ER_INVALID_JSON_VALUE_FOR_CAST
899 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='uint';
900 --error ER_INVALID_JSON_VALUE_FOR_CAST
901 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='int';
902 --error ER_INVALID_JSON_VALUE_FOR_CAST
903 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='double';
904 --error ER_INVALID_JSON_VALUE_FOR_CAST
905 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='stringany';
906 --error ER_INVALID_JSON_VALUE_FOR_CAST
907 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='stringint';
908 --error ER_INVALID_JSON_VALUE_FOR_CAST
909 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='stringdecimal';
910 --error ER_INVALID_JSON_VALUE_FOR_CAST
911 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='object';
912 --error ER_INVALID_JSON_VALUE_FOR_CAST
913 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='array';
914 --error ER_INVALID_JSON_VALUE_FOR_CAST
915 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_decimal';
916 --error ER_INVALID_JSON_VALUE_FOR_CAST
917 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_set';
918 --error ER_INVALID_JSON_VALUE_FOR_CAST
919 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_enum';
920 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_date';
921 --error ER_INVALID_JSON_VALUE_FOR_CAST
922 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_time';
923 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_datetime';
924 --error ER_INVALID_JSON_VALUE_FOR_CAST
925 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_geom';
926 --error ER_INVALID_JSON_VALUE_FOR_CAST
927 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_bit';
928 --error ER_INVALID_JSON_VALUE_FOR_CAST
929 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_year';
930 --error ER_INVALID_JSON_VALUE_FOR_CAST
931 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_blob';
932 --error ER_INVALID_JSON_VALUE_FOR_CAST
933 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_longblob';
934 --error ER_INVALID_JSON_VALUE_FOR_CAST
935 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_mediumblob';
936 --error ER_INVALID_JSON_VALUE_FOR_CAST
937 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_tinyblob';
938 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_varbinary';
939 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_binary';
940 --error ER_INVALID_JSON_VALUE_FOR_CAST
941 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_varchar';
942 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_string';
943 insert into at(c,_smp) select concat('_smp: ',c),j from t where c='opaque_mysql_type_var_string';
944
945 --error ER_INVALID_JSON_VALUE_FOR_CAST
946 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='null';
947 --error ER_INVALID_JSON_VALUE_FOR_CAST
948 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='bool';
949 --error ER_INVALID_JSON_VALUE_FOR_CAST
950 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='uint';
951 --error ER_INVALID_JSON_VALUE_FOR_CAST
952 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='int';
953 --error ER_INVALID_JSON_VALUE_FOR_CAST
954 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='double';
955 --error ER_INVALID_JSON_VALUE_FOR_CAST
956 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='stringany';
957 --error ER_INVALID_JSON_VALUE_FOR_CAST
958 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='stringint';
959 --error ER_INVALID_JSON_VALUE_FOR_CAST
960 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='stringdecimal';
961 --error ER_INVALID_JSON_VALUE_FOR_CAST
962 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='object';
963 --error ER_INVALID_JSON_VALUE_FOR_CAST
964 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='array';
965 --error ER_INVALID_JSON_VALUE_FOR_CAST
966 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_decimal';
967 --error ER_INVALID_JSON_VALUE_FOR_CAST
968 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_set';
969 --error ER_INVALID_JSON_VALUE_FOR_CAST
970 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_enum';
971 --error ER_INVALID_JSON_VALUE_FOR_CAST
972 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_date';
973 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_time';
974 --error ER_INVALID_JSON_VALUE_FOR_CAST
975 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_datetime';
976 --error ER_INVALID_JSON_VALUE_FOR_CAST
977 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_geom';
978 --error ER_INVALID_JSON_VALUE_FOR_CAST
979 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_bit';
980 --error ER_INVALID_JSON_VALUE_FOR_CAST
981 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_year';
982 --error ER_INVALID_JSON_VALUE_FOR_CAST
983 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_blob';
984 --error ER_INVALID_JSON_VALUE_FOR_CAST
985 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_longblob';
986 --error ER_INVALID_JSON_VALUE_FOR_CAST
987 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_mediumblob';
988 --error ER_INVALID_JSON_VALUE_FOR_CAST
989 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_tinyblob';
990 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_varbinary';
991 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_binary';
992 --error ER_INVALID_JSON_VALUE_FOR_CAST
993 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_varchar';
994 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_string';
995 insert into at(c,_tim) select concat('_tim: ',c),j from t where c='opaque_mysql_type_var_string';
996
997 --error ER_INVALID_JSON_VALUE_FOR_CAST
998 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='null';
999 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='bool';
1000 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='uint';
1001 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='int';
1002 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='double';
1003 --error ER_INVALID_JSON_VALUE_FOR_CAST
1004 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='stringany';
1005 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='stringint';
1006 --error ER_INVALID_JSON_VALUE_FOR_CAST
1007 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='stringdecimal';
1008 --error ER_INVALID_JSON_VALUE_FOR_CAST
1009 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='object';
1010 --error ER_INVALID_JSON_VALUE_FOR_CAST
1011 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='array';
1012 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_decimal';
1013 --error ER_INVALID_JSON_VALUE_FOR_CAST
1014 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_set';
1015 --error ER_INVALID_JSON_VALUE_FOR_CAST
1016 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_enum';
1017 --error ER_INVALID_JSON_VALUE_FOR_CAST
1018 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_date';
1019 --error ER_INVALID_JSON_VALUE_FOR_CAST
1020 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_time';
1021 --error ER_INVALID_JSON_VALUE_FOR_CAST
1022 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_datetime';
1023 --error ER_INVALID_JSON_VALUE_FOR_CAST
1024 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_geom';
1025 --error ER_INVALID_JSON_VALUE_FOR_CAST
1026 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_bit';
1027 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_year';
1028 --error ER_INVALID_JSON_VALUE_FOR_CAST
1029 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_blob';
1030 --error ER_INVALID_JSON_VALUE_FOR_CAST
1031 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_longblob';
1032 --error ER_INVALID_JSON_VALUE_FOR_CAST
1033 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_mediumblob';
1034 --error ER_INVALID_JSON_VALUE_FOR_CAST
1035 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_tinyblob';
1036 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_varbinary';
1037 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_binary';
1038 --error ER_INVALID_JSON_VALUE_FOR_CAST
1039 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_varchar';
1040 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_string';
1041 insert into at(c,_yea) select concat('_yea: ',c),j from t where c='opaque_mysql_type_var_string';
1042
1043 insert into at(c,_jsn) select concat('_jsn: ',c),j from t;
1044
1045 insert into at(c,_chr) select concat('_chr: ',c),j from t;
1046
1047 insert into at(c,_vch) select concat('_vch: ',c),j from t;
1048
1049 insert into at(c,_bin) select concat('_bin: ',c),j from t;
1050
1051 insert into at(c,_vbn) select concat('_vbn: ',c),j from t;
1052
1053 insert into at(c,_tbl) select concat('_tbl: ',c),j from t;
1054
1055 insert into at(c,_ttx) select concat('_ttx: ',c),j from t;
1056
1057 insert into at(c,_blb) select concat('_blb: ',c),j from t;
1058
1059 insert into at(c,_txt) select concat('_txt: ',c),j from t;
1060
1061 insert into at(c,_mbb) select concat('_mbb: ',c),j from t;
1062
1063 insert into at(c,_mtx) select concat('_mtx: ',c),j from t;
1064
1065 insert into at(c,_lbb) select concat('_lbb: ',c),j from t;
1066
1067 insert into at(c,_ltx) select concat('_ltx: ',c),j from t;
1068
1069 --error 1265
1070 # insert into at(c,_enu) select concat('_enu: ',c),j from t where c='null';
1071 --error 1265
1072 # insert into at(c,_enu) select concat('_enu: ',c),j from t where c='bool';
1073 --error 1265
1074 #insert into at(c,_enu) select concat('_enu: ',c),j from t where c='uint';
1075 --error 1265
1076 #insert into at(c,_enu) select concat('_enu: ',c),j from t where c='int';
1077 --error 1265
1078 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='double';
1079 --error 1265
1080 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='stringany'; # needs JSON_UNQUOTE
1081 --error 1265
1082 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='stringint';
1083 --error 1265
1084 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='stringdecimal';
1085 --error 1265
1086 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='object';
1087 --error 1265
1088 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='array';
1089 --error 1265
1090 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_decimal';
1091 --error 1265
1092 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_set';
1093 --error 1265
1094 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_enum';
1095 --error 1265
1096 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_date';
1097 --error 1265
1098 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_time';
1099 --error 1265
1100 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_datetime';
1101 --error 1265
1102 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_geom';
1103 --error 1265
1104 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_bit';
1105 --error 1265
1106 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_year';
1107 --error 1265
1108 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_blob';
1109 --error 1265
1110 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_longblob';
1111 --error 1265
1112 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_mediumblob';
1113 --error 1265
1114 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_tinyblob';
1115 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_varbinary';
1116 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_binary';
1117 --error 1265
1118 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_varchar';
1119 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_string';
1120 insert into at(c,_enu) select concat('_enu: ',c),j from t where c='opaque_mysql_type_var_string';
1121
1122 --error 1265
1123 insert into at(c,_set) select concat('_set: ',c),j from t where c='null';
1124 --error 1265
1125 insert into at(c,_set) select concat('_set: ',c),j from t where c='bool';
1126 --error 1265
1127 insert into at(c,_set) select concat('_set: ',c),j from t where c='uint';
1128 --error 1265
1129 insert into at(c,_set) select concat('_set: ',c),j from t where c='int';
1130 --error 1265
1131 insert into at(c,_set) select concat('_set: ',c),j from t where c='double';
1132 --error 1265
1133 insert into at(c,_set) select concat('_set: ',c),j from t where c='stringany'; # needs JSON_UNQUOTE
1134 --error 1265
1135 insert into at(c,_set) select concat('_set: ',c),j from t where c='stringint';
1136 --error 1265
1137 insert into at(c,_set) select concat('_set: ',c),j from t where c='stringdecimal';
1138 --error 1265
1139 insert into at(c,_set) select concat('_set: ',c),j from t where c='object';
1140 --error 1265
1141 insert into at(c,_set) select concat('_set: ',c),j from t where c='array';
1142 --error 1265
1143 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_decimal';
1144 --error 1265
1145 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_set';
1146 --error 1265
1147 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_enum';
1148 --error 1265
1149 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_date';
1150 --error 1265
1151 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_time';
1152 --error 1265
1153 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_datetime';
1154 --error 1265
1155 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_geom';
1156 --error 1265
1157 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_bit';
1158 --error 1265
1159 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_year';
1160 --error 1265
1161 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_blob';
1162 --error 1265
1163 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_longblob';
1164 --error 1265
1165 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_mediumblob';
1166 --error 1265
1167 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_tinyblob';
1168 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_varbinary';
1169 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_binary';
1170 --error 1265
1171 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_varchar';
1172 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_string';
1173 insert into at(c,_set) select concat('_set: ',c),j from t where c='opaque_mysql_type_var_string';
1174
1175 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1176 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='null';
1177 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1178 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='bool';
1179 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1180 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='uint';
1181 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1182 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='int';
1183 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1184 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='double';
1185 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1186 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='stringany';
1187 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1188 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='stringint';
1189 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1190 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='stringdecimal';
1191 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1192 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='object';
1193 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1194 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='array';
1195 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1196 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_decimal';
1197 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1198 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_set';
1199 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1200 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_enum';
1201 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1202 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_date';
1203 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1204 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_time';
1205 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1206 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_datetime';
1207 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1208 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_geom';
1209 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1210 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_bit';
1211 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1212 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_year';
1213 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1214 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_blob';
1215 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1216 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_longblob';
1217 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1218 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_mediumblob';
1219 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1220 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_tinyblob';
1221 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_varbinary';
1222 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_binary';
1223 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1224 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_varchar';
1225 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_string';
1226 insert into at(c,_geo) select concat('_geo: ',c),j from t where c='opaque_mysql_type_var_string';
1227
1228 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1229 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='null';
1230 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1231 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='bool';
1232 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1233 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='uint';
1234 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1235 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='int';
1236 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1237 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='double';
1238 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1239 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='stringany';
1240 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1241 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='stringint';
1242 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1243 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='stringdecimal';
1244 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1245 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='object';
1246 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1247 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='array';
1248 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1249 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_decimal';
1250 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1251 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_set';
1252 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1253 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_enum';
1254 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1255 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_date';
1256 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1257 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_time';
1258 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1259 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_datetime';
1260 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1261 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_geom';
1262 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1263 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_bit';
1264 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1265 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_year';
1266 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1267 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_blob';
1268 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1269 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_longblob';
1270 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1271 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_mediumblob';
1272 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1273 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_tinyblob';
1274 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_varbinary';
1275 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_binary';
1276 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1277 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_varchar';
1278 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_string';
1279 insert into at(c,_pnt) select concat('_pnt: ',c),j from t where c='opaque_mysql_type_var_string';
1280
1281 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1282 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='null';
1283 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1284 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='bool';
1285 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1286 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='uint';
1287 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1288 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='int';
1289 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1290 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='double';
1291 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1292 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='stringany';
1293 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1294 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='stringint';
1295 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1296 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='stringdecimal';
1297 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1298 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='object';
1299 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1300 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='array';
1301 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1302 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_decimal';
1303 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1304 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_set';
1305 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1306 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_enum';
1307 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1308 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_date';
1309 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1310 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_time';
1311 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1312 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_datetime';
1313 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1314 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_geom';
1315 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1316 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_bit';
1317 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1318 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_year';
1319 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1320 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_blob';
1321 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1322 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_longblob';
1323 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1324 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_mediumblob';
1325 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1326 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_tinyblob';
1327 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_varbinary';
1328 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_binary';
1329 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1330 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_varchar';
1331 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_string';
1332 insert into at(c,_lst) select concat('_lst: ',c),j from t where c='opaque_mysql_type_var_string';
1333
1334 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1335 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='null';
1336 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1337 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='bool';
1338 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1339 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='uint';
1340 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1341 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='int';
1342 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1343 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='double';
1344 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1345 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='stringany';
1346 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1347 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='stringint';
1348 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1349 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='stringdecimal';
1350 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1351 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='object';
1352 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1353 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='array';
1354 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1355 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_decimal';
1356 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1357 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_set';
1358 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1359 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_enum';
1360 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1361 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_date';
1362 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1363 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_time';
1364 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1365 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_datetime';
1366 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1367 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_geom';
1368 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1369 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_bit';
1370 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1371 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_year';
1372 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1373 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_blob';
1374 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1375 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_longblob';
1376 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1377 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_mediumblob';
1378 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1379 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_tinyblob';
1380 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_varbinary';
1381 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_binary';
1382 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1383 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_varchar';
1384 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_string';
1385 insert into at(c,_pol) select concat('_pol: ',c),j from t where c='opaque_mysql_type_var_string';
1386
1387 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1388 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='null';
1389 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1390 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='bool';
1391 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1392 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='uint';
1393 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1394 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='int';
1395 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1396 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='double';
1397 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1398 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='stringany';
1399 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1400 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='stringint';
1401 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1402 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='stringdecimal';
1403 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1404 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='object';
1405 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1406 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='array';
1407 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1408 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_decimal';
1409 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1410 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_set';
1411 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1412 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_enum';
1413 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1414 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_date';
1415 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1416 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_time';
1417 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1418 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_datetime';
1419 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1420 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_geom';
1421 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1422 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_bit';
1423 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1424 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_year';
1425 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1426 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_blob';
1427 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1428 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_longblob';
1429 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1430 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_mediumblob';
1431 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1432 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_tinyblob';
1433 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_varbinary';
1434 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_binary';
1435 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1436 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_varchar';
1437 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_string';
1438 insert into at(c,_mpt) select concat('_mpt: ',c),j from t where c='opaque_mysql_type_var_string';
1439
1440 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1441 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='null';
1442 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1443 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='bool';
1444 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1445 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='uint';
1446 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1447 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='int';
1448 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1449 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='double';
1450 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1451 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='stringany';
1452 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1453 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='stringint';
1454 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1455 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='stringdecimal';
1456 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1457 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='object';
1458 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1459 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='array';
1460 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1461 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_decimal';
1462 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1463 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_set';
1464 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1465 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_enum';
1466 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1467 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_date';
1468 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1469 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_time';
1470 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1471 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_datetime';
1472 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1473 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_geom';
1474 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1475 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_bit';
1476 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1477 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_year';
1478 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1479 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_blob';
1480 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1481 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_longblob';
1482 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1483 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_mediumblob';
1484 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1485 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_tinyblob';
1486 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_varbinary';
1487 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_binary';
1488 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1489 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_varchar';
1490 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_string';
1491 insert into at(c,_mls) select concat('_mls: ',c),j from t where c='opaque_mysql_type_var_string';
1492
1493 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1494 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='null';
1495 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1496 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='bool';
1497 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1498 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='uint';
1499 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1500 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='int';
1501 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1502 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='double';
1503 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1504 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='stringany';
1505 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1506 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='stringint';
1507 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1508 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='stringdecimal';
1509 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1510 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='object';
1511 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1512 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='array';
1513 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1514 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_decimal';
1515 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1516 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_set';
1517 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1518 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_enum';
1519 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1520 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_date';
1521 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1522 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_time';
1523 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1524 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_datetime';
1525 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1526 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_geom';
1527 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1528 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_bit';
1529 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1530 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_year';
1531 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1532 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_blob';
1533 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1534 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_longblob';
1535 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1536 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_mediumblob';
1537 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1538 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_tinyblob';
1539 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_varbinary';
1540 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_binary';
1541 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1542 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_varchar';
1543 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_string';
1544 insert into at(c,_mpy) select concat('_mpy: ',c),j from t where c='opaque_mysql_type_var_string';
1545
1546 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1547 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='null';
1548 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1549 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='bool';
1550 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1551 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='uint';
1552 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1553 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='int';
1554 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1555 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='double';
1556 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1557 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='stringany';
1558 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1559 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='stringint';
1560 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1561 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='stringdecimal';
1562 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1563 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='object';
1564 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1565 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='array';
1566 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1567 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_decimal';
1568 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1569 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_set';
1570 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1571 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_enum';
1572 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1573 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_date';
1574 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1575 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_time';
1576 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1577 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_datetime';
1578 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1579 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_geom';
1580 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1581 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_bit';
1582 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1583 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_year';
1584 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1585 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_blob';
1586 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1587 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_longblob';
1588 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1589 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_mediumblob';
1590 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1591 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_tinyblob';
1592 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_varbinary';
1593 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_binary';
1594 --error ER_CANT_CREATE_GEOMETRY_OBJECT
1595 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_varchar';
1596 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_string';
1597 insert into at(c,_gco) select concat('_gco: ',c),j from t where c='opaque_mysql_type_var_string';
1598
1599 --echo # ----------------------------------------------------------------------
1600 --echo # I N S E R T F R O M J S O N F U N C T I O N
1601 --echo # ----------------------------------------------------------------------
1602 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='null';
1603 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='bool';
1604 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='uint';
1605 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='int';
1606 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='double';
1607 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='stringany';
1608 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='stringint';
1609 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='stringdecimal';
1610 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='object';
1611 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='array';
1612 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
1613 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
1614 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
1615 --error ER_DATA_TOO_LONG
1616 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
1617 --error ER_DATA_TOO_LONG
1618 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
1619 --error ER_DATA_TOO_LONG
1620 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
1621 --error ER_DATA_TOO_LONG
1622 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
1623 --error ER_DATA_TOO_LONG
1624 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
1625 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
1626 --error ER_DATA_TOO_LONG
1627 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
1628 --error ER_DATA_TOO_LONG
1629 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
1630 --error ER_DATA_TOO_LONG
1631 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
1632 --error ER_DATA_TOO_LONG
1633 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
1634 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
1635 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
1636 --error ER_DATA_TOO_LONG
1637 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
1638 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
1639 insert into at(c,_bit) select concat('_bit: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
1640
1641 --error ER_INVALID_JSON_VALUE_FOR_CAST
1642 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='null';
1643 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='bool';
1644 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='uint';
1645 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='int';
1646 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='double';
1647 --error ER_INVALID_JSON_VALUE_FOR_CAST
1648 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='stringany';
1649 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='stringint';
1650 --error ER_INVALID_JSON_VALUE_FOR_CAST
1651 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='stringdecimal'; # needs cast(j as decimal)
1652 --error ER_INVALID_JSON_VALUE_FOR_CAST
1653 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='object';
1654 --error ER_INVALID_JSON_VALUE_FOR_CAST
1655 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='array';
1656 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
1657 --error ER_INVALID_JSON_VALUE_FOR_CAST
1658 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
1659 --error ER_INVALID_JSON_VALUE_FOR_CAST
1660 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
1661 --error ER_INVALID_JSON_VALUE_FOR_CAST
1662 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
1663 --error ER_INVALID_JSON_VALUE_FOR_CAST
1664 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
1665 --error ER_INVALID_JSON_VALUE_FOR_CAST
1666 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
1667 --error ER_INVALID_JSON_VALUE_FOR_CAST
1668 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
1669 --error ER_INVALID_JSON_VALUE_FOR_CAST
1670 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
1671 --error ER_WARN_DATA_OUT_OF_RANGE
1672 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
1673 --error ER_INVALID_JSON_VALUE_FOR_CAST
1674 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
1675 --error ER_INVALID_JSON_VALUE_FOR_CAST
1676 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
1677 --error ER_INVALID_JSON_VALUE_FOR_CAST
1678 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
1679 --error ER_INVALID_JSON_VALUE_FOR_CAST
1680 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
1681 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
1682 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
1683 --error ER_INVALID_JSON_VALUE_FOR_CAST
1684 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
1685 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
1686 insert into at(c,_tin) select concat('_tin: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
1687
1688 --error ER_INVALID_JSON_VALUE_FOR_CAST
1689 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='null';
1690 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='bool';
1691 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='uint';
1692 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='int';
1693 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='double';
1694 --error ER_INVALID_JSON_VALUE_FOR_CAST
1695 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='stringany';
1696 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='stringint';
1697 --error ER_INVALID_JSON_VALUE_FOR_CAST
1698 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='stringdecimal';
1699 --error ER_INVALID_JSON_VALUE_FOR_CAST
1700 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='object';
1701 --error ER_INVALID_JSON_VALUE_FOR_CAST
1702 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='array';
1703 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
1704 --error ER_INVALID_JSON_VALUE_FOR_CAST
1705 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
1706 --error ER_INVALID_JSON_VALUE_FOR_CAST
1707 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
1708 --error ER_INVALID_JSON_VALUE_FOR_CAST
1709 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
1710 --error ER_INVALID_JSON_VALUE_FOR_CAST
1711 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
1712 --error ER_INVALID_JSON_VALUE_FOR_CAST
1713 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
1714 --error ER_INVALID_JSON_VALUE_FOR_CAST
1715 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
1716 --error ER_INVALID_JSON_VALUE_FOR_CAST
1717 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
1718 --error ER_WARN_DATA_OUT_OF_RANGE
1719 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
1720 --error ER_INVALID_JSON_VALUE_FOR_CAST
1721 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
1722 --error ER_INVALID_JSON_VALUE_FOR_CAST
1723 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
1724 --error ER_INVALID_JSON_VALUE_FOR_CAST
1725 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
1726 --error ER_INVALID_JSON_VALUE_FOR_CAST
1727 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
1728 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
1729 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
1730 --error ER_INVALID_JSON_VALUE_FOR_CAST
1731 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
1732 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
1733 insert into at(c,_boo) select concat('_boo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
1734
1735 --error ER_INVALID_JSON_VALUE_FOR_CAST
1736 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='null';
1737 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='bool';
1738 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='uint';
1739 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='int';
1740 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='double';
1741 --error ER_INVALID_JSON_VALUE_FOR_CAST
1742 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='stringany';
1743 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='stringint';
1744 --error ER_INVALID_JSON_VALUE_FOR_CAST
1745 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='stringdecimal';
1746 --error ER_INVALID_JSON_VALUE_FOR_CAST
1747 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='object';
1748 --error ER_INVALID_JSON_VALUE_FOR_CAST
1749 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='array';
1750 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
1751 --error ER_INVALID_JSON_VALUE_FOR_CAST
1752 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
1753 --error ER_INVALID_JSON_VALUE_FOR_CAST
1754 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
1755 --error ER_INVALID_JSON_VALUE_FOR_CAST
1756 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
1757 --error ER_INVALID_JSON_VALUE_FOR_CAST
1758 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
1759 --error ER_INVALID_JSON_VALUE_FOR_CAST
1760 --error ER_INVALID_JSON_VALUE_FOR_CAST
1761 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
1762 --error ER_INVALID_JSON_VALUE_FOR_CAST
1763 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
1764 --error ER_INVALID_JSON_VALUE_FOR_CAST
1765 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
1766 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
1767 --error ER_INVALID_JSON_VALUE_FOR_CAST
1768 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
1769 --error ER_INVALID_JSON_VALUE_FOR_CAST
1770 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
1771 --error ER_INVALID_JSON_VALUE_FOR_CAST
1772 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
1773 --error ER_INVALID_JSON_VALUE_FOR_CAST
1774 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
1775 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
1776 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
1777 --error ER_INVALID_JSON_VALUE_FOR_CAST
1778 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
1779 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
1780 insert into at(c,_sms) select concat('_sms: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
1781
1782 --error ER_INVALID_JSON_VALUE_FOR_CAST
1783 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='null';
1784 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='bool';
1785 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='uint';
1786 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='int';
1787 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='double';
1788 --error ER_INVALID_JSON_VALUE_FOR_CAST
1789 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='stringany';
1790 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='stringint';
1791 --error ER_INVALID_JSON_VALUE_FOR_CAST
1792 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='stringdecimal';
1793 --error ER_INVALID_JSON_VALUE_FOR_CAST
1794 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='object';
1795 --error ER_INVALID_JSON_VALUE_FOR_CAST
1796 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='array';
1797 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
1798 --error ER_INVALID_JSON_VALUE_FOR_CAST
1799 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
1800 --error ER_INVALID_JSON_VALUE_FOR_CAST
1801 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
1802 --error ER_INVALID_JSON_VALUE_FOR_CAST
1803 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
1804 --error ER_INVALID_JSON_VALUE_FOR_CAST
1805 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
1806 --error ER_INVALID_JSON_VALUE_FOR_CAST
1807 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
1808 --error ER_INVALID_JSON_VALUE_FOR_CAST
1809 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
1810 --error ER_INVALID_JSON_VALUE_FOR_CAST
1811 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
1812 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
1813 --error ER_INVALID_JSON_VALUE_FOR_CAST
1814 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
1815 --error ER_INVALID_JSON_VALUE_FOR_CAST
1816 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
1817 --error ER_INVALID_JSON_VALUE_FOR_CAST
1818 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
1819 --error ER_INVALID_JSON_VALUE_FOR_CAST
1820 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
1821 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
1822 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
1823 --error ER_INVALID_JSON_VALUE_FOR_CAST
1824 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
1825 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
1826 insert into at(c,_smu) select concat('_smu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
1827
1828 --error ER_INVALID_JSON_VALUE_FOR_CAST
1829 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='null';
1830 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='bool';
1831 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='uint';
1832 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='int';
1833 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='double';
1834 --error ER_INVALID_JSON_VALUE_FOR_CAST
1835 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='stringany';
1836 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='stringint';
1837 --error ER_INVALID_JSON_VALUE_FOR_CAST
1838 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='stringdecimal';
1839 --error ER_INVALID_JSON_VALUE_FOR_CAST
1840 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='object';
1841 --error ER_INVALID_JSON_VALUE_FOR_CAST
1842 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='array';
1843 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
1844 --error ER_INVALID_JSON_VALUE_FOR_CAST
1845 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
1846 --error ER_INVALID_JSON_VALUE_FOR_CAST
1847 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
1848 --error ER_INVALID_JSON_VALUE_FOR_CAST
1849 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
1850 --error ER_INVALID_JSON_VALUE_FOR_CAST
1851 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
1852 --error ER_INVALID_JSON_VALUE_FOR_CAST
1853 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
1854 --error ER_INVALID_JSON_VALUE_FOR_CAST
1855 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
1856 --error ER_INVALID_JSON_VALUE_FOR_CAST
1857 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
1858 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
1859 --error ER_INVALID_JSON_VALUE_FOR_CAST
1860 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
1861 --error ER_INVALID_JSON_VALUE_FOR_CAST
1862 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
1863 --error ER_INVALID_JSON_VALUE_FOR_CAST
1864 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
1865 --error ER_INVALID_JSON_VALUE_FOR_CAST
1866 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
1867 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
1868 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
1869 --error ER_INVALID_JSON_VALUE_FOR_CAST
1870 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
1871 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
1872 insert into at(c,_mes) select concat('_mes: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
1873
1874 --error ER_INVALID_JSON_VALUE_FOR_CAST
1875 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='null';
1876 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='bool';
1877 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='uint';
1878 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='int';
1879 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='double';
1880 --error ER_INVALID_JSON_VALUE_FOR_CAST
1881 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='stringany';
1882 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='stringint';
1883 --error ER_INVALID_JSON_VALUE_FOR_CAST
1884 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='stringdecimal';
1885 --error ER_INVALID_JSON_VALUE_FOR_CAST
1886 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='object';
1887 --error ER_INVALID_JSON_VALUE_FOR_CAST
1888 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='array';
1889 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
1890 --error ER_INVALID_JSON_VALUE_FOR_CAST
1891 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
1892 --error ER_INVALID_JSON_VALUE_FOR_CAST
1893 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
1894 --error ER_INVALID_JSON_VALUE_FOR_CAST
1895 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
1896 --error ER_INVALID_JSON_VALUE_FOR_CAST
1897 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
1898 --error ER_INVALID_JSON_VALUE_FOR_CAST
1899 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
1900 --error ER_INVALID_JSON_VALUE_FOR_CAST
1901 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
1902 --error ER_INVALID_JSON_VALUE_FOR_CAST
1903 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
1904 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
1905 --error ER_INVALID_JSON_VALUE_FOR_CAST
1906 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
1907 --error ER_INVALID_JSON_VALUE_FOR_CAST
1908 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
1909 --error ER_INVALID_JSON_VALUE_FOR_CAST
1910 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
1911 --error ER_INVALID_JSON_VALUE_FOR_CAST
1912 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
1913 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
1914 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
1915 --error ER_INVALID_JSON_VALUE_FOR_CAST
1916 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
1917 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
1918 insert into at(c,_meu) select concat('_meu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
1919
1920 --error ER_INVALID_JSON_VALUE_FOR_CAST
1921 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='null';
1922 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='bool';
1923 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='uint';
1924 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='int';
1925 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='double';
1926 --error ER_INVALID_JSON_VALUE_FOR_CAST
1927 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='stringany';
1928 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='stringint';
1929 --error ER_INVALID_JSON_VALUE_FOR_CAST
1930 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='stringdecimal';
1931 --error ER_INVALID_JSON_VALUE_FOR_CAST
1932 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='object';
1933 --error ER_INVALID_JSON_VALUE_FOR_CAST
1934 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='array';
1935 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
1936 --error ER_INVALID_JSON_VALUE_FOR_CAST
1937 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
1938 --error ER_INVALID_JSON_VALUE_FOR_CAST
1939 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
1940 --error ER_INVALID_JSON_VALUE_FOR_CAST
1941 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
1942 --error ER_INVALID_JSON_VALUE_FOR_CAST
1943 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
1944 --error ER_INVALID_JSON_VALUE_FOR_CAST
1945 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
1946 --error ER_INVALID_JSON_VALUE_FOR_CAST
1947 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
1948 --error ER_INVALID_JSON_VALUE_FOR_CAST
1949 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
1950 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
1951 --error ER_INVALID_JSON_VALUE_FOR_CAST
1952 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
1953 --error ER_INVALID_JSON_VALUE_FOR_CAST
1954 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
1955 --error ER_INVALID_JSON_VALUE_FOR_CAST
1956 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
1957 --error ER_INVALID_JSON_VALUE_FOR_CAST
1958 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
1959 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
1960 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
1961 --error ER_INVALID_JSON_VALUE_FOR_CAST
1962 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
1963 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
1964 insert into at(c,_ins) select concat('_ins: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
1965
1966 --error ER_INVALID_JSON_VALUE_FOR_CAST
1967 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='null';
1968 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='bool';
1969 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='uint';
1970 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='int';
1971 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='double';
1972 --error ER_INVALID_JSON_VALUE_FOR_CAST
1973 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='stringany';
1974 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='stringint';
1975 --error ER_INVALID_JSON_VALUE_FOR_CAST
1976 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='stringdecimal';
1977 --error ER_INVALID_JSON_VALUE_FOR_CAST
1978 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='object';
1979 --error ER_INVALID_JSON_VALUE_FOR_CAST
1980 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='array';
1981 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
1982 --error ER_INVALID_JSON_VALUE_FOR_CAST
1983 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
1984 --error ER_INVALID_JSON_VALUE_FOR_CAST
1985 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
1986 --error ER_INVALID_JSON_VALUE_FOR_CAST
1987 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
1988 --error ER_INVALID_JSON_VALUE_FOR_CAST
1989 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
1990 --error ER_INVALID_JSON_VALUE_FOR_CAST
1991 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
1992 --error ER_INVALID_JSON_VALUE_FOR_CAST
1993 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
1994 --error ER_INVALID_JSON_VALUE_FOR_CAST
1995 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
1996 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
1997 --error ER_INVALID_JSON_VALUE_FOR_CAST
1998 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
1999 --error ER_INVALID_JSON_VALUE_FOR_CAST
2000 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2001 --error ER_INVALID_JSON_VALUE_FOR_CAST
2002 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2003 --error ER_INVALID_JSON_VALUE_FOR_CAST
2004 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2005 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2006 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2007 --error ER_INVALID_JSON_VALUE_FOR_CAST
2008 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2009 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2010 insert into at(c,_inu) select concat('_inu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2011
2012 --error ER_INVALID_JSON_VALUE_FOR_CAST
2013 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='null';
2014 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='bool';
2015 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='uint';
2016 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='int';
2017 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='double';
2018 --error ER_INVALID_JSON_VALUE_FOR_CAST
2019 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='stringany';
2020 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='stringint';
2021 --error ER_INVALID_JSON_VALUE_FOR_CAST
2022 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='stringdecimal';
2023 --error ER_INVALID_JSON_VALUE_FOR_CAST
2024 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='object';
2025 --error ER_INVALID_JSON_VALUE_FOR_CAST
2026 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='array';
2027 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2028 --error ER_INVALID_JSON_VALUE_FOR_CAST
2029 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2030 --error ER_INVALID_JSON_VALUE_FOR_CAST
2031 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2032 --error ER_INVALID_JSON_VALUE_FOR_CAST
2033 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2034 --error ER_INVALID_JSON_VALUE_FOR_CAST
2035 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2036 --error ER_INVALID_JSON_VALUE_FOR_CAST
2037 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2038 --error ER_INVALID_JSON_VALUE_FOR_CAST
2039 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2040 --error ER_INVALID_JSON_VALUE_FOR_CAST
2041 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2042 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2043 --error ER_INVALID_JSON_VALUE_FOR_CAST
2044 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2045 --error ER_INVALID_JSON_VALUE_FOR_CAST
2046 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2047 --error ER_INVALID_JSON_VALUE_FOR_CAST
2048 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2049 --error ER_INVALID_JSON_VALUE_FOR_CAST
2050 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2051 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2052 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2053 --error ER_INVALID_JSON_VALUE_FOR_CAST
2054 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2055 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2056 insert into at(c,_bis) select concat('_bis: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2057
2058 --error ER_INVALID_JSON_VALUE_FOR_CAST
2059 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='null';
2060 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='bool';
2061 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='uint';
2062 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='int';
2063 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='double';
2064 --error ER_INVALID_JSON_VALUE_FOR_CAST
2065 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='stringany';
2066 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='stringint';
2067 --error ER_INVALID_JSON_VALUE_FOR_CAST
2068 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='stringdecimal';
2069 --error ER_INVALID_JSON_VALUE_FOR_CAST
2070 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='object';
2071 --error ER_INVALID_JSON_VALUE_FOR_CAST
2072 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='array';
2073 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2074 --error ER_INVALID_JSON_VALUE_FOR_CAST
2075 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2076 --error ER_INVALID_JSON_VALUE_FOR_CAST
2077 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2078 --error ER_INVALID_JSON_VALUE_FOR_CAST
2079 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2080 --error ER_INVALID_JSON_VALUE_FOR_CAST
2081 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2082 --error ER_INVALID_JSON_VALUE_FOR_CAST
2083 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2084 --error ER_INVALID_JSON_VALUE_FOR_CAST
2085 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2086 --error ER_INVALID_JSON_VALUE_FOR_CAST
2087 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2088 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2089 --error ER_INVALID_JSON_VALUE_FOR_CAST
2090 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2091 --error ER_INVALID_JSON_VALUE_FOR_CAST
2092 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2093 --error ER_INVALID_JSON_VALUE_FOR_CAST
2094 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2095 --error ER_INVALID_JSON_VALUE_FOR_CAST
2096 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2097 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2098 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2099 --error ER_INVALID_JSON_VALUE_FOR_CAST
2100 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2101 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2102 insert into at(c,_biu) select concat('_biu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2103
2104 --error ER_INVALID_JSON_VALUE_FOR_CAST
2105 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='null';
2106 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='bool';
2107 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='uint';
2108 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='int';
2109 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='double';
2110 --error ER_INVALID_JSON_VALUE_FOR_CAST
2111 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='stringany';
2112 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='stringint';
2113 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='stringdecimal';
2114 --error ER_INVALID_JSON_VALUE_FOR_CAST
2115 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='object';
2116 --error ER_INVALID_JSON_VALUE_FOR_CAST
2117 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='array';
2118 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2119 --error ER_INVALID_JSON_VALUE_FOR_CAST
2120 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2121 --error ER_INVALID_JSON_VALUE_FOR_CAST
2122 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2123 --error ER_INVALID_JSON_VALUE_FOR_CAST
2124 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2125 --error ER_INVALID_JSON_VALUE_FOR_CAST
2126 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2127 --error ER_INVALID_JSON_VALUE_FOR_CAST
2128 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2129 --error ER_INVALID_JSON_VALUE_FOR_CAST
2130 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2131 --error ER_INVALID_JSON_VALUE_FOR_CAST
2132 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2133 --error ER_WARN_DATA_OUT_OF_RANGE
2134 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2135 --error ER_INVALID_JSON_VALUE_FOR_CAST
2136 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2137 --error ER_INVALID_JSON_VALUE_FOR_CAST
2138 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2139 --error ER_INVALID_JSON_VALUE_FOR_CAST
2140 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2141 --error ER_INVALID_JSON_VALUE_FOR_CAST
2142 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2143 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2144 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2145 --error ER_INVALID_JSON_VALUE_FOR_CAST
2146 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2147 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2148 insert into at(c,_dec) select concat('_dec: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2149
2150 --error ER_INVALID_JSON_VALUE_FOR_CAST
2151 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='null';
2152 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='bool';
2153 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='uint';
2154 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='int';
2155 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='double';
2156 --error ER_INVALID_JSON_VALUE_FOR_CAST
2157 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='stringany';
2158 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='stringint';
2159 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='stringdecimal';
2160 --error ER_INVALID_JSON_VALUE_FOR_CAST
2161 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='object';
2162 --error ER_INVALID_JSON_VALUE_FOR_CAST
2163 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='array';
2164 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2165 --error ER_INVALID_JSON_VALUE_FOR_CAST
2166 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2167 --error ER_INVALID_JSON_VALUE_FOR_CAST
2168 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2169 --error ER_INVALID_JSON_VALUE_FOR_CAST
2170 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2171 --error ER_INVALID_JSON_VALUE_FOR_CAST
2172 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2173 --error ER_INVALID_JSON_VALUE_FOR_CAST
2174 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2175 --error ER_INVALID_JSON_VALUE_FOR_CAST
2176 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2177 --error ER_INVALID_JSON_VALUE_FOR_CAST
2178 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2179 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2180 --error ER_INVALID_JSON_VALUE_FOR_CAST
2181 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2182 --error ER_INVALID_JSON_VALUE_FOR_CAST
2183 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2184 --error ER_INVALID_JSON_VALUE_FOR_CAST
2185 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2186 --error ER_INVALID_JSON_VALUE_FOR_CAST
2187 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2188 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2189 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2190 --error ER_INVALID_JSON_VALUE_FOR_CAST
2191 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2192 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2193 insert into at(c,_flo) select concat('_flo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2194
2195 --error ER_INVALID_JSON_VALUE_FOR_CAST
2196 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='null';
2197 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='bool';
2198 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='uint';
2199 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='int';
2200 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='double';
2201 --error ER_INVALID_JSON_VALUE_FOR_CAST
2202 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='stringany';
2203 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='stringint';
2204 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='stringdecimal';
2205 --error ER_INVALID_JSON_VALUE_FOR_CAST
2206 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='object';
2207 --error ER_INVALID_JSON_VALUE_FOR_CAST
2208 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='array';
2209 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2210 --error ER_INVALID_JSON_VALUE_FOR_CAST
2211 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2212 --error ER_INVALID_JSON_VALUE_FOR_CAST
2213 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2214 --error ER_INVALID_JSON_VALUE_FOR_CAST
2215 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2216 --error ER_INVALID_JSON_VALUE_FOR_CAST
2217 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2218 --error ER_INVALID_JSON_VALUE_FOR_CAST
2219 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2220 --error ER_INVALID_JSON_VALUE_FOR_CAST
2221 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2222 --error ER_INVALID_JSON_VALUE_FOR_CAST
2223 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2224 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2225 --error ER_INVALID_JSON_VALUE_FOR_CAST
2226 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2227 --error ER_INVALID_JSON_VALUE_FOR_CAST
2228 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2229 --error ER_INVALID_JSON_VALUE_FOR_CAST
2230 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2231 --error ER_INVALID_JSON_VALUE_FOR_CAST
2232 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2233 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2234 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2235 --error ER_INVALID_JSON_VALUE_FOR_CAST
2236 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2237 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2238 insert into at(c,_dou) select concat('_dou: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2239
2240 --error ER_INVALID_JSON_VALUE_FOR_CAST
2241 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='null';
2242 --error ER_INVALID_JSON_VALUE_FOR_CAST
2243 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='bool';
2244 --error ER_INVALID_JSON_VALUE_FOR_CAST
2245 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='uint';
2246 --error ER_INVALID_JSON_VALUE_FOR_CAST
2247 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='int';
2248 --error ER_INVALID_JSON_VALUE_FOR_CAST
2249 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='double';
2250 --error ER_INVALID_JSON_VALUE_FOR_CAST
2251 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='stringany';
2252 --error ER_INVALID_JSON_VALUE_FOR_CAST
2253 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='stringint';
2254 --error ER_INVALID_JSON_VALUE_FOR_CAST
2255 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='stringdecimal';
2256 --error ER_INVALID_JSON_VALUE_FOR_CAST
2257 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='object';
2258 --error ER_INVALID_JSON_VALUE_FOR_CAST
2259 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='array';
2260 --error ER_INVALID_JSON_VALUE_FOR_CAST
2261 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2262 --error ER_INVALID_JSON_VALUE_FOR_CAST
2263 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2264 --error ER_INVALID_JSON_VALUE_FOR_CAST
2265 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2266 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2267 --error ER_INVALID_JSON_VALUE_FOR_CAST
2268 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2269 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2270 --error ER_INVALID_JSON_VALUE_FOR_CAST
2271 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2272 --error ER_INVALID_JSON_VALUE_FOR_CAST
2273 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2274 --error ER_INVALID_JSON_VALUE_FOR_CAST
2275 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2276 --error ER_INVALID_JSON_VALUE_FOR_CAST
2277 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2278 --error ER_INVALID_JSON_VALUE_FOR_CAST
2279 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2280 --error ER_INVALID_JSON_VALUE_FOR_CAST
2281 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2282 --error ER_INVALID_JSON_VALUE_FOR_CAST
2283 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2284 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2285 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2286 --error ER_INVALID_JSON_VALUE_FOR_CAST
2287 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2288 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2289 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2290
2291 --error ER_INVALID_JSON_VALUE_FOR_CAST
2292 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='null';
2293 --error ER_INVALID_JSON_VALUE_FOR_CAST
2294 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='bool';
2295 --error ER_INVALID_JSON_VALUE_FOR_CAST
2296 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='uint';
2297 --error ER_INVALID_JSON_VALUE_FOR_CAST
2298 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='int';
2299 --error ER_INVALID_JSON_VALUE_FOR_CAST
2300 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='double';
2301 --error ER_INVALID_JSON_VALUE_FOR_CAST
2302 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='stringany';
2303 --error ER_INVALID_JSON_VALUE_FOR_CAST
2304 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='stringint';
2305 --error ER_INVALID_JSON_VALUE_FOR_CAST
2306 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='stringdecimal';
2307 --error ER_INVALID_JSON_VALUE_FOR_CAST
2308 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='object';
2309 --error ER_INVALID_JSON_VALUE_FOR_CAST
2310 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='array';
2311 --error ER_INVALID_JSON_VALUE_FOR_CAST
2312 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2313 --error ER_INVALID_JSON_VALUE_FOR_CAST
2314 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2315 --error ER_INVALID_JSON_VALUE_FOR_CAST
2316 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2317 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2318 --error ER_INVALID_JSON_VALUE_FOR_CAST
2319 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2320 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2321 --error ER_INVALID_JSON_VALUE_FOR_CAST
2322 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2323 --error ER_INVALID_JSON_VALUE_FOR_CAST
2324 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2325 --error ER_INVALID_JSON_VALUE_FOR_CAST
2326 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2327 --error ER_INVALID_JSON_VALUE_FOR_CAST
2328 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2329 --error ER_INVALID_JSON_VALUE_FOR_CAST
2330 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2331 --error ER_INVALID_JSON_VALUE_FOR_CAST
2332 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2333 --error ER_INVALID_JSON_VALUE_FOR_CAST
2334 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2335 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2336 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2337 --error ER_INVALID_JSON_VALUE_FOR_CAST
2338 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2339 insert into at(c,_dtt) select concat('_dtt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2340 insert into at(c,_dat) select concat('_dat: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2341
2342 --error ER_INVALID_JSON_VALUE_FOR_CAST
2343 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='null';
2344 --error ER_INVALID_JSON_VALUE_FOR_CAST
2345 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='bool';
2346 --error ER_INVALID_JSON_VALUE_FOR_CAST
2347 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='uint';
2348 --error ER_INVALID_JSON_VALUE_FOR_CAST
2349 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='int';
2350 --error ER_INVALID_JSON_VALUE_FOR_CAST
2351 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='double';
2352 --error ER_INVALID_JSON_VALUE_FOR_CAST
2353 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='stringany';
2354 --error ER_INVALID_JSON_VALUE_FOR_CAST
2355 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='stringint';
2356 --error ER_INVALID_JSON_VALUE_FOR_CAST
2357 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='stringdecimal';
2358 --error ER_INVALID_JSON_VALUE_FOR_CAST
2359 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='object';
2360 --error ER_INVALID_JSON_VALUE_FOR_CAST
2361 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='array';
2362 --error ER_INVALID_JSON_VALUE_FOR_CAST
2363 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2364 --error ER_INVALID_JSON_VALUE_FOR_CAST
2365 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2366 --error ER_INVALID_JSON_VALUE_FOR_CAST
2367 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2368 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2369 --error ER_INVALID_JSON_VALUE_FOR_CAST
2370 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2371 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2372 --error ER_INVALID_JSON_VALUE_FOR_CAST
2373 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2374 --error ER_INVALID_JSON_VALUE_FOR_CAST
2375 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2376 --error ER_INVALID_JSON_VALUE_FOR_CAST
2377 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2378 --error ER_INVALID_JSON_VALUE_FOR_CAST
2379 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2380 --error ER_INVALID_JSON_VALUE_FOR_CAST
2381 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2382 --error ER_INVALID_JSON_VALUE_FOR_CAST
2383 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2384 --error ER_INVALID_JSON_VALUE_FOR_CAST
2385 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2386 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2387 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2388 --error ER_INVALID_JSON_VALUE_FOR_CAST
2389 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2390 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2391 insert into at(c,_smp) select concat('_smp: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2392
2393 --error ER_INVALID_JSON_VALUE_FOR_CAST
2394 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='null';
2395 --error ER_INVALID_JSON_VALUE_FOR_CAST
2396 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='bool';
2397 --error ER_INVALID_JSON_VALUE_FOR_CAST
2398 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='uint';
2399 --error ER_INVALID_JSON_VALUE_FOR_CAST
2400 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='int';
2401 --error ER_INVALID_JSON_VALUE_FOR_CAST
2402 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='double';
2403 --error ER_INVALID_JSON_VALUE_FOR_CAST
2404 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='stringany';
2405 --error ER_INVALID_JSON_VALUE_FOR_CAST
2406 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='stringint';
2407 --error ER_INVALID_JSON_VALUE_FOR_CAST
2408 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='stringdecimal';
2409 --error ER_INVALID_JSON_VALUE_FOR_CAST
2410 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='object';
2411 --error ER_INVALID_JSON_VALUE_FOR_CAST
2412 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='array';
2413 --error ER_INVALID_JSON_VALUE_FOR_CAST
2414 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2415 --error ER_INVALID_JSON_VALUE_FOR_CAST
2416 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2417 --error ER_INVALID_JSON_VALUE_FOR_CAST
2418 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2419 --error ER_INVALID_JSON_VALUE_FOR_CAST
2420 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2421 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2422 --error ER_INVALID_JSON_VALUE_FOR_CAST
2423 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2424 --error ER_INVALID_JSON_VALUE_FOR_CAST
2425 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2426 --error ER_INVALID_JSON_VALUE_FOR_CAST
2427 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2428 --error ER_INVALID_JSON_VALUE_FOR_CAST
2429 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2430 --error ER_INVALID_JSON_VALUE_FOR_CAST
2431 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2432 --error ER_INVALID_JSON_VALUE_FOR_CAST
2433 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2434 --error ER_INVALID_JSON_VALUE_FOR_CAST
2435 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2436 --error ER_INVALID_JSON_VALUE_FOR_CAST
2437 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2438 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2439 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2440 --error ER_INVALID_JSON_VALUE_FOR_CAST
2441 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2442 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2443 insert into at(c,_tim) select concat('_tim: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2444
2445 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2446 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='null';
2447 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2448 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='bool';
2449 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='uint';
2450 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='int';
2451 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='double';
2452 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2453 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='stringany';
2454 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2455 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='stringint'; # JSON_UNQUOTE helps
2456 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2457 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='stringdecimal';
2458 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2459 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='object';
2460 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2461 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='array';
2462 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2463 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2464 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2465 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2466 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2467 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2468 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2469 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2470 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2471 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2472 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2473 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2474 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2475 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2476 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2477 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2478 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2479 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2480 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2481 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2482 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2483 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2484 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2485 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2486 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2487 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2488 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
2489 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2490 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2491 insert into at(c,_yea) select concat('_yea: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2492
2493 insert into at(c,_jsn) select concat('_jsn: ',c), json_extract(j, '$') from t;
2494
2495 insert into at(c,_chr) select concat('_chr: ',c), json_extract(j, '$') from t;
2496
2497 insert into at(c,_vch) select concat('_vch: ',c), json_extract(j, '$') from t;
2498
2499 insert into at(c,_bin) select concat('_bin: ',c), json_extract(j, '$') from t;
2500
2501 insert into at(c,_vbn) select concat('_vbn: ',c), json_extract(j, '$') from t;
2502
2503 insert into at(c,_tbl) select concat('_tbl: ',c), json_extract(j, '$') from t;
2504
2505 insert into at(c,_ttx) select concat('_ttx: ',c), json_extract(j, '$') from t;
2506
2507 insert into at(c,_blb) select concat('_blb: ',c), json_extract(j, '$') from t;
2508
2509 insert into at(c,_txt) select concat('_txt: ',c), json_extract(j, '$') from t;
2510
2511 insert into at(c,_mbb) select concat('_mbb: ',c), json_extract(j, '$') from t;
2512
2513 insert into at(c,_mtx) select concat('_mtx: ',c), json_extract(j, '$') from t;
2514
2515 insert into at(c,_lbb) select concat('_lbb: ',c), json_extract(j, '$') from t;
2516
2517 insert into at(c,_ltx) select concat('_ltx: ',c), json_extract(j, '$') from t;
2518
2519 --error 1265
2520 # insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='null';
2521 --error 1265
2522 # insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='bool';
2523 --error 1265
2524 #insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='uint';
2525 --error 1265
2526 #insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='int';
2527 --error 1265
2528 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='double';
2529 --error 1265
2530 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='stringany'; # needs JSON_UNQUOTE
2531 --error 1265
2532 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='stringint';
2533 --error 1265
2534 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='stringdecimal';
2535 --error 1265
2536 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='object';
2537 --error 1265
2538 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='array';
2539 --error 1265
2540 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2541 --error 1265
2542 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2543 --error 1265
2544 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2545 --error 1265
2546 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2547 --error 1265
2548 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2549 --error 1265
2550 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2551 --error 1265
2552 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2553 --error 1265
2554 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2555 --error 1265
2556 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2557 --error 1265
2558 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2559 --error 1265
2560 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2561 --error 1265
2562 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2563 --error 1265
2564 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2565 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2566 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2567 --error 1265
2568 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2569 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2570 insert into at(c,_enu) select concat('_enu: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2571
2572 --error 1265
2573 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='null';
2574 --error 1265
2575 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='bool';
2576 --error 1265
2577 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='uint';
2578 --error 1265
2579 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='int';
2580 --error 1265
2581 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='double';
2582 --error 1265
2583 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='stringany'; # needs JSON_UNQUOTE
2584 --error 1265
2585 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='stringint';
2586 --error 1265
2587 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='stringdecimal';
2588 --error 1265
2589 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='object';
2590 --error 1265
2591 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='array';
2592 --error 1265
2593 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2594 --error 1265
2595 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2596 --error 1265
2597 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2598 --error 1265
2599 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2600 --error 1265
2601 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2602 --error 1265
2603 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2604 --error 1265
2605 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2606 --error 1265
2607 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2608 --error 1265
2609 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2610 --error 1265
2611 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2612 --error 1265
2613 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2614 --error 1265
2615 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2616 --error 1265
2617 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2618 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2619 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2620 --error 1265
2621 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2622 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2623 insert into at(c,_set) select concat('_set: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2624
2625 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2626 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='null';
2627 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2628 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='bool';
2629 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2630 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='uint';
2631 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2632 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='int';
2633 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2634 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='double';
2635 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2636 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='stringany';
2637 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2638 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='stringint';
2639 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2640 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='stringdecimal';
2641 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2642 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='object';
2643 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2644 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='array';
2645 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2646 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2647 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2648 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2649 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2650 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2651 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2652 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2653 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2654 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2655 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2656 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2657 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2658 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2659 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2660 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2661 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2662 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2663 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2664 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2665 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2666 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2667 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2668 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2669 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2670 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2671 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2672 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2673 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2674 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2675 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2676 insert into at(c,_geo) select concat('_geo: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2677
2678 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2679 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='null';
2680 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2681 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='bool';
2682 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2683 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='uint';
2684 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2685 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='int';
2686 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2687 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='double';
2688 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2689 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='stringany';
2690 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2691 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='stringint';
2692 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2693 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='stringdecimal';
2694 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2695 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='object';
2696 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2697 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='array';
2698 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2699 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2700 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2701 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2702 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2703 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2704 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2705 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2706 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2707 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2708 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2709 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2710 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2711 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2712 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2713 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2714 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2715 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2716 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2717 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2718 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2719 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2720 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2721 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2722 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2723 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2724 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2725 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2726 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2727 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2728 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2729 insert into at(c,_pnt) select concat('_pnt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2730
2731 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2732 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='null';
2733 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2734 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='bool';
2735 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2736 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='uint';
2737 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2738 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='int';
2739 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2740 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='double';
2741 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2742 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='stringany';
2743 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2744 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='stringint';
2745 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2746 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='stringdecimal';
2747 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2748 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='object';
2749 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2750 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='array';
2751 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2752 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2753 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2754 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2755 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2756 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2757 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2758 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2759 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2760 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2761 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2762 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2763 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2764 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2765 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2766 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2767 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2768 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2769 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2770 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2771 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2772 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2773 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2774 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2775 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2776 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2777 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2778 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2779 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2780 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2781 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2782 insert into at(c,_lst) select concat('_lst: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2783
2784 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2785 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='null';
2786 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2787 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='bool';
2788 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2789 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='uint';
2790 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2791 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='int';
2792 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2793 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='double';
2794 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2795 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='stringany';
2796 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2797 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='stringint';
2798 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2799 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='stringdecimal';
2800 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2801 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='object';
2802 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2803 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='array';
2804 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2805 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2806 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2807 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2808 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2809 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2810 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2811 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2812 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2813 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2814 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2815 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2816 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2817 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2818 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2819 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2820 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2821 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2822 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2823 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2824 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2825 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2826 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2827 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2828 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2829 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2830 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2831 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2832 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2833 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2834 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2835 insert into at(c,_pol) select concat('_pol: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2836
2837 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2838 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='null';
2839 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2840 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='bool';
2841 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2842 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='uint';
2843 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2844 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='int';
2845 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2846 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='double';
2847 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2848 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='stringany';
2849 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2850 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='stringint';
2851 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2852 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='stringdecimal';
2853 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2854 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='object';
2855 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2856 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='array';
2857 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2858 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2859 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2860 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2861 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2862 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2863 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2864 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2865 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2866 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2867 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2868 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2869 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2870 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2871 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2872 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2873 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2874 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2875 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2876 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2877 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2878 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2879 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2880 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2881 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2882 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2883 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2884 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2885 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2886 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2887 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2888 insert into at(c,_mpt) select concat('_mpt: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2889
2890 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2891 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='null';
2892 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2893 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='bool';
2894 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2895 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='uint';
2896 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2897 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='int';
2898 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2899 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='double';
2900 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2901 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='stringany';
2902 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2903 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='stringint';
2904 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2905 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='stringdecimal';
2906 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2907 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='object';
2908 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2909 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='array';
2910 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2911 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2912 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2913 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2914 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2915 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2916 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2917 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2918 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2919 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2920 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2921 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2922 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2923 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2924 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2925 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2926 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2927 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2928 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2929 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2930 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2931 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2932 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2933 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2934 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2935 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2936 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2937 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2938 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2939 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2940 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2941 insert into at(c,_mls) select concat('_mls: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2942
2943 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2944 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='null';
2945 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2946 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='bool';
2947 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2948 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='uint';
2949 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2950 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='int';
2951 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2952 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='double';
2953 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2954 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='stringany';
2955 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2956 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='stringint';
2957 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2958 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='stringdecimal';
2959 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2960 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='object';
2961 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2962 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='array';
2963 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2964 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
2965 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2966 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
2967 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2968 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
2969 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2970 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
2971 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2972 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
2973 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2974 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
2975 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2976 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
2977 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2978 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
2979 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2980 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
2981 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2982 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
2983 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2984 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
2985 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2986 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
2987 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2988 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
2989 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
2990 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
2991 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2992 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
2993 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
2994 insert into at(c,_mpy) select concat('_mpy: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
2995
2996 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2997 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='null';
2998 --error ER_CANT_CREATE_GEOMETRY_OBJECT
2999 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='bool';
3000 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3001 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='uint';
3002 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3003 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='int';
3004 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3005 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='double';
3006 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3007 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='stringany';
3008 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3009 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='stringint';
3010 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3011 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='stringdecimal';
3012 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3013 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='object';
3014 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3015 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='array';
3016 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3017 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_decimal';
3018 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3019 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_set';
3020 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3021 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_enum';
3022 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3023 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_date';
3024 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3025 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_time';
3026 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3027 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_datetime';
3028 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3029 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_geom';
3030 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3031 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_bit';
3032 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3033 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_year';
3034 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3035 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_blob';
3036 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3037 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_longblob';
3038 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3039 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_mediumblob';
3040 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3041 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_tinyblob';
3042 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varbinary';
3043 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_binary';
3044 --error ER_CANT_CREATE_GEOMETRY_OBJECT
3045 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_varchar';
3046 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_string';
3047 insert into at(c,_gco) select concat('_gco: ',c), json_extract(j, '$') from t where c='opaque_mysql_type_var_string';
3048
3049 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='bool') from t where c='bool';
3050
3051 --echo # ----------------------------------------------------------------------
3052 --echo # I N S E R T F R O M J S O N S U B S E L E C T
3053 --echo # ----------------------------------------------------------------------
3054 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='null') from t where c='null';
3055 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='bool') from t where c='bool';
3056 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='uint') from t where c='uint';
3057 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='int') from t where c='int';
3058 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='double') from t where c='double';
3059 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='stringany') from t where c='stringany';
3060 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='stringint') from t where c='stringint';
3061 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3062 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='object') from t where c='object';
3063 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='array') from t where c='array';
3064 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3065 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3066 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3067 --error ER_DATA_TOO_LONG
3068 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3069 --error ER_DATA_TOO_LONG
3070 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3071 --error ER_DATA_TOO_LONG
3072 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3073 --error ER_DATA_TOO_LONG
3074 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3075 --error ER_DATA_TOO_LONG
3076 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3077 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3078 --error ER_DATA_TOO_LONG
3079 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3080 --error ER_DATA_TOO_LONG
3081 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3082 --error ER_DATA_TOO_LONG
3083 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3084 --error ER_DATA_TOO_LONG
3085 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3086 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3087 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3088 --error ER_DATA_TOO_LONG
3089 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3090 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3091 insert into at(c,_bit) select concat('_bit: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3092
3093 --error ER_INVALID_JSON_VALUE_FOR_CAST
3094 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='null') from t where c='null';
3095 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='bool') from t where c='bool';
3096 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='uint') from t where c='uint';
3097 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='int') from t where c='int';
3098 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='double') from t where c='double';
3099 --error ER_INVALID_JSON_VALUE_FOR_CAST
3100 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='stringany') from t where c='stringany';
3101 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='stringint') from t where c='stringint';
3102 --error ER_INVALID_JSON_VALUE_FOR_CAST
3103 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal'; # needs cast(j as decimal)
3104 --error ER_INVALID_JSON_VALUE_FOR_CAST
3105 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='object') from t where c='object';
3106 --error ER_INVALID_JSON_VALUE_FOR_CAST
3107 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='array') from t where c='array';
3108 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3109 --error ER_INVALID_JSON_VALUE_FOR_CAST
3110 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3111 --error ER_INVALID_JSON_VALUE_FOR_CAST
3112 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3113 --error ER_INVALID_JSON_VALUE_FOR_CAST
3114 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3115 --error ER_INVALID_JSON_VALUE_FOR_CAST
3116 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3117 --error ER_INVALID_JSON_VALUE_FOR_CAST
3118 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3119 --error ER_INVALID_JSON_VALUE_FOR_CAST
3120 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3121 --error ER_INVALID_JSON_VALUE_FOR_CAST
3122 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3123 --error ER_WARN_DATA_OUT_OF_RANGE
3124 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3125 --error ER_INVALID_JSON_VALUE_FOR_CAST
3126 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3127 --error ER_INVALID_JSON_VALUE_FOR_CAST
3128 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3129 --error ER_INVALID_JSON_VALUE_FOR_CAST
3130 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3131 --error ER_INVALID_JSON_VALUE_FOR_CAST
3132 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3133 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3134 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3135 --error ER_INVALID_JSON_VALUE_FOR_CAST
3136 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3137 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3138 insert into at(c,_tin) select concat('_tin: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3139
3140 --error ER_INVALID_JSON_VALUE_FOR_CAST
3141 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='null') from t where c='null';
3142 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='bool') from t where c='bool';
3143 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='uint') from t where c='uint';
3144 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='int') from t where c='int';
3145 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='double') from t where c='double';
3146 --error ER_INVALID_JSON_VALUE_FOR_CAST
3147 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='stringany') from t where c='stringany';
3148 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='stringint') from t where c='stringint';
3149 --error ER_INVALID_JSON_VALUE_FOR_CAST
3150 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3151 --error ER_INVALID_JSON_VALUE_FOR_CAST
3152 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='object') from t where c='object';
3153 --error ER_INVALID_JSON_VALUE_FOR_CAST
3154 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='array') from t where c='array';
3155 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3156 --error ER_INVALID_JSON_VALUE_FOR_CAST
3157 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3158 --error ER_INVALID_JSON_VALUE_FOR_CAST
3159 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3160 --error ER_INVALID_JSON_VALUE_FOR_CAST
3161 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3162 --error ER_INVALID_JSON_VALUE_FOR_CAST
3163 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3164 --error ER_INVALID_JSON_VALUE_FOR_CAST
3165 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3166 --error ER_INVALID_JSON_VALUE_FOR_CAST
3167 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3168 --error ER_INVALID_JSON_VALUE_FOR_CAST
3169 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3170 --error ER_WARN_DATA_OUT_OF_RANGE
3171 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3172 --error ER_INVALID_JSON_VALUE_FOR_CAST
3173 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3174 --error ER_INVALID_JSON_VALUE_FOR_CAST
3175 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3176 --error ER_INVALID_JSON_VALUE_FOR_CAST
3177 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3178 --error ER_INVALID_JSON_VALUE_FOR_CAST
3179 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3180 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3181 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3182 --error ER_INVALID_JSON_VALUE_FOR_CAST
3183 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3184 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3185 insert into at(c,_boo) select concat('_boo: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3186
3187 --error ER_INVALID_JSON_VALUE_FOR_CAST
3188 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='null') from t where c='null';
3189 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='bool') from t where c='bool';
3190 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='uint') from t where c='uint';
3191 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='int') from t where c='int';
3192 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='double') from t where c='double';
3193 --error ER_INVALID_JSON_VALUE_FOR_CAST
3194 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='stringany') from t where c='stringany';
3195 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='stringint') from t where c='stringint';
3196 --error ER_INVALID_JSON_VALUE_FOR_CAST
3197 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3198 --error ER_INVALID_JSON_VALUE_FOR_CAST
3199 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='object') from t where c='object';
3200 --error ER_INVALID_JSON_VALUE_FOR_CAST
3201 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='array') from t where c='array';
3202 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3203 --error ER_INVALID_JSON_VALUE_FOR_CAST
3204 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3205 --error ER_INVALID_JSON_VALUE_FOR_CAST
3206 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3207 --error ER_INVALID_JSON_VALUE_FOR_CAST
3208 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3209 --error ER_INVALID_JSON_VALUE_FOR_CAST
3210 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3211 --error ER_INVALID_JSON_VALUE_FOR_CAST
3212 --error ER_INVALID_JSON_VALUE_FOR_CAST
3213 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3214 --error ER_INVALID_JSON_VALUE_FOR_CAST
3215 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3216 --error ER_INVALID_JSON_VALUE_FOR_CAST
3217 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3218 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3219 --error ER_INVALID_JSON_VALUE_FOR_CAST
3220 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3221 --error ER_INVALID_JSON_VALUE_FOR_CAST
3222 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3223 --error ER_INVALID_JSON_VALUE_FOR_CAST
3224 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3225 --error ER_INVALID_JSON_VALUE_FOR_CAST
3226 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3227 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3228 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3229 --error ER_INVALID_JSON_VALUE_FOR_CAST
3230 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3231 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3232 insert into at(c,_sms) select concat('_sms: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3233
3234 --error ER_INVALID_JSON_VALUE_FOR_CAST
3235 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='null') from t where c='null';
3236 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='bool') from t where c='bool';
3237 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='uint') from t where c='uint';
3238 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='int') from t where c='int';
3239 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='double') from t where c='double';
3240 --error ER_INVALID_JSON_VALUE_FOR_CAST
3241 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='stringany') from t where c='stringany';
3242 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='stringint') from t where c='stringint';
3243 --error ER_INVALID_JSON_VALUE_FOR_CAST
3244 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3245 --error ER_INVALID_JSON_VALUE_FOR_CAST
3246 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='object') from t where c='object';
3247 --error ER_INVALID_JSON_VALUE_FOR_CAST
3248 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='array') from t where c='array';
3249 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3250 --error ER_INVALID_JSON_VALUE_FOR_CAST
3251 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3252 --error ER_INVALID_JSON_VALUE_FOR_CAST
3253 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3254 --error ER_INVALID_JSON_VALUE_FOR_CAST
3255 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3256 --error ER_INVALID_JSON_VALUE_FOR_CAST
3257 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3258 --error ER_INVALID_JSON_VALUE_FOR_CAST
3259 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3260 --error ER_INVALID_JSON_VALUE_FOR_CAST
3261 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3262 --error ER_INVALID_JSON_VALUE_FOR_CAST
3263 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3264 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3265 --error ER_INVALID_JSON_VALUE_FOR_CAST
3266 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3267 --error ER_INVALID_JSON_VALUE_FOR_CAST
3268 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3269 --error ER_INVALID_JSON_VALUE_FOR_CAST
3270 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3271 --error ER_INVALID_JSON_VALUE_FOR_CAST
3272 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3273 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3274 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3275 --error ER_INVALID_JSON_VALUE_FOR_CAST
3276 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3277 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3278 insert into at(c,_smu) select concat('_smu: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3279
3280 --error ER_INVALID_JSON_VALUE_FOR_CAST
3281 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='null') from t where c='null';
3282 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='bool') from t where c='bool';
3283 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='uint') from t where c='uint';
3284 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='int') from t where c='int';
3285 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='double') from t where c='double';
3286 --error ER_INVALID_JSON_VALUE_FOR_CAST
3287 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='stringany') from t where c='stringany';
3288 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='stringint') from t where c='stringint';
3289 --error ER_INVALID_JSON_VALUE_FOR_CAST
3290 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3291 --error ER_INVALID_JSON_VALUE_FOR_CAST
3292 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='object') from t where c='object';
3293 --error ER_INVALID_JSON_VALUE_FOR_CAST
3294 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='array') from t where c='array';
3295 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3296 --error ER_INVALID_JSON_VALUE_FOR_CAST
3297 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3298 --error ER_INVALID_JSON_VALUE_FOR_CAST
3299 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3300 --error ER_INVALID_JSON_VALUE_FOR_CAST
3301 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3302 --error ER_INVALID_JSON_VALUE_FOR_CAST
3303 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3304 --error ER_INVALID_JSON_VALUE_FOR_CAST
3305 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3306 --error ER_INVALID_JSON_VALUE_FOR_CAST
3307 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3308 --error ER_INVALID_JSON_VALUE_FOR_CAST
3309 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3310 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3311 --error ER_INVALID_JSON_VALUE_FOR_CAST
3312 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3313 --error ER_INVALID_JSON_VALUE_FOR_CAST
3314 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3315 --error ER_INVALID_JSON_VALUE_FOR_CAST
3316 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3317 --error ER_INVALID_JSON_VALUE_FOR_CAST
3318 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3319 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3320 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3321 --error ER_INVALID_JSON_VALUE_FOR_CAST
3322 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3323 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3324 insert into at(c,_mes) select concat('_mes: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3325
3326 --error ER_INVALID_JSON_VALUE_FOR_CAST
3327 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='null') from t where c='null';
3328 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='bool') from t where c='bool';
3329 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='uint') from t where c='uint';
3330 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='int') from t where c='int';
3331 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='double') from t where c='double';
3332 --error ER_INVALID_JSON_VALUE_FOR_CAST
3333 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='stringany') from t where c='stringany';
3334 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='stringint') from t where c='stringint';
3335 --error ER_INVALID_JSON_VALUE_FOR_CAST
3336 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3337 --error ER_INVALID_JSON_VALUE_FOR_CAST
3338 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='object') from t where c='object';
3339 --error ER_INVALID_JSON_VALUE_FOR_CAST
3340 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='array') from t where c='array';
3341 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3342 --error ER_INVALID_JSON_VALUE_FOR_CAST
3343 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3344 --error ER_INVALID_JSON_VALUE_FOR_CAST
3345 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3346 --error ER_INVALID_JSON_VALUE_FOR_CAST
3347 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3348 --error ER_INVALID_JSON_VALUE_FOR_CAST
3349 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3350 --error ER_INVALID_JSON_VALUE_FOR_CAST
3351 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3352 --error ER_INVALID_JSON_VALUE_FOR_CAST
3353 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3354 --error ER_INVALID_JSON_VALUE_FOR_CAST
3355 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3356 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3357 --error ER_INVALID_JSON_VALUE_FOR_CAST
3358 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3359 --error ER_INVALID_JSON_VALUE_FOR_CAST
3360 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3361 --error ER_INVALID_JSON_VALUE_FOR_CAST
3362 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3363 --error ER_INVALID_JSON_VALUE_FOR_CAST
3364 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3365 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3366 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3367 --error ER_INVALID_JSON_VALUE_FOR_CAST
3368 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3369 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3370 insert into at(c,_meu) select concat('_meu: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3371
3372 --error ER_INVALID_JSON_VALUE_FOR_CAST
3373 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='null') from t where c='null';
3374 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='bool') from t where c='bool';
3375 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='uint') from t where c='uint';
3376 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='int') from t where c='int';
3377 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='double') from t where c='double';
3378 --error ER_INVALID_JSON_VALUE_FOR_CAST
3379 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='stringany') from t where c='stringany';
3380 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='stringint') from t where c='stringint';
3381 --error ER_INVALID_JSON_VALUE_FOR_CAST
3382 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3383 --error ER_INVALID_JSON_VALUE_FOR_CAST
3384 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='object') from t where c='object';
3385 --error ER_INVALID_JSON_VALUE_FOR_CAST
3386 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='array') from t where c='array';
3387 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3388 --error ER_INVALID_JSON_VALUE_FOR_CAST
3389 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3390 --error ER_INVALID_JSON_VALUE_FOR_CAST
3391 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3392 --error ER_INVALID_JSON_VALUE_FOR_CAST
3393 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3394 --error ER_INVALID_JSON_VALUE_FOR_CAST
3395 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3396 --error ER_INVALID_JSON_VALUE_FOR_CAST
3397 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3398 --error ER_INVALID_JSON_VALUE_FOR_CAST
3399 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3400 --error ER_INVALID_JSON_VALUE_FOR_CAST
3401 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3402 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3403 --error ER_INVALID_JSON_VALUE_FOR_CAST
3404 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3405 --error ER_INVALID_JSON_VALUE_FOR_CAST
3406 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3407 --error ER_INVALID_JSON_VALUE_FOR_CAST
3408 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3409 --error ER_INVALID_JSON_VALUE_FOR_CAST
3410 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3411 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3412 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3413 --error ER_INVALID_JSON_VALUE_FOR_CAST
3414 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3415 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3416 insert into at(c,_ins) select concat('_ins: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3417
3418 --error ER_INVALID_JSON_VALUE_FOR_CAST
3419 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='null') from t where c='null';
3420 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='bool') from t where c='bool';
3421 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='uint') from t where c='uint';
3422 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='int') from t where c='int';
3423 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='double') from t where c='double';
3424 --error ER_INVALID_JSON_VALUE_FOR_CAST
3425 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='stringany') from t where c='stringany';
3426 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='stringint') from t where c='stringint';
3427 --error ER_INVALID_JSON_VALUE_FOR_CAST
3428 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3429 --error ER_INVALID_JSON_VALUE_FOR_CAST
3430 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='object') from t where c='object';
3431 --error ER_INVALID_JSON_VALUE_FOR_CAST
3432 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='array') from t where c='array';
3433 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3434 --error ER_INVALID_JSON_VALUE_FOR_CAST
3435 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3436 --error ER_INVALID_JSON_VALUE_FOR_CAST
3437 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3438 --error ER_INVALID_JSON_VALUE_FOR_CAST
3439 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3440 --error ER_INVALID_JSON_VALUE_FOR_CAST
3441 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3442 --error ER_INVALID_JSON_VALUE_FOR_CAST
3443 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3444 --error ER_INVALID_JSON_VALUE_FOR_CAST
3445 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3446 --error ER_INVALID_JSON_VALUE_FOR_CAST
3447 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3448 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3449 --error ER_INVALID_JSON_VALUE_FOR_CAST
3450 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3451 --error ER_INVALID_JSON_VALUE_FOR_CAST
3452 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3453 --error ER_INVALID_JSON_VALUE_FOR_CAST
3454 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3455 --error ER_INVALID_JSON_VALUE_FOR_CAST
3456 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3457 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3458 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3459 --error ER_INVALID_JSON_VALUE_FOR_CAST
3460 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3461 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3462 insert into at(c,_inu) select concat('_inu: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3463
3464 --error ER_INVALID_JSON_VALUE_FOR_CAST
3465 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='null') from t where c='null';
3466 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='bool') from t where c='bool';
3467 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='uint') from t where c='uint';
3468 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='int') from t where c='int';
3469 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='double') from t where c='double';
3470 --error ER_INVALID_JSON_VALUE_FOR_CAST
3471 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='stringany') from t where c='stringany';
3472 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='stringint') from t where c='stringint';
3473 --error ER_INVALID_JSON_VALUE_FOR_CAST
3474 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3475 --error ER_INVALID_JSON_VALUE_FOR_CAST
3476 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='object') from t where c='object';
3477 --error ER_INVALID_JSON_VALUE_FOR_CAST
3478 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='array') from t where c='array';
3479 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3480 --error ER_INVALID_JSON_VALUE_FOR_CAST
3481 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3482 --error ER_INVALID_JSON_VALUE_FOR_CAST
3483 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3484 --error ER_INVALID_JSON_VALUE_FOR_CAST
3485 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3486 --error ER_INVALID_JSON_VALUE_FOR_CAST
3487 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3488 --error ER_INVALID_JSON_VALUE_FOR_CAST
3489 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3490 --error ER_INVALID_JSON_VALUE_FOR_CAST
3491 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3492 --error ER_INVALID_JSON_VALUE_FOR_CAST
3493 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3494 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3495 --error ER_INVALID_JSON_VALUE_FOR_CAST
3496 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3497 --error ER_INVALID_JSON_VALUE_FOR_CAST
3498 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3499 --error ER_INVALID_JSON_VALUE_FOR_CAST
3500 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3501 --error ER_INVALID_JSON_VALUE_FOR_CAST
3502 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3503 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3504 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3505 --error ER_INVALID_JSON_VALUE_FOR_CAST
3506 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3507 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3508 insert into at(c,_bis) select concat('_bis: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3509
3510 --error ER_INVALID_JSON_VALUE_FOR_CAST
3511 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='null') from t where c='null';
3512 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='bool') from t where c='bool';
3513 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='uint') from t where c='uint';
3514 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='int') from t where c='int';
3515 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='double') from t where c='double';
3516 --error ER_INVALID_JSON_VALUE_FOR_CAST
3517 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='stringany') from t where c='stringany';
3518 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='stringint') from t where c='stringint';
3519 --error ER_INVALID_JSON_VALUE_FOR_CAST
3520 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3521 --error ER_INVALID_JSON_VALUE_FOR_CAST
3522 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='object') from t where c='object';
3523 --error ER_INVALID_JSON_VALUE_FOR_CAST
3524 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='array') from t where c='array';
3525 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3526 --error ER_INVALID_JSON_VALUE_FOR_CAST
3527 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3528 --error ER_INVALID_JSON_VALUE_FOR_CAST
3529 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3530 --error ER_INVALID_JSON_VALUE_FOR_CAST
3531 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3532 --error ER_INVALID_JSON_VALUE_FOR_CAST
3533 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3534 --error ER_INVALID_JSON_VALUE_FOR_CAST
3535 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3536 --error ER_INVALID_JSON_VALUE_FOR_CAST
3537 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3538 --error ER_INVALID_JSON_VALUE_FOR_CAST
3539 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3540 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3541 --error ER_INVALID_JSON_VALUE_FOR_CAST
3542 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3543 --error ER_INVALID_JSON_VALUE_FOR_CAST
3544 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3545 --error ER_INVALID_JSON_VALUE_FOR_CAST
3546 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3547 --error ER_INVALID_JSON_VALUE_FOR_CAST
3548 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3549 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3550 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3551 --error ER_INVALID_JSON_VALUE_FOR_CAST
3552 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3553 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3554 insert into at(c,_biu) select concat('_biu: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3555
3556 --error ER_INVALID_JSON_VALUE_FOR_CAST
3557 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='null') from t where c='null';
3558 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='bool') from t where c='bool';
3559 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='uint') from t where c='uint';
3560 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='int') from t where c='int';
3561 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='double') from t where c='double';
3562 --error ER_INVALID_JSON_VALUE_FOR_CAST
3563 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='stringany') from t where c='stringany';
3564 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='stringint') from t where c='stringint';
3565 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3566 --error ER_INVALID_JSON_VALUE_FOR_CAST
3567 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='object') from t where c='object';
3568 --error ER_INVALID_JSON_VALUE_FOR_CAST
3569 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='array') from t where c='array';
3570 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3571 --error ER_INVALID_JSON_VALUE_FOR_CAST
3572 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3573 --error ER_INVALID_JSON_VALUE_FOR_CAST
3574 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3575 --error ER_INVALID_JSON_VALUE_FOR_CAST
3576 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3577 --error ER_INVALID_JSON_VALUE_FOR_CAST
3578 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3579 --error ER_INVALID_JSON_VALUE_FOR_CAST
3580 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3581 --error ER_INVALID_JSON_VALUE_FOR_CAST
3582 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3583 --error ER_INVALID_JSON_VALUE_FOR_CAST
3584 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3585 --error ER_WARN_DATA_OUT_OF_RANGE
3586 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3587 --error ER_INVALID_JSON_VALUE_FOR_CAST
3588 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3589 --error ER_INVALID_JSON_VALUE_FOR_CAST
3590 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3591 --error ER_INVALID_JSON_VALUE_FOR_CAST
3592 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3593 --error ER_INVALID_JSON_VALUE_FOR_CAST
3594 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3595 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3596 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3597 --error ER_INVALID_JSON_VALUE_FOR_CAST
3598 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3599 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3600 insert into at(c,_dec) select concat('_dec: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3601
3602 --error ER_INVALID_JSON_VALUE_FOR_CAST
3603 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='null') from t where c='null';
3604 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='bool') from t where c='bool';
3605 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='uint') from t where c='uint';
3606 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='int') from t where c='int';
3607 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='double') from t where c='double';
3608 --error ER_INVALID_JSON_VALUE_FOR_CAST
3609 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='stringany') from t where c='stringany';
3610 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='stringint') from t where c='stringint';
3611 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3612 --error ER_INVALID_JSON_VALUE_FOR_CAST
3613 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='object') from t where c='object';
3614 --error ER_INVALID_JSON_VALUE_FOR_CAST
3615 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='array') from t where c='array';
3616 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3617 --error ER_INVALID_JSON_VALUE_FOR_CAST
3618 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3619 --error ER_INVALID_JSON_VALUE_FOR_CAST
3620 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3621 --error ER_INVALID_JSON_VALUE_FOR_CAST
3622 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3623 --error ER_INVALID_JSON_VALUE_FOR_CAST
3624 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3625 --error ER_INVALID_JSON_VALUE_FOR_CAST
3626 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3627 --error ER_INVALID_JSON_VALUE_FOR_CAST
3628 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3629 --error ER_INVALID_JSON_VALUE_FOR_CAST
3630 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3631 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3632 --error ER_INVALID_JSON_VALUE_FOR_CAST
3633 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3634 --error ER_INVALID_JSON_VALUE_FOR_CAST
3635 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3636 --error ER_INVALID_JSON_VALUE_FOR_CAST
3637 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3638 --error ER_INVALID_JSON_VALUE_FOR_CAST
3639 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3640 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3641 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3642 --error ER_INVALID_JSON_VALUE_FOR_CAST
3643 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3644 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3645 insert into at(c,_flo) select concat('_flo: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3646
3647 --error ER_INVALID_JSON_VALUE_FOR_CAST
3648 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='null') from t where c='null';
3649 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='bool') from t where c='bool';
3650 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='uint') from t where c='uint';
3651 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='int') from t where c='int';
3652 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='double') from t where c='double';
3653 --error ER_INVALID_JSON_VALUE_FOR_CAST
3654 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='stringany') from t where c='stringany';
3655 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='stringint') from t where c='stringint';
3656 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3657 --error ER_INVALID_JSON_VALUE_FOR_CAST
3658 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='object') from t where c='object';
3659 --error ER_INVALID_JSON_VALUE_FOR_CAST
3660 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='array') from t where c='array';
3661 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3662 --error ER_INVALID_JSON_VALUE_FOR_CAST
3663 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3664 --error ER_INVALID_JSON_VALUE_FOR_CAST
3665 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3666 --error ER_INVALID_JSON_VALUE_FOR_CAST
3667 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3668 --error ER_INVALID_JSON_VALUE_FOR_CAST
3669 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3670 --error ER_INVALID_JSON_VALUE_FOR_CAST
3671 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3672 --error ER_INVALID_JSON_VALUE_FOR_CAST
3673 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3674 --error ER_INVALID_JSON_VALUE_FOR_CAST
3675 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3676 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3677 --error ER_INVALID_JSON_VALUE_FOR_CAST
3678 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3679 --error ER_INVALID_JSON_VALUE_FOR_CAST
3680 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3681 --error ER_INVALID_JSON_VALUE_FOR_CAST
3682 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3683 --error ER_INVALID_JSON_VALUE_FOR_CAST
3684 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3685 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3686 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3687 --error ER_INVALID_JSON_VALUE_FOR_CAST
3688 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3689 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3690 insert into at(c,_dou) select concat('_dou: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3691
3692 --error ER_INVALID_JSON_VALUE_FOR_CAST
3693 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='null') from t where c='null';
3694 --error ER_INVALID_JSON_VALUE_FOR_CAST
3695 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='bool') from t where c='bool';
3696 --error ER_INVALID_JSON_VALUE_FOR_CAST
3697 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='uint') from t where c='uint';
3698 --error ER_INVALID_JSON_VALUE_FOR_CAST
3699 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='int') from t where c='int';
3700 --error ER_INVALID_JSON_VALUE_FOR_CAST
3701 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='double') from t where c='double';
3702 --error ER_INVALID_JSON_VALUE_FOR_CAST
3703 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='stringany') from t where c='stringany';
3704 --error ER_INVALID_JSON_VALUE_FOR_CAST
3705 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='stringint') from t where c='stringint';
3706 --error ER_INVALID_JSON_VALUE_FOR_CAST
3707 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3708 --error ER_INVALID_JSON_VALUE_FOR_CAST
3709 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='object') from t where c='object';
3710 --error ER_INVALID_JSON_VALUE_FOR_CAST
3711 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='array') from t where c='array';
3712 --error ER_INVALID_JSON_VALUE_FOR_CAST
3713 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3714 --error ER_INVALID_JSON_VALUE_FOR_CAST
3715 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3716 --error ER_INVALID_JSON_VALUE_FOR_CAST
3717 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3718 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3719 --error ER_INVALID_JSON_VALUE_FOR_CAST
3720 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3721 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3722 --error ER_INVALID_JSON_VALUE_FOR_CAST
3723 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3724 --error ER_INVALID_JSON_VALUE_FOR_CAST
3725 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3726 --error ER_INVALID_JSON_VALUE_FOR_CAST
3727 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3728 --error ER_INVALID_JSON_VALUE_FOR_CAST
3729 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3730 --error ER_INVALID_JSON_VALUE_FOR_CAST
3731 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3732 --error ER_INVALID_JSON_VALUE_FOR_CAST
3733 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3734 --error ER_INVALID_JSON_VALUE_FOR_CAST
3735 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3736 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3737 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3738 --error ER_INVALID_JSON_VALUE_FOR_CAST
3739 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3740 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3741 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3742
3743 --error ER_INVALID_JSON_VALUE_FOR_CAST
3744 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='null') from t where c='null';
3745 --error ER_INVALID_JSON_VALUE_FOR_CAST
3746 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='bool') from t where c='bool';
3747 --error ER_INVALID_JSON_VALUE_FOR_CAST
3748 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='uint') from t where c='uint';
3749 --error ER_INVALID_JSON_VALUE_FOR_CAST
3750 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='int') from t where c='int';
3751 --error ER_INVALID_JSON_VALUE_FOR_CAST
3752 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='double') from t where c='double';
3753 --error ER_INVALID_JSON_VALUE_FOR_CAST
3754 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='stringany') from t where c='stringany';
3755 --error ER_INVALID_JSON_VALUE_FOR_CAST
3756 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='stringint') from t where c='stringint';
3757 --error ER_INVALID_JSON_VALUE_FOR_CAST
3758 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3759 --error ER_INVALID_JSON_VALUE_FOR_CAST
3760 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='object') from t where c='object';
3761 --error ER_INVALID_JSON_VALUE_FOR_CAST
3762 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='array') from t where c='array';
3763 --error ER_INVALID_JSON_VALUE_FOR_CAST
3764 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3765 --error ER_INVALID_JSON_VALUE_FOR_CAST
3766 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3767 --error ER_INVALID_JSON_VALUE_FOR_CAST
3768 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3769 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3770 --error ER_INVALID_JSON_VALUE_FOR_CAST
3771 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3772 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3773 --error ER_INVALID_JSON_VALUE_FOR_CAST
3774 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3775 --error ER_INVALID_JSON_VALUE_FOR_CAST
3776 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3777 --error ER_INVALID_JSON_VALUE_FOR_CAST
3778 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3779 --error ER_INVALID_JSON_VALUE_FOR_CAST
3780 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3781 --error ER_INVALID_JSON_VALUE_FOR_CAST
3782 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3783 --error ER_INVALID_JSON_VALUE_FOR_CAST
3784 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3785 --error ER_INVALID_JSON_VALUE_FOR_CAST
3786 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3787 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3788 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3789 --error ER_INVALID_JSON_VALUE_FOR_CAST
3790 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3791 insert into at(c,_dtt) select concat('_dtt: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3792 insert into at(c,_dat) select concat('_dat: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3793
3794 --error ER_INVALID_JSON_VALUE_FOR_CAST
3795 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='null') from t where c='null';
3796 --error ER_INVALID_JSON_VALUE_FOR_CAST
3797 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='bool') from t where c='bool';
3798 --error ER_INVALID_JSON_VALUE_FOR_CAST
3799 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='uint') from t where c='uint';
3800 --error ER_INVALID_JSON_VALUE_FOR_CAST
3801 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='int') from t where c='int';
3802 --error ER_INVALID_JSON_VALUE_FOR_CAST
3803 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='double') from t where c='double';
3804 --error ER_INVALID_JSON_VALUE_FOR_CAST
3805 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='stringany') from t where c='stringany';
3806 --error ER_INVALID_JSON_VALUE_FOR_CAST
3807 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='stringint') from t where c='stringint';
3808 --error ER_INVALID_JSON_VALUE_FOR_CAST
3809 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3810 --error ER_INVALID_JSON_VALUE_FOR_CAST
3811 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='object') from t where c='object';
3812 --error ER_INVALID_JSON_VALUE_FOR_CAST
3813 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='array') from t where c='array';
3814 --error ER_INVALID_JSON_VALUE_FOR_CAST
3815 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3816 --error ER_INVALID_JSON_VALUE_FOR_CAST
3817 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3818 --error ER_INVALID_JSON_VALUE_FOR_CAST
3819 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3820 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3821 --error ER_INVALID_JSON_VALUE_FOR_CAST
3822 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3823 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3824 --error ER_INVALID_JSON_VALUE_FOR_CAST
3825 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3826 --error ER_INVALID_JSON_VALUE_FOR_CAST
3827 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3828 --error ER_INVALID_JSON_VALUE_FOR_CAST
3829 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3830 --error ER_INVALID_JSON_VALUE_FOR_CAST
3831 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3832 --error ER_INVALID_JSON_VALUE_FOR_CAST
3833 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3834 --error ER_INVALID_JSON_VALUE_FOR_CAST
3835 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3836 --error ER_INVALID_JSON_VALUE_FOR_CAST
3837 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3838 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3839 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3840 --error ER_INVALID_JSON_VALUE_FOR_CAST
3841 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3842 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3843 insert into at(c,_smp) select concat('_smp: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3844
3845 --error ER_INVALID_JSON_VALUE_FOR_CAST
3846 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='null') from t where c='null';
3847 --error ER_INVALID_JSON_VALUE_FOR_CAST
3848 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='bool') from t where c='bool';
3849 --error ER_INVALID_JSON_VALUE_FOR_CAST
3850 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='uint') from t where c='uint';
3851 --error ER_INVALID_JSON_VALUE_FOR_CAST
3852 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='int') from t where c='int';
3853 --error ER_INVALID_JSON_VALUE_FOR_CAST
3854 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='double') from t where c='double';
3855 --error ER_INVALID_JSON_VALUE_FOR_CAST
3856 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='stringany') from t where c='stringany';
3857 --error ER_INVALID_JSON_VALUE_FOR_CAST
3858 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='stringint') from t where c='stringint';
3859 --error ER_INVALID_JSON_VALUE_FOR_CAST
3860 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3861 --error ER_INVALID_JSON_VALUE_FOR_CAST
3862 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='object') from t where c='object';
3863 --error ER_INVALID_JSON_VALUE_FOR_CAST
3864 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='array') from t where c='array';
3865 --error ER_INVALID_JSON_VALUE_FOR_CAST
3866 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3867 --error ER_INVALID_JSON_VALUE_FOR_CAST
3868 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3869 --error ER_INVALID_JSON_VALUE_FOR_CAST
3870 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3871 --error ER_INVALID_JSON_VALUE_FOR_CAST
3872 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3873 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3874 --error ER_INVALID_JSON_VALUE_FOR_CAST
3875 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3876 --error ER_INVALID_JSON_VALUE_FOR_CAST
3877 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3878 --error ER_INVALID_JSON_VALUE_FOR_CAST
3879 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3880 --error ER_INVALID_JSON_VALUE_FOR_CAST
3881 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3882 --error ER_INVALID_JSON_VALUE_FOR_CAST
3883 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3884 --error ER_INVALID_JSON_VALUE_FOR_CAST
3885 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3886 --error ER_INVALID_JSON_VALUE_FOR_CAST
3887 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3888 --error ER_INVALID_JSON_VALUE_FOR_CAST
3889 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3890 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3891 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3892 --error ER_INVALID_JSON_VALUE_FOR_CAST
3893 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3894 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3895 insert into at(c,_tim) select concat('_tim: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3896
3897 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3898 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='null') from t where c='null';
3899 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3900 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='bool') from t where c='bool';
3901 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='uint') from t where c='uint';
3902 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='int') from t where c='int';
3903 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='double') from t where c='double';
3904 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3905 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='stringany') from t where c='stringany';
3906 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3907 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='stringint') from t where c='stringint'; # JSON_UNQUOTE helps
3908 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3909 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3910 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3911 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='object') from t where c='object';
3912 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3913 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='array') from t where c='array';
3914 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3915 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3916 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3917 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3918 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3919 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3920 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3921 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3922 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3923 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3924 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3925 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3926 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3927 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3928 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3929 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3930 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3931 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3932 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3933 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3934 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3935 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3936 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3937 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3938 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3939 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3940 --error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
3941 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3942 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3943 insert into at(c,_yea) select concat('_yea: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3944
3945 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='null') from t where c='null';
3946 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='bool') from t where c='bool';
3947 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='uint') from t where c='uint';
3948 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='int') from t where c='int';
3949 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='double') from t where c='double';
3950 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='stringany') from t where c='stringany';
3951 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='stringint') from t where c='stringint';
3952 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3953 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='object') from t where c='object';
3954 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='array') from t where c='array';
3955 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3956 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3957 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3958 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3959 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3960 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3961 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3962 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3963 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3964 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3965 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3966 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3967 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3968 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3969 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3970 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
3971 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
3972 insert into at(c,_jsn) select concat('_jsn: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
3973
3974 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='null') from t where c='null';
3975 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='bool') from t where c='bool';
3976 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='uint') from t where c='uint';
3977 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='int') from t where c='int';
3978 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='double') from t where c='double';
3979 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='stringany') from t where c='stringany';
3980 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='stringint') from t where c='stringint';
3981 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
3982 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='object') from t where c='object';
3983 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='array') from t where c='array';
3984 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
3985 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
3986 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
3987 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
3988 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
3989 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
3990 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
3991 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
3992 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
3993 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
3994 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
3995 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
3996 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
3997 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
3998 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
3999 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4000 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4001 insert into at(c,_chr) select concat('_chr: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4002
4003 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='null') from t where c='null';
4004 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='bool') from t where c='bool';
4005 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='uint') from t where c='uint';
4006 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='int') from t where c='int';
4007 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='double') from t where c='double';
4008 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='stringany') from t where c='stringany';
4009 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='stringint') from t where c='stringint';
4010 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4011 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='object') from t where c='object';
4012 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='array') from t where c='array';
4013 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4014 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4015 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4016 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4017 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4018 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4019 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4020 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4021 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4022 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4023 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4024 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4025 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4026 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4027 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4028 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4029 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4030 insert into at(c,_vch) select concat('_vch: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4031
4032 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='null') from t where c='null';
4033 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='bool') from t where c='bool';
4034 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='uint') from t where c='uint';
4035 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='int') from t where c='int';
4036 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='double') from t where c='double';
4037 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='stringany') from t where c='stringany';
4038 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='stringint') from t where c='stringint';
4039 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4040 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='object') from t where c='object';
4041 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='array') from t where c='array';
4042 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4043 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4044 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4045 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4046 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4047 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4048 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4049 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4050 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4051 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4052 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4053 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4054 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4055 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4056 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4057 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4058 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4059 insert into at(c,_bin) select concat('_bin: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4060
4061 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='null') from t where c='null';
4062 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='bool') from t where c='bool';
4063 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='uint') from t where c='uint';
4064 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='int') from t where c='int';
4065 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='double') from t where c='double';
4066 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='stringany') from t where c='stringany';
4067 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='stringint') from t where c='stringint';
4068 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4069 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='object') from t where c='object';
4070 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='array') from t where c='array';
4071 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4072 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4073 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4074 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4075 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4076 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4077 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4078 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4079 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4080 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4081 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4082 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4083 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4084 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4085 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4086 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4087 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4088 insert into at(c,_vbn) select concat('_vbn: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4089
4090 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='null') from t where c='null';
4091 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='bool') from t where c='bool';
4092 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='uint') from t where c='uint';
4093 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='int') from t where c='int';
4094 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='double') from t where c='double';
4095 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='stringany') from t where c='stringany';
4096 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='stringint') from t where c='stringint';
4097 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4098 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='object') from t where c='object';
4099 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='array') from t where c='array';
4100 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4101 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4102 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4103 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4104 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4105 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4106 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4107 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4108 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4109 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4110 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4111 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4112 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4113 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4114 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4115 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4116 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4117 insert into at(c,_tbl) select concat('_tbl: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4118
4119 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='null') from t where c='null';
4120 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='bool') from t where c='bool';
4121 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='uint') from t where c='uint';
4122 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='int') from t where c='int';
4123 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='double') from t where c='double';
4124 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='stringany') from t where c='stringany';
4125 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='stringint') from t where c='stringint';
4126 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4127 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='object') from t where c='object';
4128 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='array') from t where c='array';
4129 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4130 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4131 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4132 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4133 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4134 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4135 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4136 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4137 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4138 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4139 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4140 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4141 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4142 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4143 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4144 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4145 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4146 insert into at(c,_ttx) select concat('_ttx: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4147
4148 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='null') from t where c='null';
4149 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='bool') from t where c='bool';
4150 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='uint') from t where c='uint';
4151 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='int') from t where c='int';
4152 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='double') from t where c='double';
4153 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='stringany') from t where c='stringany';
4154 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='stringint') from t where c='stringint';
4155 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4156 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='object') from t where c='object';
4157 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='array') from t where c='array';
4158 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4159 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4160 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4161 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4162 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4163 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4164 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4165 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4166 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4167 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4168 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4169 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4170 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4171 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4172 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4173 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4174 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4175 insert into at(c,_blb) select concat('_blb: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4176
4177 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='null') from t where c='null';
4178 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='bool') from t where c='bool';
4179 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='uint') from t where c='uint';
4180 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='int') from t where c='int';
4181 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='double') from t where c='double';
4182 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='stringany') from t where c='stringany';
4183 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='stringint') from t where c='stringint';
4184 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4185 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='object') from t where c='object';
4186 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='array') from t where c='array';
4187 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4188 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4189 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4190 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4191 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4192 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4193 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4194 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4195 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4196 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4197 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4198 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4199 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4200 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4201 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4202 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4203 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4204 insert into at(c,_txt) select concat('_txt: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4205
4206 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='null') from t where c='null';
4207 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='bool') from t where c='bool';
4208 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='uint') from t where c='uint';
4209 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='int') from t where c='int';
4210 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='double') from t where c='double';
4211 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='stringany') from t where c='stringany';
4212 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='stringint') from t where c='stringint';
4213 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4214 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='object') from t where c='object';
4215 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='array') from t where c='array';
4216 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4217 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4218 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4219 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4220 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4221 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4222 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4223 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4224 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4225 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4226 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4227 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4228 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4229 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4230 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4231 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4232 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4233 insert into at(c,_mbb) select concat('_mbb: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4234
4235 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='null') from t where c='null';
4236 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='bool') from t where c='bool';
4237 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='uint') from t where c='uint';
4238 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='int') from t where c='int';
4239 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='double') from t where c='double';
4240 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='stringany') from t where c='stringany';
4241 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='stringint') from t where c='stringint';
4242 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4243 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='object') from t where c='object';
4244 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='array') from t where c='array';
4245 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4246 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4247 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4248 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4249 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4250 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4251 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4252 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4253 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4254 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4255 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4256 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4257 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4258 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4259 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4260 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4261 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4262 insert into at(c,_mtx) select concat('_mtx: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4263
4264 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='null') from t where c='null';
4265 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='bool') from t where c='bool';
4266 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='uint') from t where c='uint';
4267 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='int') from t where c='int';
4268 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='double') from t where c='double';
4269 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='stringany') from t where c='stringany';
4270 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='stringint') from t where c='stringint';
4271 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4272 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='object') from t where c='object';
4273 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='array') from t where c='array';
4274 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4275 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4276 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4277 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4278 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4279 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4280 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4281 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4282 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4283 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4284 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4285 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4286 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4287 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4288 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4289 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4290 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4291 insert into at(c,_lbb) select concat('_lbb: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4292
4293 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='null') from t where c='null';
4294 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='bool') from t where c='bool';
4295 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='uint') from t where c='uint';
4296 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='int') from t where c='int';
4297 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='double') from t where c='double';
4298 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='stringany') from t where c='stringany';
4299 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='stringint') from t where c='stringint';
4300 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4301 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='object') from t where c='object';
4302 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='array') from t where c='array';
4303 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4304 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4305 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4306 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4307 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4308 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4309 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4310 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4311 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4312 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4313 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4314 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4315 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4316 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4317 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4318 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4319 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4320 insert into at(c,_ltx) select concat('_ltx: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4321
4322 --error 1265
4323 # insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='null') from t where c='null';
4324 --error 1265
4325 # insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='bool') from t where c='bool';
4326 --error 1265
4327 #insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='uint') from t where c='uint';
4328 --error 1265
4329 #insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='int') from t where c='int';
4330 --error 1265
4331 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='double') from t where c='double';
4332 --error 1265
4333 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='stringany') from t where c='stringany'; # needs JSON_UNQUOTE
4334 --error 1265
4335 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='stringint') from t where c='stringint';
4336 --error 1265
4337 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4338 --error 1265
4339 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='object') from t where c='object';
4340 --error 1265
4341 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='array') from t where c='array';
4342 --error 1265
4343 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4344 --error 1265
4345 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4346 --error 1265
4347 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4348 --error 1265
4349 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4350 --error 1265
4351 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4352 --error 1265
4353 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4354 --error 1265
4355 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4356 --error 1265
4357 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4358 --error 1265
4359 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4360 --error 1265
4361 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4362 --error 1265
4363 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4364 --error 1265
4365 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4366 --error 1265
4367 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4368 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4369 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4370 --error 1265
4371 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4372 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4373 insert into at(c,_enu) select concat('_enu: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4374
4375 --error 1265
4376 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='null') from t where c='null';
4377 --error 1265
4378 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='bool') from t where c='bool';
4379 --error 1265
4380 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='uint') from t where c='uint';
4381 --error 1265
4382 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='int') from t where c='int';
4383 --error 1265
4384 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='double') from t where c='double';
4385 --error 1265
4386 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='stringany') from t where c='stringany'; # needs JSON_UNQUOTE
4387 --error 1265
4388 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='stringint') from t where c='stringint';
4389 --error 1265
4390 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4391 --error 1265
4392 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='object') from t where c='object';
4393 --error 1265
4394 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='array') from t where c='array';
4395 --error 1265
4396 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4397 --error 1265
4398 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4399 --error 1265
4400 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4401 --error 1265
4402 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4403 --error 1265
4404 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4405 --error 1265
4406 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4407 --error 1265
4408 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4409 --error 1265
4410 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4411 --error 1265
4412 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4413 --error 1265
4414 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4415 --error 1265
4416 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4417 --error 1265
4418 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4419 --error 1265
4420 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4421 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4422 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4423 --error 1265
4424 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4425 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4426 insert into at(c,_set) select concat('_set: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4427
4428 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4429 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='null') from t where c='null';
4430 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4431 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='bool') from t where c='bool';
4432 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4433 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='uint') from t where c='uint';
4434 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4435 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='int') from t where c='int';
4436 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4437 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='double') from t where c='double';
4438 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4439 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='stringany') from t where c='stringany';
4440 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4441 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='stringint') from t where c='stringint';
4442 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4443 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4444 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4445 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='object') from t where c='object';
4446 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4447 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='array') from t where c='array';
4448 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4449 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4450 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4451 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4452 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4453 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4454 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4455 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4456 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4457 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4458 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4459 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4460 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4461 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4462 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4463 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4464 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4465 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4466 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4467 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4468 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4469 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4470 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4471 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4472 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4473 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4474 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4475 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4476 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4477 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4478 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4479 insert into at(c,_geo) select concat('_geo: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4480
4481 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4482 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='null') from t where c='null';
4483 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4484 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='bool') from t where c='bool';
4485 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4486 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='uint') from t where c='uint';
4487 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4488 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='int') from t where c='int';
4489 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4490 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='double') from t where c='double';
4491 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4492 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='stringany') from t where c='stringany';
4493 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4494 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='stringint') from t where c='stringint';
4495 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4496 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4497 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4498 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='object') from t where c='object';
4499 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4500 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='array') from t where c='array';
4501 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4502 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4503 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4504 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4505 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4506 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4507 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4508 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4509 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4510 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4511 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4512 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4513 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4514 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4515 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4516 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4517 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4518 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4519 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4520 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4521 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4522 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4523 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4524 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4525 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4526 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4527 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4528 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4529 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4530 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4531 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4532 insert into at(c,_pnt) select concat('_pnt: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4533
4534 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4535 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='null') from t where c='null';
4536 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4537 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='bool') from t where c='bool';
4538 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4539 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='uint') from t where c='uint';
4540 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4541 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='int') from t where c='int';
4542 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4543 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='double') from t where c='double';
4544 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4545 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='stringany') from t where c='stringany';
4546 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4547 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='stringint') from t where c='stringint';
4548 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4549 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4550 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4551 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='object') from t where c='object';
4552 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4553 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='array') from t where c='array';
4554 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4555 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4556 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4557 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4558 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4559 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4560 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4561 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4562 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4563 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4564 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4565 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4566 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4567 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4568 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4569 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4570 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4571 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4572 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4573 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4574 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4575 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4576 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4577 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4578 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4579 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4580 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4581 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4582 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4583 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4584 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4585 insert into at(c,_lst) select concat('_lst: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4586
4587 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4588 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='null') from t where c='null';
4589 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4590 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='bool') from t where c='bool';
4591 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4592 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='uint') from t where c='uint';
4593 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4594 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='int') from t where c='int';
4595 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4596 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='double') from t where c='double';
4597 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4598 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='stringany') from t where c='stringany';
4599 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4600 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='stringint') from t where c='stringint';
4601 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4602 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4603 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4604 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='object') from t where c='object';
4605 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4606 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='array') from t where c='array';
4607 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4608 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4609 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4610 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4611 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4612 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4613 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4614 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4615 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4616 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4617 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4618 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4619 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4620 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4621 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4622 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4623 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4624 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4625 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4626 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4627 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4628 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4629 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4630 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4631 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4632 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4633 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4634 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4635 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4636 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4637 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4638 insert into at(c,_pol) select concat('_pol: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4639
4640 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4641 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='null') from t where c='null';
4642 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4643 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='bool') from t where c='bool';
4644 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4645 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='uint') from t where c='uint';
4646 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4647 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='int') from t where c='int';
4648 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4649 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='double') from t where c='double';
4650 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4651 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='stringany') from t where c='stringany';
4652 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4653 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='stringint') from t where c='stringint';
4654 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4655 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4656 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4657 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='object') from t where c='object';
4658 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4659 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='array') from t where c='array';
4660 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4661 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4662 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4663 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4664 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4665 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4666 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4667 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4668 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4669 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4670 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4671 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4672 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4673 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4674 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4675 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4676 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4677 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4678 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4679 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4680 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4681 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4682 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4683 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4684 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4685 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4686 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4687 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4688 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4689 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4690 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4691 insert into at(c,_mpt) select concat('_mpt: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4692
4693 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4694 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='null') from t where c='null';
4695 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4696 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='bool') from t where c='bool';
4697 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4698 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='uint') from t where c='uint';
4699 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4700 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='int') from t where c='int';
4701 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4702 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='double') from t where c='double';
4703 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4704 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='stringany') from t where c='stringany';
4705 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4706 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='stringint') from t where c='stringint';
4707 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4708 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4709 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4710 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='object') from t where c='object';
4711 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4712 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='array') from t where c='array';
4713 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4714 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4715 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4716 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4717 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4718 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4719 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4720 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4721 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4722 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4723 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4724 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4725 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4726 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4727 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4728 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4729 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4730 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4731 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4732 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4733 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4734 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4735 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4736 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4737 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4738 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4739 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4740 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4741 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4742 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4743 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4744 insert into at(c,_mls) select concat('_mls: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4745
4746 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4747 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='null') from t where c='null';
4748 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4749 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='bool') from t where c='bool';
4750 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4751 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='uint') from t where c='uint';
4752 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4753 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='int') from t where c='int';
4754 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4755 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='double') from t where c='double';
4756 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4757 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='stringany') from t where c='stringany';
4758 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4759 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='stringint') from t where c='stringint';
4760 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4761 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4762 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4763 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='object') from t where c='object';
4764 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4765 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='array') from t where c='array';
4766 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4767 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4768 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4769 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4770 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4771 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4772 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4773 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4774 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4775 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4776 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4777 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4778 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4779 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4780 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4781 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4782 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4783 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4784 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4785 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4786 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4787 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4788 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4789 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4790 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4791 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4792 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4793 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4794 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4795 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4796 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4797 insert into at(c,_mpy) select concat('_mpy: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4798
4799 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4800 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='null') from t where c='null';
4801 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4802 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='bool') from t where c='bool';
4803 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4804 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='uint') from t where c='uint';
4805 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4806 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='int') from t where c='int';
4807 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4808 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='double') from t where c='double';
4809 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4810 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='stringany') from t where c='stringany';
4811 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4812 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='stringint') from t where c='stringint';
4813 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4814 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='stringdecimal') from t where c='stringdecimal';
4815 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4816 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='object') from t where c='object';
4817 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4818 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='array') from t where c='array';
4819 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4820 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_decimal') from t where c='opaque_mysql_type_decimal';
4821 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4822 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_set') from t where c='opaque_mysql_type_set';
4823 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4824 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_enum') from t where c='opaque_mysql_type_enum';
4825 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4826 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_date') from t where c='opaque_mysql_type_date';
4827 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4828 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_time') from t where c='opaque_mysql_type_time';
4829 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4830 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_datetime') from t where c='opaque_mysql_type_datetime';
4831 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4832 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_geom') from t where c='opaque_mysql_type_geom';
4833 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4834 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_bit') from t where c='opaque_mysql_type_bit';
4835 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4836 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_year') from t where c='opaque_mysql_type_year';
4837 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4838 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_blob') from t where c='opaque_mysql_type_blob';
4839 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4840 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_longblob') from t where c='opaque_mysql_type_longblob';
4841 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4842 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_mediumblob') from t where c='opaque_mysql_type_mediumblob';
4843 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4844 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_tinyblob') from t where c='opaque_mysql_type_tinyblob';
4845 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_varbinary') from t where c='opaque_mysql_type_varbinary';
4846 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_binary') from t where c='opaque_mysql_type_binary';
4847 --error ER_CANT_CREATE_GEOMETRY_OBJECT
4848 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_varchar') from t where c='opaque_mysql_type_varchar';
4849 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_string') from t where c='opaque_mysql_type_string';
4850 insert into at(c,_gco) select concat('_gco: ',c), (select j from t where c='opaque_mysql_type_var_string') from t where c='opaque_mysql_type_var_string';
4851
4852 --echo # ----------------------------------------------------------------------
4853 --echo # Validate the data actually inserted
4854 --echo # ----------------------------------------------------------------------
4855
4856 select c, _bit from at
4857 where c like '_bit%';
4858 select c, _tin from at
4859 where c like '_tin%';
4860 select c, _boo from at
4861 where c like '_boo%';
4862 select c, _sms from at
4863 where c like '_sms%';
4864 select c, _smu from at
4865 where c like '_smu%';
4866 select c, _mes from at
4867 where c like '_mes%';
4868 select c, _meu from at
4869 where c like '_meu%';
4870 select c, _ins from at
4871 where c like '_ins%';
4872 select c, _inu from at
4873 where c like '_inu%';
4874 select c, _bis from at
4875 where c like '_bis%';
4876 select c, _biu from at
4877 where c like '_biu%';
4878 select c, _dec from at
4879 where c like '_dec%';
4880 select c, _flo from at
4881 where c like '_flo%';
4882 select c, _dou from at
4883 where c like '_dou%';
4884 --replace_regex /2015-01-15/--EXPECTED_DATE--/ /[0-9]{4}-[0-9]{2}-[0-9]{2}/--DATE--/
4885 select c, _dat from at
4886 where c like '_dat%';
4887 --replace_regex /2015-01-15 23:24:25/--EXPECTED_DATETIME--/ /[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}/--DATETIME--/
4888 select c, _dtt from at
4889 where c like '_dtt%';
4890 --replace_regex /2015-01-15 23:24:25/--EXPECTED_TIMESTAMP--/ /[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}/--TIMESTAMP--/
4891 select c, _smp from at
4892 where c like '_smp%';
4893 --replace_regex /23:24:25/--EXPECTED_TIME--/ /[0-9]{2}:[0-9]{2}:[0-9]{2}/--TIME--/
4894 select c, _tim from at
4895 where c like '_tim%';
4896 select c, _yea from at
4897 where c like '_yea%';
4898 select c, _jsn from at
4899 where c like '_jsn%';
4900 select c, _chr from at
4901 where c like '_chr%';
4902 select c, _vch from at
4903 where c like '_vch%';
4904 select c, replace(_bin, '\0', '') from at
4905 where c like '_bin%';
4906 select c, _vbn from at
4907 where c like '_vbn%';
4908 select c, _tbl from at
4909 where c like '_tbl%';
4910 select c, _ttx from at
4911 where c like '_ttx%';
4912 select c, _blb from at
4913 where c like '_blb%';
4914 select c, _txt from at
4915 where c like '_txt%';
4916 select c, _mbb from at
4917 where c like '_mbb%';
4918 select c, _mtx from at
4919 where c like '_mtx%';
4920 select c, _lbb from at
4921 where c like '_lbb%';
4922 select c, _ltx from at
4923 where c like '_ltx%';
4924 select c, _enu from at
4925 where c like '_enu%';
4926 select c, _set from at
4927 where c like '_set%';
4928 select c, _geo from at
4929 where c like '_geo%';
4930 select c, _pnt from at
4931 where c like '_pnt%';
4932 select c, _lst from at
4933 where c like '_lst%';
4934 select c, _pol from at
4935 where c like '_pol%';
4936 select c, _mpt from at
4937 where c like '_mpt%';
4938 select c, _mls from at
4939 where c like '_mls%';
4940 select c, _mpy from at
4941 where c like '_mpy%';
4942 select c, _gco from at
4943 where c like '_gco%';
4944
4945
4946
4947
4948 --echo # Explicit coercions (CAST)
4949 --echo # ----------------------------------------------------------------------
4950
4951 --echo # CAST to BINARY[(N)]
4952 --echo # CAST to CHAR[(N)]
4953 --echo # CAST to DATE
4954 --echo # CAST to DATETIME
4955 --echo # CAST to TIME
4956 --echo # CAST to DECIMAL[(M[,D])]
4957 --echo # CAST to SIGNED [INTEGER]
4958 --echo # CAST to UNSIGNED [INTEGER]
4959 --echo # CAST to JSON
4960
4961 --echo # ----------------------------------------------------------------------
4962 --echo # C A S T F R O M J S O N C O L U M N
4963 --echo # ----------------------------------------------------------------------
4964 select concat('From JSON col ',c, ' as BINARY(35)'), replace(cast(j as BINARY(35)), '\0', '') from t;
4965
4966 select concat('From JSON col ',c, ' as CHAR(35))'), cast(j as CHAR(35)) from t;
4967
4968 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='null';
4969 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='bool';
4970 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='uint';
4971 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='int';
4972 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='double';
4973 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='stringany';
4974 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='stringint';
4975 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='stringdecimal';
4976 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='object';
4977 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='array';
4978 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_decimal';
4979 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_set';
4980 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_enum';
4981 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_date';
4982 --replace_regex /2015-01-15/--EXPECTED_DATE--/ /[0-9]{4}-[0-9]{2}-[0-9]{2}/--DATE--/
4983 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_time';
4984 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_datetime';
4985 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_geom';
4986 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_bit';
4987 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_year';
4988 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_blob';
4989 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_longblob';
4990 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_mediumblob';
4991 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_tinyblob';
4992 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_varbinary';
4993 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_binary';
4994 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_varchar';
4995 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_string';
4996 select concat('From JSON col ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_var_string';
4997
4998 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='null';
4999 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='bool';
5000 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='uint';
5001 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='int';
5002 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='double';
5003 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='stringany';
5004 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='stringint';
5005 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='stringdecimal';
5006 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='object';
5007 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='array';
5008 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_decimal';
5009 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_set';
5010 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_enum';
5011 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_date';
5012 --replace_regex /2015-01-15/--EXPECTED_DATE--/ /[0-9]{4}-[0-9]{2}-[0-9]{2}/--DATE--/
5013 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_time';
5014 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_datetime';
5015 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_geom';
5016 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_bit';
5017 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_year';
5018 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_blob';
5019 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_longblob';
5020 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_mediumblob';
5021 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_tinyblob';
5022 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_varbinary';
5023 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_binary';
5024 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_varchar';
5025 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_string';
5026 select concat('From JSON col ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_var_string';
5027
5028 select concat('From JSON col ',c, ' as TIME'), cast(j as TIME) from t;
5029
5030 select concat('From JSON col ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t;
5031
5032 select concat('From JSON col ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t;
5033
5034 select concat('From JSON col ',c, ' as SIGNED'), cast(j as SIGNED) from t;
5035
5036
5037 --echo # ----------------------------------------------------------------------
5038 --echo # C A S T F R O M J S O N F U N C T I O N
5039 --echo # ----------------------------------------------------------------------
5040 select concat('From JSON func ',c, ' as BINARY(35)'), replace(cast(json_extract(j, '$') as BINARY(35)), '\0', '') from t;
5041
5042 select concat('From JSON func ',c, ' as CHAR(35))'), cast(json_extract(j, '$') as CHAR(35)) from t;
5043
5044 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='null';
5045 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='bool';
5046 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='uint';
5047 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='int';
5048 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='double';
5049 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='stringany';
5050 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='stringint';
5051 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='stringdecimal';
5052 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='object';
5053 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='array';
5054 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_decimal';
5055 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_set';
5056 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_enum';
5057 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_date';
5058 --replace_regex /2015-01-15/--EXPECTED_DATE--/ /[0-9]{4}-[0-9]{2}-[0-9]{2}/--DATE--/
5059 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_time';
5060 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_datetime';
5061 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_geom';
5062 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_bit';
5063 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_year';
5064 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_blob';
5065 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_longblob';
5066 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_mediumblob';
5067 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_tinyblob';
5068 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_varbinary';
5069 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_binary';
5070 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_varchar';
5071 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_string';
5072 select concat('From JSON func ',c, ' as DATE'), cast(json_extract(j, '$') as DATE) from t where c='opaque_mysql_type_var_string';
5073
5074
5075 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='null';
5076 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='bool';
5077 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='uint';
5078 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='int';
5079 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='double';
5080 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='stringany';
5081 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='stringint';
5082 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='stringdecimal';
5083 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='object';
5084 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='array';
5085 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_decimal';
5086 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_set';
5087 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_enum';
5088 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_date';
5089 --replace_regex /2015-01-15/--EXPECTED_DATE--/ /[0-9]{4}-[0-9]{2}-[0-9]{2}/--DATE--/
5090 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_time';
5091 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_datetime';
5092 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_geom';
5093 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_bit';
5094 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_year';
5095 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_blob';
5096 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_longblob';
5097 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_mediumblob';
5098 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_tinyblob';
5099 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_varbinary';
5100 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_binary';
5101 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_varchar';
5102 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_string';
5103 select concat('From JSON func ',c, ' as DATETIME'), cast(json_extract(j, '$') as DATETIME) from t where c='opaque_mysql_type_var_string';
5104
5105 select concat('From JSON func ',c, ' as TIME'), cast(json_extract(j, '$') as TIME) from t;
5106
5107 select concat('From JSON func ',c, ' as DECIMAL(5,2)'), cast(json_extract(j, '$') as DECIMAL(5,2)) from t;
5108
5109 select concat('From JSON func ',c, ' as UNSIGNED'), cast(json_extract(j, '$') as UNSIGNED) from t;
5110
5111 select concat('From JSON func ',c, ' as SIGNED'), cast(json_extract(j, '$') as SIGNED) from t;
5112
5113 --echo # ----------------------------------------------------------------------
5114 --echo # C A S T F R O M J S O N S U B Q U E R Y
5115 --echo # ----------------------------------------------------------------------
5116
5117 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='null') as BINARY(35)), '\0', '') from t where c='null';
5118 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='bool') as BINARY(35)), '\0', '') from t where c='bool';
5119 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='uint') as BINARY(35)), '\0', '') from t where c='uint';
5120 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='int') as BINARY(35)), '\0', '') from t where c='int';
5121 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='double') as BINARY(35)), '\0', '') from t where c='double';
5122 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='stringany') as BINARY(35)), '\0', '') from t where c='stringany';
5123 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='stringint') as BINARY(35)), '\0', '') from t where c='stringint';
5124 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='stringdecimal') as BINARY(35)), '\0', '') from t where c='stringdecimal';
5125 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='object') as BINARY(35)), '\0', '') from t where c='object';
5126 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='array') as BINARY(35)), '\0', '') from t where c='array';
5127 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_decimal') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_decimal';
5128 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_set') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_set';
5129 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_enum') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_enum';
5130 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_date') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_date';
5131 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_time') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_time';
5132 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_datetime') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_datetime';
5133 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_geom') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_geom';
5134 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_bit') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_bit';
5135 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_year') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_year';
5136 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_blob') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_blob';
5137 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_longblob') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_longblob';
5138 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_mediumblob') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_mediumblob';
5139 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_tinyblob') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_tinyblob';
5140 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_varbinary') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_varbinary';
5141 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_binary') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_binary';
5142 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_varchar') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_varchar';
5143 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_string') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_string';
5144 select concat('From JSON subselect ',c, ' as BINARY(35)'), replace(cast((select j from t where c='opaque_mysql_type_var_string') as BINARY(35)), '\0', '') from t where c='opaque_mysql_type_var_string';
5145
5146 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='null') as CHAR(35)) from t where c='null';
5147 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='bool') as CHAR(35)) from t where c='bool';
5148 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='uint') as CHAR(35)) from t where c='uint';
5149 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='int') as CHAR(35)) from t where c='int';
5150 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='double') as CHAR(35)) from t where c='double';
5151 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='stringany') as CHAR(35)) from t where c='stringany';
5152 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='stringint') as CHAR(35)) from t where c='stringint';
5153 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='stringdecimal') as CHAR(35)) from t where c='stringdecimal';
5154 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='object') as CHAR(35)) from t where c='object';
5155 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='array') as CHAR(35)) from t where c='array';
5156 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_decimal') as CHAR(35)) from t where c='opaque_mysql_type_decimal';
5157 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_set') as CHAR(35)) from t where c='opaque_mysql_type_set';
5158 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_enum') as CHAR(35)) from t where c='opaque_mysql_type_enum';
5159 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_date') as CHAR(35)) from t where c='opaque_mysql_type_date';
5160 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_time') as CHAR(35)) from t where c='opaque_mysql_type_time';
5161 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_datetime') as CHAR(35)) from t where c='opaque_mysql_type_datetime';
5162 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_geom') as CHAR(35)) from t where c='opaque_mysql_type_geom';
5163 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_bit') as CHAR(35)) from t where c='opaque_mysql_type_bit';
5164 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_year') as CHAR(35)) from t where c='opaque_mysql_type_year';
5165 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast(j as CHAR(35)) from t where c='opaque_mysql_type_year';
5166 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_blob') as CHAR(35)) from t where c='opaque_mysql_type_blob';
5167 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast(j as CHAR(35)) from t where c='opaque_mysql_type_longblob';
5168 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_mediumblob') as CHAR(35)) from t where c='opaque_mysql_type_mediumblob';
5169 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast(j as CHAR(35)) from t where c='opaque_mysql_type_tinyblob';
5170 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_varbinary') as CHAR(35)) from t where c='opaque_mysql_type_varbinary';
5171 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast(j as CHAR(35)) from t where c='opaque_mysql_type_binary';
5172 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_varchar') as CHAR(35)) from t where c='opaque_mysql_type_varchar';
5173 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast(j as CHAR(35)) from t where c='opaque_mysql_type_string';
5174 select concat('From JSON subselect ',c, ' as CHAR(35))'), cast((select j from t where c='opaque_mysql_type_var_string') as CHAR(35)) from t where c='opaque_mysql_type_var_string';
5175
5176 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='null') as DATE) from t where c='null';
5177 select concat('From JSON subselect ',c, ' as DATE'), cast(j as DATE) from t where c='bool';
5178 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='uint') as DATE) from t where c='uint';
5179 select concat('From JSON subselect ',c, ' as DATE'), cast(j as DATE) from t where c='int';
5180 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='double') as DATE) from t where c='double';
5181 select concat('From JSON subselect ',c, ' as DATE'), cast(j as DATE) from t where c='stringany';
5182 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='stringint') as DATE) from t where c='stringint';
5183 select concat('From JSON subselect ',c, ' as DATE'), cast(j as DATE) from t where c='stringdecimal';
5184 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='object') as DATE) from t where c='object';
5185 select concat('From JSON subselect ',c, ' as DATE'), cast(j as DATE) from t where c='array';
5186 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_decimal') as DATE) from t where c='opaque_mysql_type_decimal';
5187 select concat('From JSON subselect ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_set';
5188 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_enum') as DATE) from t where c='opaque_mysql_type_enum';
5189 select concat('From JSON subselect ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_date';
5190 --replace_regex /2015-01-15/--EXPECTED_DATE--/ /[0-9]{4}-[0-9]{2}-[0-9]{2}/--DATE--/
5191 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_time') as DATE) from t where c='opaque_mysql_type_time';
5192 select concat('From JSON subselect ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_datetime';
5193 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_geom') as DATE) from t where c='opaque_mysql_type_geom';
5194 select concat('From JSON subselect ',c, ' as DATE'), cast(j as DATE) from t where c='opaque_mysql_type_bit';
5195 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_year') as DATE) from t where c='opaque_mysql_type_year';
5196 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_blob') as DATE) from t where c='opaque_mysql_type_blob';
5197 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_longblob') as DATE) from t where c='opaque_mysql_type_longblob';
5198 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_mediumblob') as DATE) from t where c='opaque_mysql_type_mediumblob';
5199 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_tinyblob') as DATE) from t where c='opaque_mysql_type_tinyblob';
5200 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_varbinary') as DATE) from t where c='opaque_mysql_type_varbinary';
5201 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_binary') as DATE) from t where c='opaque_mysql_type_binary';
5202 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_varchar') as DATE) from t where c='opaque_mysql_type_varchar';
5203 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_string') as DATE) from t where c='opaque_mysql_type_string';
5204 select concat('From JSON subselect ',c, ' as DATE'), cast((select j from t where c='opaque_mysql_type_var_string') as DATE) from t where c='opaque_mysql_type_var_string';
5205
5206
5207 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='null') as DATETIME) from t where c='null';
5208 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='bool') as DATETIME) from t where c='bool';
5209 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='uint') as DATETIME) from t where c='uint';
5210 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='int') as DATETIME) from t where c='int';
5211 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='double') as DATETIME) from t where c='double';
5212 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='stringany') as DATETIME) from t where c='stringany';
5213 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='stringint') as DATETIME) from t where c='stringint';
5214 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='stringdecimal') as DATETIME) from t where c='stringdecimal';
5215 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='object') as DATETIME) from t where c='object';
5216 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='array') as DATETIME) from t where c='array';
5217 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_decimal') as DATETIME) from t where c='opaque_mysql_type_decimal';
5218 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_set') as DATETIME) from t where c='opaque_mysql_type_set';
5219 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_enum') as DATETIME) from t where c='opaque_mysql_type_enum';
5220 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_date') as DATETIME) from t where c='opaque_mysql_type_date';
5221 --replace_regex /2015-01-15/--EXPECTED_DATE--/ /[0-9]{4}-[0-9]{2}-[0-9]{2}/--DATE--/
5222 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_time') as DATETIME) from t where c='opaque_mysql_type_time';
5223 select concat('From JSON subselect ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_datetime';
5224 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_geom') as DATETIME) from t where c='opaque_mysql_type_geom';
5225 select concat('From JSON subselect ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_bit';
5226 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_year') as DATETIME) from t where c='opaque_mysql_type_year';
5227 select concat('From JSON subselect ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_year';
5228 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_blob') as DATETIME) from t where c='opaque_mysql_type_blob';
5229 select concat('From JSON subselect ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_longblob';
5230 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_mediumblob') as DATETIME) from t where c='opaque_mysql_type_mediumblob';
5231 select concat('From JSON subselect ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_tinyblob';
5232 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_varbinary') as DATETIME) from t where c='opaque_mysql_type_varbinary';
5233 select concat('From JSON subselect ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_binary';
5234 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_varchar') as DATETIME) from t where c='opaque_mysql_type_varchar';
5235 select concat('From JSON subselect ',c, ' as DATETIME'), cast(j as DATETIME) from t where c='opaque_mysql_type_string';
5236 select concat('From JSON subselect ',c, ' as DATETIME'), cast((select j from t where c='opaque_mysql_type_var_string') as DATETIME) from t where c='opaque_mysql_type_var_string';
5237
5238 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='null') as TIME) from t where c='null';
5239 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='bool';
5240 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='uint') as TIME) from t where c='uint';
5241 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='int';
5242 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='double') as TIME) from t where c='double';
5243 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='stringany';
5244 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='stringint') as TIME) from t where c='stringint';
5245 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='stringdecimal';
5246 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='object') as TIME) from t where c='object';
5247 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='array';
5248 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_decimal') as TIME) from t where c='opaque_mysql_type_decimal';
5249 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='opaque_mysql_type_set';
5250 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_enum') as TIME) from t where c='opaque_mysql_type_enum';
5251 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='opaque_mysql_type_date';
5252 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_time') as TIME) from t where c='opaque_mysql_type_time';
5253 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='opaque_mysql_type_datetime';
5254 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_geom') as TIME) from t where c='opaque_mysql_type_geom';
5255 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='opaque_mysql_type_bit';
5256 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_year') as TIME) from t where c='opaque_mysql_type_year';
5257 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='opaque_mysql_type_year';
5258 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_blob') as TIME) from t where c='opaque_mysql_type_blob';
5259 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='opaque_mysql_type_longblob';
5260 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_mediumblob') as TIME) from t where c='opaque_mysql_type_mediumblob';
5261 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='opaque_mysql_type_tinyblob';
5262 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_varbinary') as TIME) from t where c='opaque_mysql_type_varbinary';
5263 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='opaque_mysql_type_binary';
5264 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_varchar') as TIME) from t where c='opaque_mysql_type_varchar';
5265 select concat('From JSON subselect ',c, ' as TIME'), cast(j as TIME) from t where c='opaque_mysql_type_string';
5266 select concat('From JSON subselect ',c, ' as TIME'), cast((select j from t where c='opaque_mysql_type_var_string') as TIME) from t where c='opaque_mysql_type_var_string';
5267
5268 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='null') as DECIMAL(5,2)) from t where c='null';
5269 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='bool';
5270 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='uint') as DECIMAL(5,2)) from t where c='uint';
5271 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='int';
5272 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='double') as DECIMAL(5,2)) from t where c='double';
5273 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='stringany';
5274 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='stringint') as DECIMAL(5,2)) from t where c='stringint';
5275 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='stringdecimal';
5276 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='object') as DECIMAL(5,2)) from t where c='object';
5277 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='array';
5278 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_decimal') as DECIMAL(5,2)) from t where c='opaque_mysql_type_decimal';
5279 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='opaque_mysql_type_set';
5280 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_enum') as DECIMAL(5,2)) from t where c='opaque_mysql_type_enum';
5281 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='opaque_mysql_type_date';
5282 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_time') as DECIMAL(5,2)) from t where c='opaque_mysql_type_time';
5283 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='opaque_mysql_type_datetime';
5284 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_geom') as DECIMAL(5,2)) from t where c='opaque_mysql_type_geom';
5285 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='opaque_mysql_type_bit';
5286 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_year') as DECIMAL(5,2)) from t where c='opaque_mysql_type_year';
5287 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='opaque_mysql_type_year';
5288 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_blob') as DECIMAL(5,2)) from t where c='opaque_mysql_type_blob';
5289 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='opaque_mysql_type_longblob';
5290 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_mediumblob') as DECIMAL(5,2)) from t where c='opaque_mysql_type_mediumblob';
5291 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='opaque_mysql_type_tinyblob';
5292 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_varbinary') as DECIMAL(5,2)) from t where c='opaque_mysql_type_varbinary';
5293 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='opaque_mysql_type_binary';
5294 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_varchar') as DECIMAL(5,2)) from t where c='opaque_mysql_type_varchar';
5295 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast(j as DECIMAL(5,2)) from t where c='opaque_mysql_type_string';
5296 select concat('From JSON subselect ',c, ' as DECIMAL(5,2)'), cast((select j from t where c='opaque_mysql_type_var_string') as DECIMAL(5,2)) from t where c='opaque_mysql_type_var_string';
5297
5298 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='null') as UNSIGNED) from t where c='null';
5299 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='bool';
5300 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='uint') as UNSIGNED) from t where c='uint';
5301 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='int';
5302 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='double') as UNSIGNED) from t where c='double';
5303 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='stringany';
5304 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='stringint') as UNSIGNED) from t where c='stringint';
5305 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='stringdecimal';
5306 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='object') as UNSIGNED) from t where c='object';
5307 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='array';
5308 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_decimal') as UNSIGNED) from t where c='opaque_mysql_type_decimal';
5309 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='opaque_mysql_type_set';
5310 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_enum') as UNSIGNED) from t where c='opaque_mysql_type_enum';
5311 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='opaque_mysql_type_date';
5312 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_time') as UNSIGNED) from t where c='opaque_mysql_type_time';
5313 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='opaque_mysql_type_datetime';
5314 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_geom') as UNSIGNED) from t where c='opaque_mysql_type_geom';
5315 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='opaque_mysql_type_bit';
5316 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_year') as UNSIGNED) from t where c='opaque_mysql_type_year';
5317 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='opaque_mysql_type_year';
5318 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_blob') as UNSIGNED) from t where c='opaque_mysql_type_blob';
5319 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='opaque_mysql_type_longblob';
5320 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_mediumblob') as UNSIGNED) from t where c='opaque_mysql_type_mediumblob';
5321 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='opaque_mysql_type_tinyblob';
5322 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_varbinary') as UNSIGNED) from t where c='opaque_mysql_type_varbinary';
5323 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='opaque_mysql_type_binary';
5324 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_varchar') as UNSIGNED) from t where c='opaque_mysql_type_varchar';
5325 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast(j as UNSIGNED) from t where c='opaque_mysql_type_string';
5326 select concat('From JSON subselect ',c, ' as UNSIGNED'), cast((select j from t where c='opaque_mysql_type_var_string') as UNSIGNED) from t where c='opaque_mysql_type_var_string';
5327
5328 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='null') as SIGNED) from t where c='null';
5329 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='bool';
5330 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='uint') as SIGNED) from t where c='uint';
5331 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='int';
5332 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='double') as SIGNED) from t where c='double';
5333 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='stringany';
5334 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='stringint') as SIGNED) from t where c='stringint';
5335 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='stringdecimal';
5336 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='object') as SIGNED) from t where c='object';
5337 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='array';
5338 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_decimal') as SIGNED) from t where c='opaque_mysql_type_decimal';
5339 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='opaque_mysql_type_set';
5340 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_enum') as SIGNED) from t where c='opaque_mysql_type_enum';
5341 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='opaque_mysql_type_date';
5342 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_time') as SIGNED) from t where c='opaque_mysql_type_time';
5343 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='opaque_mysql_type_datetime';
5344 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_geom') as SIGNED) from t where c='opaque_mysql_type_geom';
5345 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='opaque_mysql_type_bit';
5346 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_year') as SIGNED) from t where c='opaque_mysql_type_year';
5347 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='opaque_mysql_type_year';
5348 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_blob') as SIGNED) from t where c='opaque_mysql_type_blob';
5349 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='opaque_mysql_type_longblob';
5350 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_mediumblob') as SIGNED) from t where c='opaque_mysql_type_mediumblob';
5351 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='opaque_mysql_type_tinyblob';
5352 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_varbinary') as SIGNED) from t where c='opaque_mysql_type_varbinary';
5353 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='opaque_mysql_type_binary';
5354 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_varchar') as SIGNED) from t where c='opaque_mysql_type_varchar';
5355 select concat('From JSON subselect ',c, ' as SIGNED'), cast(j as SIGNED) from t where c='opaque_mysql_type_string';
5356 select concat('From JSON subselect ',c, ' as SIGNED'), cast((select j from t where c='opaque_mysql_type_var_string') as SIGNED) from t where c='opaque_mysql_type_var_string';
5357
5358 # JSON Comparator Test Cases
5359 # Table Setup for a new JSON table containing all kind of unique
5360 # data taken from this test itself.
5361 #---------------------------------------------------------------
5362 --disable_query_log
5363
5364 create table t_bit select DISTINCT(_bit) FROM at;
5365 create table t_tin select DISTINCT(_tin) FROM at;
5366 create table t_boo select DISTINCT(_boo) FROM at;
5367 create table t_sms select DISTINCT(_sms) FROM at;
5368 create table t_smu select DISTINCT(_smu) FROM at;
5369 create table t_mes select DISTINCT(_mes) FROM at;
5370 create table t_meu select DISTINCT(_meu) FROM at;
5371 create table t_ins select DISTINCT(_ins) FROM at;
5372 create table t_inu select DISTINCT(_inu) FROM at;
5373 create table t_bis select DISTINCT(_bis) FROM at;
5374 create table t_biu select DISTINCT(_biu) FROM at;
5375 create table t_dec select DISTINCT(_dec) FROM at;
5376 create table t_flo select DISTINCT(_flo) FROM at;
5377 create table t_dou select DISTINCT(_dou) FROM at;
5378 create table t_dat select DISTINCT(_dat) FROM at;
5379 create table t_dtt select DISTINCT(_dtt) FROM at;
5380 create table t_smp select DISTINCT(_smp) FROM at;
5381 create table t_tim select DISTINCT(_tim) FROM at;
5382 create table t_yea select DISTINCT(_yea) FROM at;
5383 create table t_chr select DISTINCT(_chr) FROM at;
5384 create table t_vch select DISTINCT(_vch) FROM at;
5385 create table t_bin select DISTINCT(_bin) FROM at;
5386 create table t_vbn select DISTINCT(_vbn) FROM at;
5387 create table t_tbl select DISTINCT(_tbl) FROM at;
5388 create table t_ttx select DISTINCT(_ttx) FROM at;
5389 create table t_blb select DISTINCT(_blb) FROM at;
5390 create table t_txt select DISTINCT(_txt) FROM at;
5391 create table t_mbb select DISTINCT(_mbb) FROM at;
5392 create table t_mtx select DISTINCT(_mtx) FROM at;
5393 create table t_lbb select DISTINCT(_lbb) FROM at;
5394 create table t_ltx select DISTINCT(_ltx) FROM at;
5395 create table t_enu select DISTINCT(_enu) FROM at;
5396 create table t_set select DISTINCT(_set) FROM at;
5397 create table t_geo select DISTINCT(_geo) FROM at;
5398 create table t_pnt select DISTINCT(_pnt) FROM at;
5399 create table t_lst select DISTINCT(_lst) FROM at;
5400 create table t_pol select DISTINCT(_pol) FROM at;
5401 create table t_mpt select DISTINCT(_mpt) FROM at;
5402 create table t_mls select DISTINCT(_mls) FROM at;
5403 create table t_mpy select DISTINCT(_mpy) FROM at;
5404 create table t_gco select DISTINCT(_gco) FROM at;
5405
5406 CREATE TABLE jj (col JSON);
5407 INSERT INTO jj
5408 SELECT CAST(_bit AS JSON) FROM t_bit UNION
5409 SELECT CAST(_tin AS JSON) FROM t_tin UNION
5410 SELECT CAST(_boo AS JSON) FROM t_boo UNION
5411 SELECT CAST(_sms AS JSON) FROM t_sms UNION
5412 SELECT CAST(_smu AS JSON) FROM t_smu UNION
5413 SELECT CAST(_mes AS JSON) FROM t_mes UNION
5414 SELECT CAST(_meu AS JSON) FROM t_meu UNION
5415 SELECT CAST(_ins AS JSON) FROM t_ins UNION
5416 SELECT CAST(_inu AS JSON) FROM t_inu UNION
5417 SELECT CAST(_bis AS JSON) FROM t_bis UNION
5418 SELECT CAST(_biu AS JSON) FROM t_biu UNION
5419 SELECT CAST(_dec AS JSON) FROM t_dec UNION
5420 SELECT CAST(_dou AS JSON) FROM t_dou UNION
5421 SELECT CAST(_dat AS JSON) FROM t_dat UNION
5422 SELECT CAST(_dtt AS JSON) FROM t_dtt UNION
5423 SELECT CAST(_smp AS JSON) FROM t_smp UNION
5424 SELECT CAST(_tim AS JSON) FROM t_tim UNION
5425 SELECT CAST(_yea AS JSON) FROM t_yea UNION
5426 SELECT CAST(_chr AS JSON) FROM t_chr UNION
5427 SELECT CAST(_vch AS JSON) FROM t_vch UNION
5428 SELECT CAST(_bin AS JSON) FROM t_bin UNION
5429 SELECT CAST(_vbn AS JSON) FROM t_vbn UNION
5430 SELECT CAST(_tbl AS JSON) FROM t_tbl UNION
5431 SELECT CAST(_ttx AS JSON) FROM t_ttx UNION
5432 SELECT CAST(_blb AS JSON) FROM t_blb UNION
5433 SELECT CAST(_txt AS JSON) FROM t_txt UNION
5434 SELECT CAST(_mbb AS JSON) FROM t_mbb UNION
5435 SELECT CAST(_mtx AS JSON) FROM t_mtx UNION
5436 SELECT CAST(_lbb AS JSON) FROM t_lbb UNION
5437 SELECT CAST(_ltx AS JSON) FROM t_ltx UNION
5438 SELECT CAST(_enu AS JSON) FROM t_enu UNION
5439 SELECT CAST(_set AS JSON) FROM t_set UNION
5440 SELECT CAST(_geo AS JSON) FROM t_geo UNION
5441 SELECT CAST(_pnt AS JSON) FROM t_pnt UNION
5442 SELECT CAST(_lst AS JSON) FROM t_lst UNION
5443 SELECT CAST(_pol AS JSON) FROM t_pol UNION
5444 SELECT CAST(_mpt AS JSON) FROM t_mpt UNION
5445 SELECT CAST(_mls AS JSON) FROM t_mls UNION
5446 SELECT CAST(_mpy AS JSON) FROM t_mpy UNION
5447 SELECT CAST(_gco AS JSON) FROM t_gco UNION
5448 SELECT CAST(_bit AS JSON) FROM t_bit UNION
5449 SELECT CAST(_tin AS JSON) FROM t_tin UNION
5450 SELECT CAST(_boo AS JSON) FROM t_boo UNION
5451 SELECT CAST(_sms AS JSON) FROM t_sms UNION
5452 SELECT CAST(_smu AS JSON) FROM t_smu UNION
5453 SELECT CAST(_mes AS JSON) FROM t_mes UNION
5454 SELECT CAST(_meu AS JSON) FROM t_meu UNION
5455 SELECT CAST(_ins AS JSON) FROM t_ins UNION
5456 SELECT CAST(_inu AS JSON) FROM t_inu UNION
5457 SELECT CAST(_bis AS JSON) FROM t_bis UNION
5458 SELECT CAST(_biu AS JSON) FROM t_biu UNION
5459 SELECT CAST(_dec AS JSON) FROM t_dec UNION
5460 SELECT CAST(_dou AS JSON) FROM t_dou UNION
5461 SELECT CAST(_dat AS JSON) FROM t_dat UNION
5462 SELECT CAST(_dtt AS JSON) FROM t_dtt UNION
5463 SELECT CAST(_smp AS JSON) FROM t_smp UNION
5464 SELECT CAST(_tim AS JSON) FROM t_tim UNION
5465 SELECT CAST(_yea AS JSON) FROM t_yea UNION
5466 SELECT CAST(_chr AS JSON) FROM t_chr UNION
5467 SELECT CAST(_vch AS JSON) FROM t_vch UNION
5468 SELECT CAST(_bin AS JSON) FROM t_bin UNION
5469 SELECT CAST(_vbn AS JSON) FROM t_vbn UNION
5470 SELECT CAST(_tbl AS JSON) FROM t_tbl UNION
5471 SELECT CAST(_ttx AS JSON) FROM t_ttx UNION
5472 SELECT CAST(_blb AS JSON) FROM t_blb UNION
5473 SELECT CAST(_txt AS JSON) FROM t_txt UNION
5474 SELECT CAST(_mbb AS JSON) FROM t_mbb UNION
5475 SELECT CAST(_mtx AS JSON) FROM t_mtx UNION
5476 SELECT CAST(_lbb AS JSON) FROM t_lbb UNION
5477 SELECT CAST(_ltx AS JSON) FROM t_ltx UNION
5478 SELECT CAST(_enu AS JSON) FROM t_enu UNION
5479 SELECT CAST(_set AS JSON) FROM t_set UNION
5480 SELECT CAST(_geo AS JSON) FROM t_geo UNION
5481 SELECT CAST(_pnt AS JSON) FROM t_pnt UNION
5482 SELECT CAST(_lst AS JSON) FROM t_lst UNION
5483 SELECT CAST(_pol AS JSON) FROM t_pol UNION
5484 SELECT CAST(_mpt AS JSON) FROM t_mpt UNION
5485 SELECT CAST(_mls AS JSON) FROM t_mls UNION
5486 SELECT CAST(_mpy AS JSON) FROM t_mpy UNION
5487 SELECT CAST(_gco AS JSON) FROM t_gco UNION
5488 SELECT _jsn FROM at;
5489
5490 # JSON Data Type Weigtage Function. This is used in
5491 # first level and second level validation
5492 #---------------------------------------------
5493
5494 CREATE FUNCTION GET_JSON_WEIGHT(json_type VARCHAR(100))
5495 RETURNS INT DETERMINISTIC
5496 RETURN CASE json_type
5497 WHEN 'NULL' THEN 1
5498 WHEN 'DECIMAL' THEN 2
5499 WHEN 'DOUBLE' THEN 2
5500 WHEN 'UNSIGNED INTEGER' THEN 2
5501 WHEN 'INTEGER' THEN 2
5502 WHEN 'BLOB' THEN 3
5503 WHEN 'STRING' THEN 3
5504 WHEN 'OBJECT' THEN 4
5505 WHEN 'ARRAY' THEN 5
5506 WHEN 'BOOLEAN' THEN 6
5507 WHEN 'DATE' THEN 7
5508 WHEN 'TIME' THEN 8
5509 WHEN 'DATETIME' THEN 9
5510 WHEN 'TIMESTAMP' THEN 9
5511 WHEN 'OPAQUE' THEN 10
5512 END;
5513
5514
5515 # In this part comparision tests for each comparator
5516 # for JSON vs JSON datatypes is present
5517 #--------------------------------------------------------
5518
5519 --source suite/json/inc/json_vs_json_comparator.inc
5520
5521 # In this part comparision tests for each comparator
5522 # for JSON vs Other datatypes is present
5523 #--------------------------------------------------------
5524 --source suite/json/inc/sql_vs_json_equalto.inc
5525 --source suite/json/inc/sql_vs_json_lessthan.inc
5526 --source suite/json/inc/sql_vs_json_greaterthan.inc
5527 --source suite/json/inc/sql_vs_json_lessthanequalto.inc
5528 --source suite/json/inc/sql_vs_json_greaterthanequalto.inc
5529 --source suite/json/inc/sql_vs_json_notequal.inc
5530 --source suite/json/inc/sql_vs_json_null_safe_equal_to.inc
5531
5532 drop table t_bit;
5533 drop table t_tin;
5534 drop table t_boo;
5535 drop table t_sms;
5536 drop table t_smu;
5537 drop table t_mes;
5538 drop table t_meu;
5539 drop table t_ins;
5540 drop table t_inu;
5541 drop table t_bis;
5542 drop table t_biu;
5543 drop table t_dec;
5544 drop table t_flo;
5545 drop table t_dou;
5546 drop table t_dat;
5547 drop table t_dtt;
5548 drop table t_smp;
5549 drop table t_tim;
5550 drop table t_yea;
5551 drop table t_chr;
5552 drop table t_vch;
5553 drop table t_bin;
5554 drop table t_vbn;
5555 drop table t_tbl;
5556 drop table t_ttx;
5557 drop table t_blb;
5558 drop table t_txt;
5559 drop table t_mbb;
5560 drop table t_mtx;
5561 drop table t_lbb;
5562 drop table t_ltx;
5563 drop table t_enu;
5564 drop table t_set;
5565 drop table t_geo;
5566 drop table t_pnt;
5567 drop table t_lst;
5568 drop table t_pol;
5569 drop table t_mpt;
5570 drop table t_mls;
5571 drop table t_mpy;
5572 drop table t_gco;
5573 drop table jj;
5574 drop table t;
5575 drop table at;
5576
5577 drop function get_json_weight;
5578
5579 --echo #
5580 --echo # Bug #34416304 WriteRowToChunk : Assertion `!thd->is_error()' failed
5581 --echo #
5582
5583 CREATE TABLE t (
5584 `a` DOUBLE,
5585 `b` DATETIME
5586 ) engine=innodb;
5587 INSERT INTO t VALUES();
5588 INSERT INTO t VALUES();
5589 INSERT INTO t VALUES();
5590 INSERT INTO t VALUES();
5591 INSERT INTO t VALUES();
5592
5593 --error ER_CANT_CREATE_GEOMETRY_OBJECT
5594 SELECT * FROM t,
5595 JSON_TABLE(
5596 '[{"w":[{"a":true},false],"e":"r"},"x","c",1]','$[*]'
5597 COLUMNS(
5598 b VARCHAR(6595)
5599 EXISTS PATH '$[0].a' ,
5600 a GEOMETRY
5601 EXISTS PATH '$.ba'
5602 )
5603 ) q;
5604
5605 DROP TABLE t;