- Fix minor roter update logic
- Fix one real_escape_string call.