24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-06 21:37:17 +02:00

* src/ejd2odbc.erl: Updated

SVN Revision: 411
This commit is contained in:
Alexey Shchepin 2005-09-10 18:03:48 +00:00
parent d630180717
commit c7e04260f4

View File

@ -1,7 +1,7 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : ejd2odbc.erl %%% File : ejd2odbc.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@sevcom.net>
%%% Purpose : Import of jabberd1.4 user spool file %%% Purpose : Export some mnesia tables to SQL DB
%%% Created : 22 Aug 2005 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 22 Aug 2005 by Alexey Shchepin <alexey@sevcom.net>
%%% Id : $Id$ %%% Id : $Id$
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
@ -165,7 +165,7 @@ output(LServer, IO, SQL) ->
odbc -> odbc ->
catch ejabberd_odbc:sql_query(LServer, SQL); catch ejabberd_odbc:sql_query(LServer, SQL);
_ -> _ ->
file:write(IO, [SQL, $\n]) file:write(IO, [SQL, $;, $\n])
end. end.
record_to_string(#roster{usj = {User, Server, JID}, record_to_string(#roster{usj = {User, Server, JID},