ndb - bug#16669

  put nrtrace in out file instead (debug compiled..)
parent 0d11c2c1
...@@ -119,8 +119,7 @@ operator<<(NdbOut& out, Dblqh::ScanRecord::ScanType state){ ...@@ -119,8 +119,7 @@ operator<<(NdbOut& out, Dblqh::ScanRecord::ScanType state){
const Uint32 NR_ScanNo = 0; const Uint32 NR_ScanNo = 0;
#if defined VM_TRACE || defined ERROR_INSERT || defined NDBD_TRACENR #if defined VM_TRACE || defined ERROR_INSERT || defined NDBD_TRACENR
static FileOutputStream tracenr_fos(fopen("tracenr.log", "w+")); NdbOut & tracenrout = ndbout;
NdbOut tracenrout(tracenr_fos);
static int TRACENR_FLAG = 0; static int TRACENR_FLAG = 0;
#define TRACENR(x) tracenrout << x #define TRACENR(x) tracenrout << x
#define SET_TRACENR_FLAG TRACENR_FLAG = 1 #define SET_TRACENR_FLAG TRACENR_FLAG = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment