Refactor join processing

- Make all constraints a list of WhereTerms in a ProcessedWhereClause
- Support multiple joins instead of just one
This commit is contained in:
jussisaurio
2024-07-22 21:21:08 +03:00
parent b2ba69cfd5
commit 84cf4033d5
8 changed files with 368 additions and 400 deletions

View File

@@ -808,8 +808,7 @@ pub unsafe extern "C" fn sqlite3_errmsg(_db: *mut sqlite3) -> *const std::ffi::c
let err_msg = if (*_db).err_code != SQLITE_OK {
if !(*_db).p_err.is_null() {
let cstr = (*_db).p_err as *const std::ffi::c_char;
cstr
(*_db).p_err as *const std::ffi::c_char
} else {
std::ptr::null()
}