Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/mysql_conn.erl
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,18 @@
%%====================================================================

%%--------------------------------------------------------------------
%% Function: start(Host, Port, User, Password, Database, LogFun)
%% Function: start_link(Host, Port, User, Password, Database, LogFun)
%% Function: start(Host, Port, User, Password, Database, LogFun,
%% Encoding, PoolId, FoundRows) ->
%% Function: start_link(Host, Port, User, Password, Database, LogFun,
%% Encoding, PoolId, FoundRows)
%% Host = string()
%% Port = integer()
%% User = string()
%% Password = string()
%% Database = string()
%% LogFun = undefined | function() of arity 3
%% Encoding = atom()
%% PoolId = atom()
%% FoundRows= boolean(), sets FLAG_FOUND_ROWS capability
%% Descrip.: Starts a mysql_conn process that connects to a MySQL
%% server, logs in and chooses a database.
Expand Down Expand Up @@ -326,13 +330,15 @@ send_msg(Pid, Msg, From, Timeout) ->

%%--------------------------------------------------------------------
%% Function: init(Host, Port, User, Password, Database, LogFun,
%% Parent)
%% Encoding, PoolId, Parent, FoundRows)
%% Host = string()
%% Port = integer()
%% User = string()
%% Password = string()
%% Database = string()
%% LogFun = function() of arity 4
%% Encoding = atom()
%% PoolId = atom()
%% Parent = pid() of process starting this mysql_conn
%% FoundRows= boolean(), sets FLAG_FOUND_ROWS capability
%% Descrip.: Connect to a MySQL server, log in and chooses a database.
Expand Down