Files
scylladb/redis/options.cc
Avi Kivity f3eade2f62 treewide: relicense to ScyllaDB-Source-Available-1.0
Drop the AGPL license in favor of a source-available license.
See the blog post [1] for details.

[1] https://www.scylladb.com/2024/12/18/why-were-moving-to-a-source-available-license/
2024-12-18 17:45:13 +02:00

26 lines
577 B
C++

/*
* Copyright (C) 2019 pengjian.uestc @ gmail.com
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
*/
#include "redis/options.hh"
#include "service/storage_proxy.hh"
#include "data_dictionary/data_dictionary.hh"
#include <seastar/core/format.hh>
#include "redis/keyspace_utils.hh"
using namespace seastar;
namespace redis {
schema_ptr get_schema(service::storage_proxy& proxy, const sstring& ks_name, const sstring& cf_name) {
auto db = proxy.data_dictionary();
auto schema = db.find_schema(ks_name, cf_name);
return schema;
}
}