diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-01 00:17:38 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-01 00:17:38 +0100 |
commit | 046cdae1a14a686238ab91b1f883335b2de5a78c (patch) | |
tree | 3fcf031cc9db3d40d65f6ec989b22d97a2dab11e /test | |
parent | Read test DB connection details from env (diff) | |
download | mygrate-046cdae1a14a686238ab91b1f883335b2de5a78c.tar.bz2 mygrate-046cdae1a14a686238ab91b1f883335b2de5a78c.tar.xz mygrate-046cdae1a14a686238ab91b1f883335b2de5a78c.zip |
Generate DbStmt templates from .sql files
m4 generator and related code. Reshuffles some CTF stuff to avoid
pulling in all of CTF and iostream for its fixed_string. Moves CTF out
of AdHoc namespace.
Add some initial SQL statements.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-mysql.cpp | 3 | ||||
-rw-r--r-- | test/test-postgresql.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/test/test-mysql.cpp b/test/test-mysql.cpp index 8710c8b..7c12f9a 100644 --- a/test/test-mysql.cpp +++ b/test/test-mysql.cpp @@ -1,13 +1,12 @@ #define BOOST_TEST_MODULE MySQL #include <boost/test/unit_test.hpp> -#include <compileTimeFormatter.h> -#include <cstddef> #include <cstdint> #include <cstdlib> #include <dbRecordSet.h> #include <dbStmt.h> #include <dbTypes.h> +#include <fixedString.h> #include <helpers.h> #include <input/mysqlConn.h> #include <memory> diff --git a/test/test-postgresql.cpp b/test/test-postgresql.cpp index e89e031..a24acb8 100644 --- a/test/test-postgresql.cpp +++ b/test/test-postgresql.cpp @@ -1,11 +1,11 @@ #define BOOST_TEST_MODULE PostgreSQL #include <boost/test/unit_test.hpp> -#include <compileTimeFormatter.h> #include <cstddef> #include <dbRecordSet.h> #include <dbStmt.h> #include <dbTypes.h> +#include <fixedString.h> #include <helpers.h> #include <memory> #include <output/pq/pqConn.h> |