orm: use errcode comparisons, instead of strcmp(sqlite3_errmsg,msg)

This commit is contained in:
Delyan Angelov 2020-07-10 10:14:30 +03:00
parent 581603f2bd
commit d3e676bdc1
4 changed files with 13 additions and 7 deletions

View file

@ -43,6 +43,7 @@ fn C.chmod(byteptr, int) int
fn C.printf(byteptr, ...byteptr) int
fn C.puts(byteptr) int
fn C.fputs(byteptr) int