diff --git a/sqlite3-dbf.h b/sqlite3-dbf.h index 47fbe58..5a0f940 100644 --- a/sqlite3-dbf.h +++ b/sqlite3-dbf.h @@ -144,6 +144,9 @@ static void safeprintbuf(const char *buf, const size_t inputsize) t = targetbuf; for(s = buf; s <= lastchar; s++) { switch(*s) { + case '\'': + *t++ = '\''; + *t++ = '\''; case '\\': *t++ = '\\'; *t++ = '\\';