Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deletion of default category on MSSQL/Oracle (take 2)
Use new config_is_defined() API to check whether the category to delete is defined as default_category_for_moves, instead of executing a SQL statement against the config table. This prevents a type mismatch error on some RDBMS: - Oracle (ORA-00932: inconsistent data types: expected -, found CLOB) - MSSQL (Operand type clash: text is incompatible with int.) - PostgreSQL (unconfirmed) Fixes #16384
- Loading branch information