Skip to content

Commit

Permalink
Merge pull request #21 from SED-Inria-Sophia/master
Browse files Browse the repository at this point in the history
fix call to p1_mysql_conn
  • Loading branch information
prefiks authored Sep 23, 2024
2 parents c0cf53d + ba4eee8 commit d92ff47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p1_mysql.erl
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ connect(Id, Host, Port, User, Password, Database, Reconnect) ->
connect(Id, Host, Port, User, Password, Database, Reconnect, []).
connect(Id, Host, Port, User, Password, Database, Reconnect, SSLOpts) ->
{ok, LogFun} = gen_server:call(?SERVER, get_logfun),
case p1_mysql_conn:start(Host, Port, User, Password, Database, LogFun, SSLOpts) of
case p1_mysql_conn:start(Host, Port, User, Password, Database,?CONNECT_TIMEOUT, LogFun, SSLOpts) of
{ok, ConnPid} ->
MysqlConn =
case Reconnect of
Expand Down

0 comments on commit d92ff47

Please sign in to comment.