[sr-dev] git:4.0: db_mysql: fix segfault when recursive queries are made