SQLsmith
v1.2.1-5-gfacd7a8
A random SQL query generator
monetdb.hh
Go to the documentation of this file.
1
4
5
#ifndef MONETDB_HH
6
#define MONETDB_HH
7
8
#include "
dut.hh
"
9
#include "
relmodel.hh
"
10
#include "
schema.hh
"
11
#include <string.h>
12
13
#include <mapi.h>
14
15
struct
monetdb_connection
{
16
Mapi dbh;
17
monetdb_connection
(std::string &conninfo);
18
void
q(
const
char
* query);
19
~
monetdb_connection
();
20
};
21
22
struct
schema_monetdb
:
schema
,
monetdb_connection
{
23
schema_monetdb
(std::string &conninfo);
24
virtual
std::string quote_name(
const
std::string &
id
) {
25
return
id;
26
}
27
};
28
29
struct
dut_monetdb
:
dut_base
,
monetdb_connection
{
30
virtual
void
test(
const
std::string &stmt);
31
dut_monetdb
(std::string &conninfo);
32
};
33
34
#endif
dut.hh
Base class for device under test.
relmodel.hh
supporting classes for the grammar
schema.hh
Base class providing schema information to grammar.
dut_base
Definition:
dut.hh:44
dut_monetdb
Definition:
monetdb.hh:29
monetdb_connection
Definition:
monetdb.hh:15
schema_monetdb
Definition:
monetdb.hh:22
schema
Definition:
schema.hh:16
Generated by
1.9.1