pinba_engine
pinba_engine copied to clipboard
Compile Errors Ubuntu 18.04
Trying to compile this on Ubuntu 18.04 using MariaDB 10.1, during the make process I get these errors (there are many that look like this):
ha_pinba.cc: In member function ‘int ha_pinba::tag_info_fetch_row(unsigned char*)’:
ha_pinba.cc:5893:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (!share->params || share->params[0] == '\0') { \
^
ha_pinba.cc:5924:2: note: in expansion of macro ‘TAG_INFO_FETCH_TOP_BLOCK’
TAG_INFO_FETCH_TOP_BLOCK(tag_info, tag);
^~~~~~~~~~~~~~~~~~~~~~~~
ha_pinba.cc: In member function ‘int ha_pinba::tag2_info_fetch_row(unsigned char*)’:
ha_pinba.cc:5893:44: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (!share->params || share->params[0] == '\0') { \