diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mysqlerl_connection_sup.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mysqlerl_connection_sup.erl b/src/mysqlerl_connection_sup.erl index 4aa3fc6..fd805d3 100644 --- a/src/mysqlerl_connection_sup.erl +++ b/src/mysqlerl_connection_sup.erl @@ -11,7 +11,8 @@ start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []). connect(Host, Port, Database, User, Password, Options) -> - supervisor:start_child(?MODULE, [Host, Port, Database, User, Password, Options]). + supervisor:start_child(?MODULE, [Host, Port, Database, + User, Password, Options]). random_child() -> case get_pids() of |