-
Problem report
-
Resolution: Fixed
-
Minor
-
None
-
None
-
Sprint 71 (Dec 2020), Sprint 72 (Jan 2021)
-
0.75
Steps to reproduce:
- open any item with pre-processing steps
- press [Update] button
Result:
In the debug output can see useless SQL statements:
SQL (0.000142): DELETE FROM item_preproc WHERE itemid='32442' SQL (0.000299): SELECT nextid FROM ids WHERE table_name='item_preproc' AND field_name='item_preprocid' FOR UPDATE SQL (0.000141): UPDATE ids SET nextid=81158 WHERE table_name='item_preproc' AND field_name='item_preprocid' SQL (0.000364): INSERT INTO item_preproc (itemid,step,type,params,error_handler,error_handler_params,item_preprocid) VALUES ('32442','1','11','/resultset/row[field/text()=''Aborted_clients'']/field[@name=''Value'']/text()','0','','81157'),('32442','2','10','','0','','81158')
Such statements are generated for each inherited item.
- caused by
-
ZBXNEXT-1443 Ability to transform item values before they are processed and stored to DB
- Closed