File: sqllineEngine

package info (click to toggle)
eigenbase-farrago 0.9.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,272 kB
  • sloc: java: 210,765; xml: 25,741; sql: 1,953; sh: 573; makefile: 6
file content (17 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# $Id: //open/dev/farrago/sqllineEngine#3 $
# Run the sqlline command-line SQL interpreter 
# with an embedded Farrago engine

source ./defineFarragoRuntime.sh

if java ${SERVER_JAVA_ARGS} ${SQLLINE_JAVA_ARGS} \
    -u jdbc:farrago: -d net.sf.farrago.jdbc.engine.FarragoJdbcEngineDriver \
    -n sa $*;
then
    echo
else
    tset
    echo "Terminal reset because sqlline crashed"
fi