Skip to content

Commit

Permalink
compile flags for cmdshell
Browse files Browse the repository at this point in the history
  • Loading branch information
SergejJurecko committed Jul 26, 2018
1 parent 71dbb48 commit ed38fb3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
**0.10.25 - 26 Aor 2017**
**0.10.26 - ??**
- Bugfix: Fixes for Erlang 20.0+


**0.10.25 - 26 Apr 2017**
- Bugfix: Proper handling of CREATE TRIGGER statements in schema.
- Bugfix: actordb_console -noshell -q was not printing output.
- Bugfix: show schema was not working from mysql console.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(uname_S),Darwin)
SHELLCMD = gcc c_src/cmdshell.c -I/usr/local/opt/readline/include/ /usr/local/opt/readline/lib/libreadline.a -lncurses -o priv/cmdshell
else
SHELLCMD = gcc c_src/cmdshell.c -lreadline -lncurses -o priv/cmdshell
SHELLCMD = gcc c_src/cmdshell.c -Wl,-Bstatic -lreadline -lncurses -o priv/cmdshell
endif

ifeq ($(uname_S),Darwin)
Expand Down
4 changes: 0 additions & 4 deletions etc/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@
-- Which means you should not create more than one. Add additional users later.
use config
insert into groups values ('grp1','cluster')
insert into groups values ('grp2','fs')
-- localnode() is whatever is in vm.args (-name ....) for node we are connected to.
insert into nodes values (localnode(),'grp1')
insert into nodes values ('node2@192.168.2.2,www.mydomain.com','grp2')
insert into nodes values ('node3@192.168.2.3','grp2')
insert into nodes values ('node4@192.168.2.4','grp2')
CREATE USER 'root' IDENTIFIED BY 'rootpass'
commit

Expand Down

0 comments on commit ed38fb3

Please sign in to comment.