You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
According to C++ spec: If an inline function or variable (since C++17) with external linkage is defined differently in different translation units, the behavior is undefined. The undefined behaviour causes link errors for cpimport binary. /usr/bin/ld: /tmp/cpimport.bin.av067N.ltrans0.ltrans.o:(.data.rel.ro+0x6c8): undefined reference to `WriteEngine::ColumnOp::isEmptyRow(unsigned long*, unsigned char const*, int)' The isEmptyRow method is defined as inline in the cpp file and not inline in the header file. As the method is not used as part of an external API by any of the callers, nor is it subclassed, mark it as a normal (non virtual) *inline* member function.