rogerbinns / apsw

Another Python SQLite wrapper
https://rogerbinns.github.io/apsw/
Other
744 stars 97 forks source link

apsw.ext.log_sqlite should understand warning #472

Closed rogerbinns closed 1 year ago

rogerbinns commented 1 year ago

It is possible to generate a warning with a double quoted string, and it should be logged at warning level. SQLite also has a few other circumstances in which warning vs error is generated such as making an automatic index or hitting query planner limits.

Currently everything is logged as error.