Regenerate ob_error.{h,cpp} at build time
This commit is contained in:
parent
79cc43da25
commit
07ac6a5cf4
@ -677,3 +677,11 @@ add_library(ob_share_static
|
||||
|
||||
target_link_libraries(ob_share_static
|
||||
PUBLIC ob_share)
|
||||
|
||||
#SET(GEN_ERRNO_SCRIPT ${CMAKE_SOURCE_DIR}/src/share/gen_errno.pl)
|
||||
#execute_process(
|
||||
# COMMAND perl ${GEN_ERRNO_SCRIPT}
|
||||
# WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/share
|
||||
# )
|
||||
#
|
||||
#ob_server_add_target(ob_share)
|
||||
|
@ -563,6 +563,11 @@ print $fh_cpp '
|
||||
#define OB_UNLIKELY
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#define ER_KEY_COLUMN_DOES_NOT_EXITS -5211
|
||||
#define ER_DROP_PARTITION_NON_EXISTENT -5303
|
||||
#define ER_BLOB_CANT_HAVE_DEFAULT -5994
|
||||
|
||||
using namespace oceanbase::common;
|
||||
|
||||
namespace oceanbase
|
||||
|
Loading…
x
Reference in New Issue
Block a user