diff options
Diffstat (limited to 'lib/src/mysqlerl_port_sup.erl')
-rw-r--r-- | lib/src/mysqlerl_port_sup.erl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/src/mysqlerl_port_sup.erl b/lib/src/mysqlerl_port_sup.erl deleted file mode 100644 index 3053cdc..0000000 --- a/lib/src/mysqlerl_port_sup.erl +++ /dev/null @@ -1,18 +0,0 @@ --module(mysqlerl_port_sup). --author('bjc@kublai.com'). - --behavior(supervisor). - --export([start_link/7]). --export([init/1]). - -start_link(Cmd, Host, Port, Database, User, Password, Options) -> - supervisor:start_link(?MODULE, [Cmd, Host, Port, Database, - User, Password, Options]). - -init([Cmd, Host, Port, Database, User, Password, Options]) -> - Ref = {mysqlerl_port, {mysqlerl_port, start_link, - [Cmd, Host, Port, Database, - User, Password, Options]}, - transient, 5, worker, [mysqlerl_port]}, - {ok, {{one_for_one, 10, 5}, [Ref]}}. |