summaryrefslogtreecommitdiffstats
path: root/kexi/tests/newapi/sqltest_int
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/tests/newapi/sqltest_int')
-rwxr-xr-xkexi/tests/newapi/sqltest_int15
1 files changed, 15 insertions, 0 deletions
diff --git a/kexi/tests/newapi/sqltest_int b/kexi/tests/newapi/sqltest_int
new file mode 100755
index 00000000..6cbe47ac
--- /dev/null
+++ b/kexi/tests/newapi/sqltest_int
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# sqltest_int - fast parser testing using sqlite database (interactive)
+# Type sqltest_int for usage info.
+
+[ $# -lt 1 ] && echo "Usage: $0 <sqlite-database-name> [-v] [other_options]" && \
+ echo " -v Verbose mode" && exit 1
+
+dbname=$1
+shift
+
+echo "Enter SQL Statement:"
+read
+
+./sqltest "$dbname" "$REPLY" $*