Skip to content

Commit 4b9d897

Browse files
committed
Temporary fix for big queries
1 parent 68a36e3 commit 4b9d897

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tarantool.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ tarantool_stream_send(tarantool_object *obj) {
123123
*/
124124
static size_t
125125
tarantool_stream_read(tarantool_object *obj, char *buf, size_t size) {
126-
return tntll_stream_read(obj->stream, buf, size);
126+
return tntll_stream_read2(obj->stream, buf, size);
127127
}
128128

129129
static void
@@ -173,8 +173,8 @@ int __tarantool_connect(tarantool_object *obj, zval *id) {
173173
&obj->stream, &err) == -1) {
174174
continue;
175175
}
176-
if (tntll_stream_read(obj->stream, obj->greeting,
177-
GREETING_SIZE) == -1) {
176+
if (tntll_stream_read2(obj->stream, obj->greeting,
177+
GREETING_SIZE) == -1) {
178178
continue;
179179
}
180180
obj->salt = obj->greeting + SALT_PREFIX_SIZE;

0 commit comments

Comments
 (0)