/* Create a string from the zFromat argument and the va_list that follows. Store the string in memory obtained from sqliteMalloc() and make *pz point to that string.  */
SQLITE_PRIVATE void sqlite3SetString(char **, sqlite3 *, const char *,...)
/* Create a string from the zFromat argument and the va_list that follows. Store the string in memory obtained from sqliteMalloc() and make *pz point to that string.  */
SQLITE_PRIVATE void sqlite3SetString(char **, sqlite3 *, const char *,...)
{
  va_list ap;
  char *z;
  va_start(ap, zFormat);
  z = sqlite3VMPrintf(db, zFormat, ap);
  va_end(ap);
  sqlite3DbFree(db, *pz);
  *pz = z;
}