1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Fix -Wtype-limits

This commit is contained in:
Alexey Antipovsky
2020-11-10 18:23:21 +00:00
parent f4a6294c95
commit 0e29b0b0f9
11 changed files with 75 additions and 19 deletions

View File

@ -126,7 +126,7 @@ int SqlFileParser::Parse(const string& sqlfile)
throw length_error("SqlFileParser has file size hard limit of 16K.");
}
unsigned rcount;
std::streamsize rcount;
rcount = ifsql.readsome(sqlbuf, sizeof(sqlbuf) - 1);
if (rcount < 0)