ndb - dbug aid for api signal log

This commit is contained in:
pekka@mysql.com 2005-04-20 16:09:00 +02:00
parent c179d0c1cc
commit 737a866faa

View file

@ -160,6 +160,10 @@ setSignalLog(){
} else if(tmp !=0){
if (strcmp(tmp, "-") == 0)
signalLogger.setOutputStream(stdout);
#ifndef DBUG_OFF
else if (strcmp(tmp, "+") == 0)
signalLogger.setOutputStream(DBUG_FILE);
#endif
else
signalLogger.setOutputStream(fopen(tmp, "w"));
apiSignalLog = tmp;