1
0
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:
dan
2011-07-18 15:22:56 +00:00
parent a93166e030
commit ff53032641
4 changed files with 12 additions and 12 deletions

View File

@ -1787,7 +1787,7 @@ int sqlite3session_isempty(sqlite3_session *pSession){
}
sqlite3_mutex_leave(sqlite3_db_mutex(pSession->db));
return ret;
return (ret==0);
}
/*