Commit 737a866f authored by pekka@mysql.com's avatar pekka@mysql.com

ndb - dbug aid for api signal log

parent c179d0c1
...@@ -160,6 +160,10 @@ setSignalLog(){ ...@@ -160,6 +160,10 @@ setSignalLog(){
} else if(tmp !=0){ } else if(tmp !=0){
if (strcmp(tmp, "-") == 0) if (strcmp(tmp, "-") == 0)
signalLogger.setOutputStream(stdout); signalLogger.setOutputStream(stdout);
#ifndef DBUG_OFF
else if (strcmp(tmp, "+") == 0)
signalLogger.setOutputStream(DBUG_FILE);
#endif
else else
signalLogger.setOutputStream(fopen(tmp, "w")); signalLogger.setOutputStream(fopen(tmp, "w"));
apiSignalLog = tmp; apiSignalLog = tmp;
......
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