mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix the sqlite3session_isempty() method so that it returns, as documented, non-zero when no changes have been recorded by the session object.
FossilOrigin-Name: d04e0fd82a15aee963e35830caf8159b4b6ccd87
This commit is contained in:
@ -1787,7 +1787,7 @@ int sqlite3session_isempty(sqlite3_session *pSession){
|
||||
}
|
||||
sqlite3_mutex_leave(sqlite3_db_mutex(pSession->db));
|
||||
|
||||
return ret;
|
||||
return (ret==0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user