SIGN IN SIGN UP

Fix parenthesis imbalance when the max query is used without COALESCE

When the DB doesn't have an "sqlite_sequence" table, the executed query
is incorrectly parenthesised, provoking a failure in the inline record
addition.

See issue #3850.

The problem was introduced in e65565859743891d8f54f918c2aafd0fa9fadf3a.
M
mgrojo committed
27179d769de5ad5236be75e94a96bc5012e7039b
Parent: 2f3f65b