mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Minor change
This commit is contained in:
parent
848c2ec23e
commit
384b4304c0
@ -45,7 +45,7 @@ public:
|
||||
size_t offset = 0;
|
||||
size_t size = 0;
|
||||
char * buf = nullptr;
|
||||
int priority = 0;
|
||||
int64_t priority = 0;
|
||||
};
|
||||
|
||||
/// Less than requested amount of data can be returned.
|
||||
|
@ -110,6 +110,7 @@ public:
|
||||
else if (errno == EAGAIN)
|
||||
{
|
||||
/// Data is not available.
|
||||
std::cerr << "miss\n";
|
||||
break;
|
||||
}
|
||||
else if (errno == EINTR)
|
||||
@ -133,6 +134,7 @@ public:
|
||||
|
||||
if (bytes_read)
|
||||
{
|
||||
std::cerr << "hit\n";
|
||||
promise.set_value(bytes_read);
|
||||
return future;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user