SQLsmith  v1.2.1-5-gfacd7a8
A random SQL query generator
sqlite.hh
Go to the documentation of this file.
1 
4 #ifndef SQLITE_HH
5 #define SQLITE_HH
6 
7 extern "C" {
8 #include <sqlite3.h>
9 }
10 
11 #include "schema.hh"
12 #include "relmodel.hh"
13 #include "dut.hh"
14 
16  sqlite3 *db;
17  char *zErrMsg = 0;
18  int rc;
19  void q(const char *query);
20  sqlite_connection(std::string &conninfo);
22 };
23 
25  schema_sqlite(std::string &conninfo, bool no_catalog);
26  virtual std::string quote_name(const std::string &id) {
27  return id;
28  }
29 };
30 
32  virtual void test(const std::string &stmt);
33  dut_sqlite(std::string &conninfo);
34 };
35 
36 #endif
Base class for device under test.
supporting classes for the grammar
Base class providing schema information to grammar.
Definition: dut.hh:44
Definition: schema.hh:16