1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00
Files
mariadb-columnstore-engine/writeengine
Vicențiu Ciorbaru 342f71e7fb Fix compilation failure on aarch64 with gcc 10.3 Ubuntu 21.04
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.
2021-11-04 10:04:08 +00:00
..
2016-01-06 14:08:59 -06:00
2021-08-23 10:45:10 -05:00
2021-10-29 14:57:11 +00:00
2021-08-23 10:45:10 -05:00
2021-08-23 10:45:10 -05:00
2016-07-15 10:49:57 -05:00
2016-01-06 14:08:59 -06:00