Merge "rdbms: change "profiler" argument in Database::factory so it works again"