rlm_sql query buffers are dynamically allocated, so it is not appropriate to define or use MAX_QUERY_LEN