fix ob_error.cpp file requires at least 20g memory for release(-O2) compilation
fixed (#407)
This commit is contained in:
committed by
wangzelin.wzl
parent
5baefa81ff
commit
65d30fe39f
@ -23,6 +23,11 @@
|
||||
#endif
|
||||
using namespace oceanbase::common;
|
||||
|
||||
// fix ob_error.cpp file requires at least 20g memory for release(-O2) compilation
|
||||
// it can be solved by introducing <iostream> header file temporarily
|
||||
// TODO: it is clang11 bug, the specific reason to be further located
|
||||
#include <iostream>
|
||||
|
||||
static const char *ERROR_NAME[OB_MAX_ERROR_CODE];
|
||||
static const char *ERROR_CAUSE[OB_MAX_ERROR_CODE];
|
||||
static const char *ERROR_SOLUTION[OB_MAX_ERROR_CODE];
|
||||
|
||||
Reference in New Issue
Block a user