#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
#include "third_party/sqlite/sqlite3.h"
namespace sql_fuzzer {
namespace {
constexpr int kMaxNumRows = …;
constexpr int kMaxNumColumns = …;
sqlite3_int64 killTime;
static sqlite3_int64 timeOfDay(void) { … }
int progress_handler(void*) { … }
}
void RunSqlQueriesOnSameDB() { … }
sqlite3* InitConnectionForFuzzing() { … }
void EnableSqliteTracing(sqlite3* db) { … }
void CloseConnection(sqlite3* db) { … }
void RunSqlQueriesOnConnection(sqlite3* db, std::vector<std::string> queries) { … }
void RunSqlQueries(std::vector<std::string> queries, bool enable_tracing) { … }
}