SqliteModernCpp / sqlite_modern_cpp

The C++14 wrapper around sqlite library
MIT License
903 stars 156 forks source link

Store error message also for basic return codes. #232

Open WKarel opened 6 months ago

WKarel commented 6 months ago

While throw_sqlite_error is called with the return value of sqlite3_errmsg everywhere, throw_sqlite_error uses this argument only for extended result codes, and discards it for basic ones. ced361fec35623863b24775b715b474f0b6b9cae must have left that out by accident.