mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
static not works here
This commit is contained in:
parent
424f747cdb
commit
b0e129a52f
@ -1107,7 +1107,7 @@ void DatabaseSnapshot::putRequest(const jrd_req* request, ClumpletWriter& writer
|
|||||||
writer.insertTimeStamp(f_mon_stmt_timestamp, empty);
|
writer.insertTimeStamp(f_mon_stmt_timestamp, empty);
|
||||||
}
|
}
|
||||||
// sql text
|
// sql text
|
||||||
const static string emptyString;
|
const string emptyString;
|
||||||
const string &sql = request->req_sql_text ? (*request->req_sql_text) : emptyString;
|
const string &sql = request->req_sql_text ? (*request->req_sql_text) : emptyString;
|
||||||
writer.insertString(f_mon_stmt_sql_text, sql);
|
writer.insertString(f_mon_stmt_sql_text, sql);
|
||||||
// statistics
|
// statistics
|
||||||
|
Loading…
Reference in New Issue
Block a user