~ubuntu-branches/ubuntu/utopic/ejabberd/utopic

« back to all changes in this revision

Viewing changes to src/odbc/odbc_queries.erl

  • Committer: Bazaar Package Importer
  • Author(s): Konstantin Khomoutov, Konstantin Khomoutov
  • Date: 2011-10-03 20:27:12 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20111003202712-w9071rc7vleldxwx
Tags: 2.1.9-1
[ Konstantin Khomoutov ]
* New upstream release.
* Remove obsoleted version.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
 
233
233
users_number(LServer) ->
234
234
    case element(1, ejabberd_config:get_local_option({odbc_server, LServer})) of
235
 
    mysql ->
236
 
        ejabberd_odbc:sql_query(
237
 
        LServer,
238
 
        "select table_rows from information_schema.tables where table_name='users'");
239
235
    pgsql ->
240
236
        case ejabberd_config:get_local_option({pgsql_users_number_estimate, LServer}) of
241
237
        true ->