diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ejabberd_sql_pt.hrl | 4 | ||||
-rw-r--r-- | include/pubsub.hrl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/ejabberd_sql_pt.hrl b/include/ejabberd_sql_pt.hrl index 0048661da..f1a3dba3f 100644 --- a/include/ejabberd_sql_pt.hrl +++ b/include/ejabberd_sql_pt.hrl @@ -23,9 +23,9 @@ -define(SQL_UPSERT_MARK, sql_upsert__mark_). -define(SQL_UPSERT(Host, Table, Fields), - ejabberd_odbc:sql_query(Host, ?SQL_UPSERT_MARK(Table, Fields))). + ejabberd_sql:sql_query(Host, ?SQL_UPSERT_MARK(Table, Fields))). -define(SQL_UPSERT_T(Table, Fields), - ejabberd_odbc:sql_query_t(?SQL_UPSERT_MARK(Table, Fields))). + ejabberd_sql:sql_query_t(?SQL_UPSERT_MARK(Table, Fields))). -record(sql_query, {hash, format_query, format_res, args, loc}). diff --git a/include/pubsub.hrl b/include/pubsub.hrl index 209f802db..3aa090d3b 100644 --- a/include/pubsub.hrl +++ b/include/pubsub.hrl @@ -65,7 +65,7 @@ %% note: pos_integer() should always be used, but we allow anything else coded %% as binary, so one can have a custom implementation of nodetree with custom %% indexing (see nodetree_virtual). this also allows to use any kind of key for -%% indexing nodes, as this can be usefull with external backends such as odbc. +%% indexing nodes, as this can be usefull with external backends such as sql. -type(itemId() :: binary()). %% @type itemId() = string(). |