-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
6,148 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
@echo off | ||
set path=.\bin;%PATH% | ||
START tclsh86t hammerdbcli | ||
START tclsh86t hammerdbcli %1 %2 | ||
exit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#!/bin/sh | ||
######################################################################### | ||
## \ | ||
export LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH | ||
## \ | ||
export PATH=./bin:$PATH | ||
## \ | ||
exec ./bin/tclsh8.6 "$0" ${1+"$@"} | ||
######################################################################## | ||
# HammerDB | ||
# Copyright (C) 2003-2018 Steve Shaw | ||
# Author contact information at: http://www.hammerdb.com | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public | ||
# License as published by the Free Software Foundation; either | ||
# version 3 of the License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public | ||
# License along with this program; If not, see <https://www.gnu.org/licenses/> | ||
######################################################################## | ||
global hdb_version | ||
set hdb_version "v3.2" | ||
puts "HammerDB Web Service $hdb_version" | ||
puts "Copyright (C) 2003-2019 Steve Shaw" | ||
puts "Type \"help\" for a list of commands" | ||
set UserDefaultDir [ file dirname [ info script ] ] | ||
::tcl::tm::path add "$UserDefaultDir/modules" | ||
|
||
append modulelist { Thread msgcat sqlite3 xml wapp huddle } | ||
for { set modcount 0 } { $modcount < [llength $modulelist] } { incr modcount } { | ||
set m [lindex $modulelist $modcount] | ||
set loadtext $m | ||
if [catch { package require $m }] { | ||
puts stderr "While loading module\ | ||
\"$m\"...\n$errorInfo" | ||
exit 1 | ||
} | ||
} | ||
|
||
append loadlist { gendict.tcl genvu.tcl gentpcc.tcl gentpch.tcl gengen.tcl genxml.tcl geninitws.tcl genws.tcl } | ||
for { set loadcount 0 } { $loadcount < [llength $loadlist] } { incr loadcount } { | ||
set f [lindex $loadlist $loadcount] | ||
set loadtext $f | ||
if [catch {source [ file join $UserDefaultDir src generic $f ]}] { | ||
puts stderr "While loading component file\ | ||
\"$f\"...\n$errorInfo" | ||
exit 1 | ||
} | ||
} | ||
|
||
for { set dbsrccount 0 } { $dbsrccount < [llength $dbsrclist] } { incr dbsrccount } { | ||
set f [lindex $dbsrclist $dbsrccount] | ||
set loadtext $f | ||
if [catch {source [ file join $UserDefaultDir src $f ]}] { | ||
puts stderr "Error loading database source files/$f" | ||
} | ||
} | ||
start_webservice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@echo off | ||
set path=.\bin;%PATH% | ||
START tclsh86t hammerdbws | ||
exit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.