Commit 28255aac authored by unknown's avatar unknown

Fix compile problem (jump across initialization).

parent b6248680
...@@ -438,6 +438,9 @@ void Dblqh::execSTTOR(Signal* signal) ...@@ -438,6 +438,9 @@ void Dblqh::execSTTOR(Signal* signal)
tstartPhase = signal->theData[1]; tstartPhase = signal->theData[1];
/* SYSTEM RESTART RANK */ /* SYSTEM RESTART RANK */
csignalKey = signal->theData[6]; csignalKey = signal->theData[6];
#if defined VM_TRACE || defined ERROR_INSERT || defined NDBD_TRACENR
char *name;
#endif
switch (tstartPhase) { switch (tstartPhase) {
case ZSTART_PHASE1: case ZSTART_PHASE1:
jam(); jam();
...@@ -448,7 +451,7 @@ void Dblqh::execSTTOR(Signal* signal) ...@@ -448,7 +451,7 @@ void Dblqh::execSTTOR(Signal* signal)
sendsttorryLab(signal); sendsttorryLab(signal);
#if defined VM_TRACE || defined ERROR_INSERT || defined NDBD_TRACENR #if defined VM_TRACE || defined ERROR_INSERT || defined NDBD_TRACENR
char *name = NdbConfig_SignalLogFileName(getOwnNodeId()); name = NdbConfig_SignalLogFileName(getOwnNodeId());
tracenrout = new NdbOut(* new FileOutputStream(fopen(name, "w+"))); tracenrout = new NdbOut(* new FileOutputStream(fopen(name, "w+")));
#endif #endif
......
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