25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

* src/odbc/odbc_queries.erl: Added missing users_number/1 for MSSQL (EJAB-239).

SVN Revision: 785
This commit is contained in:
Mickaël Rémond 2007-06-18 10:22:54 +00:00
parent 697566476f
commit d2dd6eef09
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-06-18 Mickael Remond <mickael.remond@process-one.net>
* src/odbc/odbc_queries.erl: Added missing users_number/1 for MSSQL
(EJAB-239).
2007-06-12 Alexey Shchepin <alexey@sevcom.net>
* src/mod_roster_odbc.erl: Fixed typo

View File

@ -381,6 +381,11 @@ list_users(LServer) ->
LServer,
"EXECUTE dbo.list_users").
users_number(LServer) ->
ejabberd_odbc:sql_query(
LServer,
"select count(*) from users with (nolock)").
add_spool_sql(Username, XML) ->
["EXECUTE dbo.add_spool '", Username, "' , '",XML,"'"].