mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-21 03:54:30 +01:00
First pass on watchxpub
This commit is contained in:
@@ -2,11 +2,10 @@
|
||||
|
||||
. ./trace.sh
|
||||
|
||||
sql()
|
||||
{
|
||||
trace "sqlite3 ${DB_FILE} '${1}'"
|
||||
sqlite3 -cmd ".timeout 20000" ${DB_FILE} "${1}"
|
||||
sql() {
|
||||
trace "sqlite3 -cmd \".timeout 20000\" ${DB_FILE} \"${1}\""
|
||||
sqlite3 -cmd ".timeout 20000" ${DB_FILE} "${1}"
|
||||
# sqlite3 ${DB_FILE} "PRAGMA busy_timeout=20000; ${1}"
|
||||
|
||||
return $?
|
||||
}
|
||||
|
||||
case "${0}" in *sql.sh) sql $@;; esac
|
||||
|
||||
Reference in New Issue
Block a user