mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix compiler warnings. Get the new sqlite3_result_zeroblob64() working
on loadable extensions. FossilOrigin-Name: f8991e6f726485301c80d2dbb05e7d5c0d283b5d
This commit is contained in:
@@ -430,7 +430,7 @@ void sqlite3_result_zeroblob(sqlite3_context *pCtx, int n){
|
||||
int sqlite3_result_zeroblob64(sqlite3_context *pCtx, u64 n){
|
||||
Mem *pOut = pCtx->pOut;
|
||||
assert( sqlite3_mutex_held(pOut->db->mutex) );
|
||||
if( n>pOut->db->aLimit[SQLITE_LIMIT_LENGTH] ){
|
||||
if( n>(u64)pOut->db->aLimit[SQLITE_LIMIT_LENGTH] ){
|
||||
return SQLITE_TOOBIG;
|
||||
}
|
||||
sqlite3VdbeMemSetZeroBlob(pCtx->pOut, (int)n);
|
||||
|
Reference in New Issue
Block a user