RDBBackend: fixed bug that db_name is not declared.