Browse Source
We were implicitly relying on sqlite3 behavior that returns the zero-value for nulled fields when accessing them. This adds the same behavior explicitly to the DB abstraction in order to reduce `db_column_is_null` checks in the logic, but still make it evident what is happening here. Fixes https://github.com/fiatjaf/mcldsp/issues/1 Signed-off-by: Christian Decker <@cdecker>travis-debug
committed by
neil saitug
3 changed files with 33 additions and 8 deletions
Loading…
Reference in new issue