]> granicus.if.org Git - ejabberd/commitdiff
Make KEEPALIVE_QUERY list as this is what sql_query/3 expects
authorPaweł Chmielowski <pchmielowski@process-one.net>
Thu, 15 Oct 2015 08:07:06 +0000 (10:07 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Thu, 15 Oct 2015 08:07:24 +0000 (10:07 +0200)
src/ejabberd_odbc.erl

index 620c69fe9bce2bf208a7e10389f16fb2de5cbff5..f86dcca2e088153fec0b09a8d12354f883447cf8 100644 (file)
@@ -90,7 +90,7 @@
 
 -define(KEEPALIVE_TIMEOUT, 60000).
 
--define(KEEPALIVE_QUERY, <<"SELECT 1;">>).
+-define(KEEPALIVE_QUERY, [<<"SELECT 1;">>]).
 
 %%-define(DBGFSM, true).