Skip to content

Commit 75bd5f5

Browse files
Lorenzo ManganiLorenzo Mangani
Lorenzo Mangani
authored and
Lorenzo Mangani
committed
resync
1 parent 8750052 commit 75bd5f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/redis_extension.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ static void RedisGetFunction(DataChunk &args, ExpressionState &state, Vector &re
8686
key_vector, result, args.size(),
8787
[&](string_t key) {
8888
try {
89-
RedisClient client(host_vector.GetValue(0).GetString(),
90-
port_vector.GetValue(0).GetString());
89+
RedisClient client(host_vector.GetValue(0).ToString(),
90+
port_vector.GetValue(0).ToString());
9191
auto response = client.get(key.GetString());
9292
return StringVector::AddString(result, response);
9393
} catch (std::exception &e) {
@@ -106,8 +106,8 @@ static void RedisSetFunction(DataChunk &args, ExpressionState &state, Vector &re
106106
key_vector, value_vector, result, args.size(),
107107
[&](string_t key, string_t value) {
108108
try {
109-
RedisClient client(host_vector.GetValue(0).GetString(),
110-
port_vector.GetValue(0).GetString());
109+
RedisClient client(host_vector.GetValue(0).ToString(),
110+
port_vector.GetValue(0).ToString());
111111
auto response = client.set(key.GetString(), value.GetString());
112112
return StringVector::AddString(result, response);
113113
} catch (std::exception &e) {

0 commit comments

Comments
 (0)