Skip to content

fix(sql): remove dead code from sql_trigger_begin

Dmitry Ivanov requested to merge funbringer/fix-rigger-pwhen into 2.11.2-picodata

Summary

  • fix(sql): remove dead code from sql_trigger_begin

The following commit introduced a tautological if expression:

sql: introduce structs assembling DDL arguments during parsing (ba56b145fafaa3)

Due to the changes in commit

sql: refactor memory allocation system (cb777136dd7a0c)

the allocations in sql expressions became infallible, which means that we may safely fix static analysis warnings by dropping the tautological comparison altogether.

Original patch by Feodor Alexandrov.

Close picodata/picodata/picodata#581

Edited by Dmitry Ivanov

Merge request reports