1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-4422 Remove mariadb.h and my_sys.h dependency from collation.h

This commit is contained in:
Alexander Barkov
2020-11-30 14:18:26 +04:00
parent 454ec4be99
commit 2ea73846b9
26 changed files with 175 additions and 99 deletions

View File

@ -88,7 +88,7 @@ std::string Func_substring_index::getStrVal(rowgroup::Row& row,
char* ptr = const_cast<char*>(src);
char *i,*j;
uint32_t l;
int32 n = 0, c = count, pass;
int32_t n = 0, c = count, pass;
// For count > 0, this loop goes once.
// For count < 0, it goes twice
for (pass = (count > 0 ? 1 : 0); pass<2; ++pass)