summaryrefslogtreecommitdiff
path: root/lib/input/sql
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-01 00:17:38 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-01 00:17:38 +0100
commit046cdae1a14a686238ab91b1f883335b2de5a78c (patch)
tree3fcf031cc9db3d40d65f6ec989b22d97a2dab11e /lib/input/sql
parentRead test DB connection details from env (diff)
downloadmygrate-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 'lib/input/sql')
-rw-r--r--lib/input/sql/showMasterStatus.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/input/sql/showMasterStatus.sql b/lib/input/sql/showMasterStatus.sql
new file mode 100644
index 0000000..5746be2
--- /dev/null
+++ b/lib/input/sql/showMasterStatus.sql
@@ -0,0 +1 @@
+SHOW MASTER STATUS