mirror of https://gitee.com/bigwinds/arangodb
removed senseless macro
This commit is contained in:
parent
41bdeeecdd
commit
21ff560bce
|
@ -2366,7 +2366,7 @@ char* TRI_GenerateCodeAql (TRI_aql_context_t* const context) {
|
|||
// put everything together
|
||||
code = TRI_Concatenate2StringZ(TRI_UNKNOWN_MEM_ZONE, generator->_functionBuffer._buffer, generator->_buffer._buffer);
|
||||
if (code) {
|
||||
TRI_AQL_DUMP("generated code: %s\n", code);
|
||||
TRI_AQL_LOG("generated code: %s\n", code);
|
||||
}
|
||||
else {
|
||||
generator->_errorCode = TRI_ERROR_OUT_OF_MEMORY;
|
||||
|
|
|
@ -52,10 +52,8 @@ extern "C" {
|
|||
|
||||
#ifdef TRI_DEBUG_AQL
|
||||
#define TRI_AQL_LOG(...) LOG_INFO(__VA_ARGS__);
|
||||
#define TRI_AQL_DUMP(format, ...) printf(format, __VA_ARGS__);
|
||||
#else
|
||||
#define TRI_AQL_LOG(...) LOG_TRACE(__VA_ARGS__);
|
||||
#define TRI_AQL_DUMP(...) { };
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue