split DUMPLOG
DUMPLOG requests the DUMPLOG feature as it does now DUMPLOG_CORE requests the internal buffering only (used for CRASHREPORT) This allows CRASHREPORT to access recent messages without performing any file I/O.
This commit is contained in:
+1
-1
@@ -214,7 +214,7 @@ hooked_tty_getlin(
|
||||
/* prevent next message from pushing current query+answer into
|
||||
tty message history */
|
||||
*gt.toplines = '\0';
|
||||
#ifdef DUMPLOG
|
||||
#ifdef DUMPLOG_CORE
|
||||
} else {
|
||||
/* needed because we've bypassed pline() */
|
||||
dumplogmsg(gt.toplines);
|
||||
|
||||
Reference in New Issue
Block a user