table_helper: Use local db variable

The .setup_keyspace() method already has the db variable in this
continuation lambda.

Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
This commit is contained in:
Pavel Emelyanov
2020-09-18 15:48:40 +03:00
parent 4f30c479f3
commit 2f69e90fc9

View File

@@ -135,7 +135,7 @@ future<> table_helper::setup_keyspace(const sstring& keyspace_name, sstring repl
service::get_local_migration_manager().announce_new_keyspace(ksm, api::min_timestamp, false).get();
}
qs.get_client_state().set_keyspace(cql3::get_local_query_processor().db(), keyspace_name);
qs.get_client_state().set_keyspace(db, keyspace_name);
// Create tables