aboutsummaryrefslogtreecommitdiff
path: root/include/ejabberd_sql_pt.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/ejabberd_sql_pt.hrl')
-rw-r--r--include/ejabberd_sql_pt.hrl4
1 files changed, 2 insertions, 2 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}).