@@ -86,8 +86,8 @@ static void RedisGetFunction(DataChunk &args, ExpressionState &state, Vector &re
86
86
key_vector, result, args.size (),
87
87
[&](string_t key) {
88
88
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 ());
91
91
auto response = client.get (key.GetString ());
92
92
return StringVector::AddString (result, response);
93
93
} catch (std::exception &e) {
@@ -106,8 +106,8 @@ static void RedisSetFunction(DataChunk &args, ExpressionState &state, Vector &re
106
106
key_vector, value_vector, result, args.size (),
107
107
[&](string_t key, string_t value) {
108
108
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 ());
111
111
auto response = client.set (key.GetString (), value.GetString ());
112
112
return StringVector::AddString (result, response);
113
113
} catch (std::exception &e) {
0 commit comments