Debian Codegraph @

mysql-test/suite/funcs_1/r/innodb_trig_09.result

raw
1 USE test;
2 drop table if exists tb3;
3 create table tb3 (
4 f118 char not null DEFAULT 'a',
5 f119 char binary not null DEFAULT b'101',
6 f120 char ascii not null DEFAULT b'101',
7 f121 char(50),
8 f122 char(50),
9 f129 binary not null DEFAULT b'101',
10 f130 tinyint not null DEFAULT 99,
11 f131 tinyint unsigned not null DEFAULT 99,
12 f132 tinyint zerofill not null DEFAULT 99,
13 f133 tinyint unsigned zerofill not null DEFAULT 99,
14 f134 smallint not null DEFAULT 999,
15 f135 smallint unsigned not null DEFAULT 999,
16 f136 smallint zerofill not null DEFAULT 999,
17 f137 smallint unsigned zerofill not null DEFAULT 999,
18 f138 mediumint not null DEFAULT 9999,
19 f139 mediumint unsigned not null DEFAULT 9999,
20 f140 mediumint zerofill not null DEFAULT 9999,
21 f141 mediumint unsigned zerofill not null DEFAULT 9999,
22 f142 int not null DEFAULT 99999,
23 f143 int unsigned not null DEFAULT 99999,
24 f144 int zerofill not null DEFAULT 99999,
25 f145 int unsigned zerofill not null DEFAULT 99999,
26 f146 bigint not null DEFAULT 999999,
27 f147 bigint unsigned not null DEFAULT 999999,
28 f148 bigint zerofill not null DEFAULT 999999,
29 f149 bigint unsigned zerofill not null DEFAULT 999999,
30 f150 decimal not null DEFAULT 999.999,
31 f151 decimal unsigned not null DEFAULT 999.17,
32 f152 decimal zerofill not null DEFAULT 999.999,
33 f153 decimal unsigned zerofill,
34 f154 decimal (0),
35 f155 decimal (64),
36 f156 decimal (0) unsigned,
37 f157 decimal (64) unsigned,
38 f158 decimal (0) zerofill,
39 f159 decimal (64) zerofill,
40 f160 decimal (0) unsigned zerofill,
41 f161 decimal (64) unsigned zerofill,
42 f162 decimal (0,0),
43 f163 decimal (63,30),
44 f164 decimal (0,0) unsigned,
45 f165 decimal (63,30) unsigned,
46 f166 decimal (0,0) zerofill,
47 f167 decimal (63,30) zerofill,
48 f168 decimal (0,0) unsigned zerofill,
49 f169 decimal (63,30) unsigned zerofill,
50 f170 numeric,
51 f171 numeric unsigned,
52 f172 numeric zerofill,
53 f173 numeric unsigned zerofill,
54 f174 numeric (0),
55 f175 numeric (64)
56 ) charset latin1 engine = <engine_to_be_used>;
57 Warnings:
58 Warning 1287 'BINARY as attribute of a type' is deprecated and will be removed in a future release. Please use a CHARACTER SET clause with _bin collation instead
59 Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead
60 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
61 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
62 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
63 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
64 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
65 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
66 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
67 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
68 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
69 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
70 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
71 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
72 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
73 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
74 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
75 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
76 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
77 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
78 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
79 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
80 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
81 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
82 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
83 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
84 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
85 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
86 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
87 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
88 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
89 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
90 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
91 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
92 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
93 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
94 Note 1265 Data truncated for column 'f150' at row 1
95 Note 1265 Data truncated for column 'f151' at row 1
96 Note 1265 Data truncated for column 'f152' at row 1
97 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/memory_tb3.txt'
98 into table tb3;
99 Warnings:
100 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
101
102 Testcase 3.5.9.1/2:
103 -------------------
104 Warnings:
105 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
106 Create trigger trg1 BEFORE UPDATE on tb3 for each row
107 set new.f142 = 94087, @counter=@counter+1;
108 TotalRows
109 10
110 Affected
111 9
112 NotAffected
113 1
114 NewValuew
115 0
116 set @counter=0;
117 Update tb3 Set f142='1' where f130<100;
118 select count(*) as ExpectedChanged, @counter as TrigCounter
119 from tb3 where f142=94087;
120 ExpectedChanged TrigCounter
121 9 9
122 select count(*) as ExpectedNotChange from tb3
123 where f130<100 and f142<>94087;
124 ExpectedNotChange
125 0
126 select count(*) as NonExpectedChanged from tb3
127 where f130>=130 and f142=94087;
128 NonExpectedChanged
129 0
130 drop trigger trg1;
131 Warnings:
132 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
133
134 Testcase 3.5.9.3:
135 -----------------
136 Warnings:
137 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
138 Create trigger trg2_a before update on tb3 for each row
139 set @tr_var_b4_118=old.f118, @tr_var_b4_121=old.f121,
140 @tr_var_b4_122=old.f122, @tr_var_b4_136=old.f136,
141 @tr_var_b4_163=old.f163;
142 Create trigger trg2_b after update on tb3 for each row
143 set @tr_var_af_118=old.f118, @tr_var_af_121=old.f121,
144 @tr_var_af_122=old.f122, @tr_var_af_136=old.f136,
145 @tr_var_af_163=old.f163;
146 Create trigger trg2_c before delete on tb3 for each row
147 set @tr_var_b4_118=old.f118, @tr_var_b4_121=old.f121,
148 @tr_var_b4_122=old.f122, @tr_var_b4_136=old.f136,
149 @tr_var_b4_163=old.f163;
150 Create trigger trg2_d after delete on tb3 for each row
151 set @tr_var_af_118=old.f118, @tr_var_af_121=old.f121,
152 @tr_var_af_122=old.f122, @tr_var_af_136=old.f136,
153 @tr_var_af_163=old.f163;
154 @tr_var_b4_118 @tr_var_b4_121 @tr_var_b4_122 @tr_var_b4_136 @tr_var_b4_163
155 0 0 0 0 0
156 @tr_var_af_118 @tr_var_af_121 @tr_var_af_122 @tr_var_af_136 @tr_var_af_163
157 0 0 0 0 0
158 Insert into tb3 (f122, f136, f163)
159 values ('Test 3.5.9.3', 7, 123.17);
160 Update tb3 Set f136=8 where f122='Test 3.5.9.3';
161 select f118, f121, f122, f136, f163 from tb3 where f122='Test 3.5.9.3' order by f136;
162 f118 f121 f122 f136 f163
163 a NULL Test 3.5.9.3 00008 123.170000000000000000000000000000
164 select @tr_var_b4_118, @tr_var_b4_121, @tr_var_b4_122,
165 @tr_var_b4_136, @tr_var_b4_163;
166 @tr_var_b4_118 @tr_var_b4_121 @tr_var_b4_122 @tr_var_b4_136 @tr_var_b4_163
167 a NULL Test 3.5.9.3 7 123.170000000000000000000000000000
168 select @tr_var_af_118, @tr_var_af_121, @tr_var_af_122,
169 @tr_var_af_136, @tr_var_af_163;
170 @tr_var_af_118 @tr_var_af_121 @tr_var_af_122 @tr_var_af_136 @tr_var_af_163
171 a NULL Test 3.5.9.3 7 123.170000000000000000000000000000
172 @tr_var_b4_118 @tr_var_b4_121 @tr_var_b4_122 @tr_var_b4_136 @tr_var_b4_163
173 0 0 0 0 0
174 @tr_var_af_118 @tr_var_af_121 @tr_var_af_122 @tr_var_af_136 @tr_var_af_163
175 0 0 0 0 0
176 delete from tb3 where f122='Test 3.5.9.3';
177 select f118, f121, f122, f136, f163 from tb3 where f122='Test 3.5.9.3' order by f136;
178 f118 f121 f122 f136 f163
179 select @tr_var_b4_118, @tr_var_b4_121, @tr_var_b4_122,
180 @tr_var_b4_136, @tr_var_b4_163;
181 @tr_var_b4_118 @tr_var_b4_121 @tr_var_b4_122 @tr_var_b4_136 @tr_var_b4_163
182 a NULL Test 3.5.9.3 8 123.170000000000000000000000000000
183 select @tr_var_af_118, @tr_var_af_121, @tr_var_af_122,
184 @tr_var_af_136, @tr_var_af_163;
185 @tr_var_af_118 @tr_var_af_121 @tr_var_af_122 @tr_var_af_136 @tr_var_af_163
186 a NULL Test 3.5.9.3 8 123.170000000000000000000000000000
187 drop trigger trg2_a;
188 drop trigger trg2_b;
189 drop trigger trg2_c;
190 drop trigger trg2_d;
191 Warnings:
192 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
193
194 Testcase 3.5.9.4:
195 -----------------
196 Warnings:
197 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
198 Create trigger trg3_a before insert on tb3 for each row
199 set @tr_var_b4_118=new.f118, @tr_var_b4_121=new.f121,
200 @tr_var_b4_122=new.f122, @tr_var_b4_136=new.f136,
201 @tr_var_b4_151=new.f151, @tr_var_b4_163=new.f163;
202 Create trigger trg3_b after insert on tb3 for each row
203 set @tr_var_af_118=new.f118, @tr_var_af_121=new.f121,
204 @tr_var_af_122=new.f122, @tr_var_af_136=new.f136,
205 @tr_var_af_151=new.f151, @tr_var_af_163=new.f163;
206 Create trigger trg3_c before update on tb3 for each row
207 set @tr_var_b4_118=new.f118, @tr_var_b4_121=new.f121,
208 @tr_var_b4_122=new.f122, @tr_var_b4_136=new.f136,
209 @tr_var_b4_151=new.f151, @tr_var_b4_163=new.f163;
210 Create trigger trg3_d after update on tb3 for each row
211 set @tr_var_af_118=new.f118, @tr_var_af_121=new.f121,
212 @tr_var_af_122=new.f122, @tr_var_af_136=new.f136,
213 @tr_var_af_151=new.f151, @tr_var_af_163=new.f163;
214 @tr_var_b4_118 @tr_var_b4_121 @tr_var_b4_122 @tr_var_b4_136 @tr_var_b4_151 @tr_var_b4_163
215 0 0 0 0 0 0
216 @tr_var_af_118 @tr_var_af_121 @tr_var_af_122 @tr_var_af_136 @tr_var_af_151 @tr_var_af_163
217 0 0 0 0 0 0
218 Insert into tb3 (f122, f136, f151, f163)
219 values ('Test 3.5.9.4', 7, DEFAULT, 995.24);
220 select f118, f121, f122, f136, f151, f163 from tb3
221 where f122 like 'Test 3.5.9.4%' order by f163;
222 f118 f121 f122 f136 f151 f163
223 a NULL Test 3.5.9.4 00007 999 995.240000000000000000000000000000
224 select @tr_var_b4_118, @tr_var_b4_121, @tr_var_b4_122,
225 @tr_var_b4_136, @tr_var_b4_151, @tr_var_b4_163;
226 @tr_var_b4_118 @tr_var_b4_121 @tr_var_b4_122 @tr_var_b4_136 @tr_var_b4_151 @tr_var_b4_163
227 a NULL Test 3.5.9.4 7 999 995.240000000000000000000000000000
228 select @tr_var_af_118, @tr_var_af_121, @tr_var_af_122,
229 @tr_var_af_136, @tr_var_af_151, @tr_var_af_163;
230 @tr_var_af_118 @tr_var_af_121 @tr_var_af_122 @tr_var_af_136 @tr_var_af_151 @tr_var_af_163
231 a NULL Test 3.5.9.4 7 999 995.240000000000000000000000000000
232 @tr_var_b4_118 @tr_var_b4_121 @tr_var_b4_122 @tr_var_b4_136 @tr_var_b4_151 @tr_var_b4_163
233 0 0 0 0 0 0
234 @tr_var_af_118 @tr_var_af_121 @tr_var_af_122 @tr_var_af_136 @tr_var_af_151 @tr_var_af_163
235 0 0 0 0 0 0
236 Update ignore tb3 Set f122='Test 3.5.9.4-trig', f136=NULL, f151=DEFAULT, f163=NULL
237 where f122='Test 3.5.9.4';
238 Warnings:
239 Warning 1048 Column 'f136' cannot be null
240 Update tb3 Set f122='Test 3.5.9.4-trig', f136=0, f151=DEFAULT, f163=NULL
241 where f122='Test 3.5.9.4';
242 select f118, f121, f122, f136, f151, f163 from tb3
243 where f122 like 'Test 3.5.9.4-trig' order by f163;
244 f118 f121 f122 f136 f151 f163
245 a NULL Test 3.5.9.4-trig 00000 999 NULL
246 select @tr_var_b4_118, @tr_var_b4_121, @tr_var_b4_122,
247 @tr_var_b4_136, @tr_var_b4_151, @tr_var_b4_163;
248 @tr_var_b4_118 @tr_var_b4_121 @tr_var_b4_122 @tr_var_b4_136 @tr_var_b4_151 @tr_var_b4_163
249 a NULL Test 3.5.9.4-trig NULL 999 NULL
250 select @tr_var_af_118, @tr_var_af_121, @tr_var_af_122,
251 @tr_var_af_136, @tr_var_af_151, @tr_var_af_163;
252 @tr_var_af_118 @tr_var_af_121 @tr_var_af_122 @tr_var_af_136 @tr_var_af_151 @tr_var_af_163
253 a NULL Test 3.5.9.4-trig 0 999 NULL
254 drop trigger trg3_a;
255 drop trigger trg3_b;
256 drop trigger trg3_c;
257 drop trigger trg3_d;
258 delete from tb3 where f122='Test 3.5.9.4-trig';
259 Warnings:
260 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
261
262 Testcase 3.5.9.5: (implied in previous tests)
263 ---------------------------------------------
264 Warnings:
265 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
266 Warnings:
267 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
268
269 Testcase 3.5.9.6:
270 -----------------
271 Warnings:
272 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
273 create trigger trg4a before insert on tb3 for each row
274 set @temp1= old.f120;
275 ERROR HY000: There is no OLD row in on INSERT trigger
276 create trigger trg4b after insert on tb3 for each row
277 set old.f120= 'test';
278 ERROR HY000: Updating of OLD row is not allowed in trigger
279 drop trigger trg4a;
280 drop trigger trg4b;
281 Warnings:
282 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
283
284 Testcase 3.5.9.7: (implied in previous tests)
285 ---------------------------------------------
286 Warnings:
287 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
288 Warnings:
289 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
290
291 Testcase 3.5.9.8: (implied in previous tests)
292 ---------------------------------------------
293 Warnings:
294 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
295 Warnings:
296 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
297
298 Testcase 3.5.9.9:
299 -----------------
300 Warnings:
301 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
302 create trigger trg5a before DELETE on tb3 for each row
303 set @temp1=new.f122;
304 ERROR HY000: There is no NEW row in on DELETE trigger
305 create trigger trg5b after DELETE on tb3 for each row
306 set new.f122='test';
307 ERROR HY000: There is no NEW row in on DELETE trigger
308 drop trigger trg5a;
309 drop trigger trg5b;
310 Warnings:
311 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
312
313 Testcase 3.5.9.10: (implied in previous tests)
314 ----------------------------------------------
315 Warnings:
316 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
317 Warnings:
318 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
319
320 Testcase 3.5.9.11: covered by 3.5.9.9
321 -------------------------------------
322 Warnings:
323 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
324 Warnings:
325 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
326
327 Testcase 3.5.9.12: covered by 3.5.9.6
328 -------------------------------------
329 Warnings:
330 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
331 Warnings:
332 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
333
334 Testcase 3.5.9.13:
335 ------------------
336 Warnings:
337 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
338 create trigger trg6a before UPDATE on tb3 for each row
339 set old.f118='C', new.f118='U';
340 ERROR HY000: Updating of OLD row is not allowed in trigger
341 create trigger trg6b after INSERT on tb3 for each row
342 set old.f136=163, new.f118='U';
343 ERROR HY000: Updating of OLD row is not allowed in trigger
344 create trigger trg6c after UPDATE on tb3 for each row
345 set old.f136=NULL;
346 ERROR HY000: Updating of OLD row is not allowed in trigger
347 drop trigger trg6a;
348 drop trigger trg6b;
349 drop trigger trg6c;
350 Warnings:
351 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
352
353 Testcase 3.5.9.14: (implied in previous tests)
354 ----------------------------------------------
355 Warnings:
356 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
357 DROP TABLE test.tb3;