mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
* src/odbc/ejabberd_odbc.erl: Better error handling for MySQL native driver (EJAB-224).
SVN Revision: 813
This commit is contained in:
parent
2810c2b300
commit
745be8373f
@ -1,3 +1,8 @@
|
||||
2007-07-17 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/odbc/ejabberd_odbc.erl: Better error handling for MySQL
|
||||
native driver (EJAB-224).
|
||||
|
||||
2007-07-15 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/ejabberd_s2s.erl: Added remove_connection/3
|
||||
@ -12,7 +17,7 @@
|
||||
|
||||
* src/mod_echo.erl: mod_echo does not reply to other
|
||||
components. This is to make sure that a component will not
|
||||
discover its own capabilities (EJAB-281).
|
||||
discover its own capabilities (Thanks to Badlop) (EJAB-281).
|
||||
* src/ejabberd.cfg: disable mod_echo in the example config
|
||||
file. mod_echo is mainly a development/test module.
|
||||
|
||||
|
@ -293,6 +293,8 @@ mysql_to_odbc({updated, MySQLRes}) ->
|
||||
mysql_to_odbc({data, MySQLRes}) ->
|
||||
mysql_item_to_odbc(mysql:get_result_field_info(MySQLRes),
|
||||
mysql:get_result_rows(MySQLRes));
|
||||
mysql_to_odbc({error, MySQLRes}) when is_list(MySQLRes) ->
|
||||
{error, MySQLRes};
|
||||
mysql_to_odbc({error, MySQLRes}) ->
|
||||
{error, mysql:get_result_reason(MySQLRes)}.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user