mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/odbc/odbc_queries.erl: Added missing users_number/1 for MSSQL (EJAB-239).
SVN Revision: 785
This commit is contained in:
parent
697566476f
commit
d2dd6eef09
@ -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
|
||||
|
@ -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,"'"].
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user