<p>In <a href="https://github.com/OpenSIPS/opensips/pull/715#discussion_r53200634">modules/db_virtual/dbase.c</a>:</p>
<pre style='color:#555'>> +                        CURRCON(__ah) = (CURRCON(__ah)+1)%p->size; \
> +                } \
> +                LM_DBG("curent_con = %i\n", CURRCON(__ah)); \
> +        } while ((__ah)->cons_rem); /* should never exit here */ \
> + \
> +        return rc; \
> +}while (0);
> +
> +
> +int db_virtual_async_raw_query(db_con_t *_h, const str *_s, void **_data)
> +{
> +        handle_async_t* _ah;
> + handle_con_t * _handle;
> + handle_set_t * _p = (handle_set_t*)_h->tail;
> +
> +        if (_s->len > 16384) {
</pre>
<p>Please define this in some header, makes code much more <strong>readable</strong> and <strong>easy to change</strong></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/715/files#r53200634">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcifrJvDrYF3HtfJW_1mtZnYFuhpT-ks5plKdJgaJpZM4Gt7dV.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/OpenSIPS/opensips/pull/715/files#r53200634"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>