aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeInt.h
diff options
context:
space:
mode:
authordan <Dan Kennedy>2021-11-08 19:35:26 +0000
committerdan <Dan Kennedy>2021-11-08 19:35:26 +0000
commita32536b498603ea7c69ffaca0f8b1a196377b793 (patch)
treeb1d33828e511e70942260e894af00df2bc14f4ff /src/vdbeInt.h
parent1a39e4561960582d83b84b3fcaf4826e1d9eb8e1 (diff)
downloadsqlite-a32536b498603ea7c69ffaca0f8b1a196377b793.tar.gz
sqlite-a32536b498603ea7c69ffaca0f8b1a196377b793.zip
Fix the zeroblob() function and related APIs so that they work with SQLITE_OMIT_INCRBLOB builds.
FossilOrigin-Name: bc401a75dd9f3c29c5969ae36264e68ccefc0937e44e232ca1f6b550f7fd6e22
Diffstat (limited to 'src/vdbeInt.h')
-rw-r--r--src/vdbeInt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vdbeInt.h b/src/vdbeInt.h
index 763c4ed09..599d06416 100644
--- a/src/vdbeInt.h
+++ b/src/vdbeInt.h
@@ -526,7 +526,11 @@ void sqlite3VdbeMemSetInt64(Mem*, i64);
void sqlite3VdbeMemSetPointer(Mem*, void*, const char*, void(*)(void*));
void sqlite3VdbeMemInit(Mem*,sqlite3*,u16);
void sqlite3VdbeMemSetNull(Mem*);
+#ifndef SQLITE_OMIT_INCRBLOB
void sqlite3VdbeMemSetZeroBlob(Mem*,int);
+#else
+int sqlite3VdbeMemSetZeroBlob(Mem*,int);
+#endif
#ifdef SQLITE_DEBUG
int sqlite3VdbeMemIsRowSet(const Mem*);
#endif