mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
ndb - dbug aid for api signal log
This commit is contained in:
parent
c179d0c1cc
commit
737a866faa
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue