Skip to content

Commit

Permalink
SQL Driver
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkospasic authored and vi committed Jan 25, 2014
1 parent b4c8504 commit 34851d9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions ldbc_socialnet_qgen/run_sql.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

basedir=${0%/*}
libdir=${basedir}/lib
SEP=':'

if [ -z "$CLASSPATH" ]
then
CLASSPATH=${basedir}/bin # for development version only
else
CLASSPATH=$CLASSPATH$SEP${basedir}/bin # for development version only
fi

if [ "$(uname)" = "Cygwin" ]; then SEP=';'; fi
for jar in $libdir/*.jar
do
if [ ! -e "$jar" ]; then continue; fi
CLASSPATH="$CLASSPATH$SEP$jar"
done

export CLASSPATH

./sibdriver -t 300000 -idir td_data -uc sib/int_sql -mt 1 -runs 1 -sql jdbc:virtuoso://localhost:1205/UID=dba/PWD=dba -dbdriver virtuoso.jdbc4.Driver -printres -pq -defaultparams

0 comments on commit 34851d9

Please sign in to comment.