summaryrefslogtreecommitdiff
path: root/test/test-mysql.cpp
Commit message (Collapse)AuthorAge
* Create and drop MySQL mock DBs as neededDan Goodliffe2021-06-13
|
* Create a basic MySQL testing database classDan Goodliffe2021-06-12
|
* Avoid direct use of runtime_error in MySQL stuffDan Goodliffe2021-06-12
| | | | Adds proper exception which extends it and gets the MySQL error message.
* Get upstream from DBDan Goodliffe2021-06-03
| | | | Adds options from command line and a few supporting tweaks
* Determine parameter mode at point of call by DB type propertyDan Goodliffe2021-06-03
| | | | It's still constexpr, so that's all good.
* Add missing headerDan Goodliffe2021-06-01
|
* Generate DbStmt templates from .sql filesDan Goodliffe2021-06-01
| | | | | | | 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.
* Read test DB connection details from envDan Goodliffe2021-05-31
|
* Initial commit of prepstmt, selects, record setsDan Goodliffe2021-05-31
| | | | This is full of holes, but all the basics are covered.
* Basic support for queries with bound parametersDan Goodliffe2021-05-24
Bit of a reshuffle to make the types not DB specific, add some basic tests over query execution, no selects yet and no validation anything is actually right.