Dmitry Yemanov 2025.01.15 13:53:39
Fix a crash appeared after the bugfix for #8185 (SIGSEGV with WHERE CURRENT OF statement with statement cache turned on). Reproducible with QA test bugs.core_5231 (release build only). This fix is a very simple one, just to avoid the object state being read after its possible removal. The returned usage counter is not used anyway.

Changed paths:
  M src/dsql/DsqlStatements.cpp
  M src/dsql/DsqlStatements.h