aboutsummaryrefslogtreecommitdiffstats
path: root/src/mysqlerl_connection.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mysqlerl_connection.erl')
-rw-r--r--src/mysqlerl_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysqlerl_connection.erl b/src/mysqlerl_connection.erl
index aa49c7e..362b807 100644
--- a/src/mysqlerl_connection.erl
+++ b/src/mysqlerl_connection.erl
@@ -60,7 +60,7 @@ helper() ->
PrivDir when is_list(PrivDir) -> ok;
{error, bad_name} -> PrivDir = filename:join(["..", "priv"])
end,
- filename:join([PrivDir, "mysqlerl"]).
+ filename:nativename(filename:join([PrivDir, "bin", "mysqlerl"])).
port_ref(Sup) ->
[{mysqlerl_port, Ref, worker, _}] = supervisor:which_children(Sup),