diff --git a/include/ejabberd_sql.hrl b/include/ejabberd_sql.hrl index c690261ef..c622efcd7 100644 --- a/include/ejabberd_sql.hrl +++ b/include/ejabberd_sql.hrl @@ -34,12 +34,14 @@ format_query :: fun(), format_res :: fun(), args :: fun(), + flags :: pos_integer(), loc :: {module(), pos_integer()}}). -else. -record(sql_query, {hash :: binary(), format_query :: fun(), format_res :: fun(), args :: fun(), + flags :: pos_integer(), loc :: {module(), {pos_integer(), pos_integer()}}}). -endif.