Cache codes on OCde can be 7 chars long...

sql-rework
Tomasz Golinski 2020-02-29 23:20:03 +01:00
rodzic b5fc394a6e
commit 9a25aa1f33
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -123,7 +123,7 @@ Caches Okapi::get_caches(const std::set<std::string>& codes) const {
uint k;
std::string codes_list;
codes_list.reserve(MAX_CACHES * 7); // maximum of MAX_CACHES codes, 6 chars per code plus a separator
codes_list.reserve(MAX_CACHES * 8); // maximum of MAX_CACHES codes, 7 chars per code plus a separator
auto it = codes.begin();
while (it != codes.end()) {