summaryrefslogtreecommitdiffstats
path: root/kexi/tests/newapi/sqltest_int
blob: 6cbe47ac17d8599f59544f3ce06b511bc0cd50ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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" $*