summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2016-02-23 02:56:43 +0300
committerAlexey Shchepin <alexey@process-one.net>2016-03-02 00:12:49 +0300
commitd8fbe8a28910b11e276f635cc04642b53e3a326c (patch)
treec8f7f21f6c3f4348e5b933f646451c2f0d428621 /include
parentUpdate mod_last SQL queries to the new API (diff)
Update more SQL queries
Diffstat (limited to 'include')
-rw-r--r--include/ejabberd_sql_pt.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ejabberd_sql_pt.hrl b/include/ejabberd_sql_pt.hrl
index f189fdcf..0048661d 100644
--- a/include/ejabberd_sql_pt.hrl
+++ b/include/ejabberd_sql_pt.hrl
@@ -25,7 +25,7 @@
-define(SQL_UPSERT(Host, Table, Fields),
ejabberd_odbc:sql_query(Host, ?SQL_UPSERT_MARK(Table, Fields))).
-define(SQL_UPSERT_T(Table, Fields),
- ejabberd_odbc:sql_query_t(Host, ?SQL_UPSERT_MARK(Table, Fields))).
+ ejabberd_odbc:sql_query_t(?SQL_UPSERT_MARK(Table, Fields))).
-record(sql_query, {hash, format_query, format_res, args, loc}).