[ejabberd] feature of working odbc set_password_t function

Anatoly Mitrophanov anatoliy at nable.ru
Tue Aug 5 15:59:05 MSD 2008



I'm looking through ejabberd-2.0.1/src/odbc/odbc_queries.erl

and found change user password executed by two SQL queries

"delete from users where username=." and then

"insert into users(username, password) values (..)"


Why you using 2 queries for changing user password, but not one UPDATE


Best regards, Anatoly Mitrophanov.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20080805/ce39a23f/attachment.htm 

More information about the ejabberd mailing list