Alexander Barkov
1a5c4c2d9b
MDEV-26186 280 Bytes lost in mysys/array.c, mysys/hash.c, sql/sp.cc, sql/sp.cc, sql/item_create.cc, sql/item_create.cc, sql/sql_yacc.yy:10748 when using oracle sql_mode
...
There was a memory leak under these conditions:
- YYABORT was called in the end-of-rule action of a rule containing expr_lex
- This expr_lex was not bound to any sp_lex_keeper
Bison did not call %destructor <expr_lex> in this case, because its stack
already contained a reduced upper-level rule.
Fixing rules starting with RETURN, CONTINUE, EXIT keywords:
Turning end-of-rule actions with YYABORT into mid-rule actions
by adding an empty trailing { } block. This prevents the upper level
rule from being reduced without calling %destructor <expr_lex>.
In other rules expr_lex is used not immediately before the last
end-of-rule { } block, so they don't need changes.
2023-07-18 12:19:16 +04:00
..
2020-07-22 11:34:50 +05:30
2018-05-06 16:10:49 +04:00
2018-02-27 15:26:51 +04:00
2018-04-27 22:11:18 +04:00
2022-09-13 16:36:38 +03:00
2019-03-07 18:48:15 +04:00
2018-02-12 13:14:23 +01:00
2022-05-18 01:22:29 +02:00
2020-05-25 19:41:58 +03:00
2017-04-05 15:02:48 +04:00
2018-10-18 14:13:00 +04:00
2017-09-23 00:55:28 +04:00
2017-05-18 11:43:24 +02:00
2022-09-12 22:10:39 +04:00
2018-04-03 14:00:19 +04:00
2017-08-11 14:47:36 +04:00
2018-03-13 10:34:28 +01:00
2018-05-14 11:36:22 +04:00
2018-03-29 14:27:57 +04:00
2019-07-10 11:55:16 +04:00
2019-07-10 11:55:16 +04:00
2019-04-18 08:34:08 +04:00
2019-06-18 07:48:08 +04:00
2022-04-14 12:22:28 +04:00
2019-06-18 07:48:08 +04:00
2020-09-04 18:44:44 +03:00
2019-02-28 07:17:47 +04:00
2019-09-20 10:36:20 +04:00
2022-09-12 22:10:39 +04:00
2018-02-27 15:26:51 +04:00
2023-07-14 13:26:26 +04:00
2017-04-20 08:30:23 +04:00
2018-04-22 15:52:46 +04:00
2017-04-05 15:02:55 +04:00
2019-06-04 06:21:22 +04:00
2020-04-15 09:56:03 +03:00
2020-07-28 08:23:57 +02:00
2020-04-15 09:56:03 +03:00
2018-04-20 23:15:27 +04:00
2019-12-12 16:25:16 +04:00
2019-12-12 16:25:16 +04:00
2023-07-18 12:19:16 +04:00
2018-02-27 15:26:51 +04:00
2018-02-27 15:26:51 +04:00
2018-02-27 15:26:51 +04:00
2018-02-27 15:26:51 +04:00
2018-02-27 15:26:51 +04:00
2023-07-14 13:26:26 +04:00
2018-07-04 19:13:55 +02:00
2018-12-09 22:12:27 +02:00
2022-05-07 08:28:23 +10:00
2020-02-05 17:22:26 +01:00
2023-07-14 13:26:26 +04:00
2022-09-12 22:10:39 +04:00
2022-09-14 16:24:51 +04:00
2022-09-30 08:48:57 +02:00
2022-09-14 16:24:51 +04:00
2019-09-20 10:36:20 +04:00
2022-04-21 15:33:50 +03:00
2018-03-27 07:59:57 +04:00
2017-04-05 15:02:54 +04:00
2019-08-06 18:02:03 +04:00
2022-09-14 16:24:51 +04:00
2017-04-05 15:02:54 +04:00
2017-04-05 15:02:54 +04:00
2019-05-21 14:22:49 +04:00
2017-04-05 15:02:52 +04:00
2017-08-14 11:12:17 +04:00
2018-12-27 10:32:33 +04:00
2018-05-18 06:51:21 +04:00