From b0e129a52f9db7991b8688d7bee7709accd311f6 Mon Sep 17 00:00:00 2001 From: hvlad Date: Tue, 3 Feb 2009 08:45:57 +0000 Subject: [PATCH] static not works here --- src/jrd/DatabaseSnapshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/DatabaseSnapshot.cpp b/src/jrd/DatabaseSnapshot.cpp index b000878aaf..ae14d52a3c 100644 --- a/src/jrd/DatabaseSnapshot.cpp +++ b/src/jrd/DatabaseSnapshot.cpp @@ -1107,7 +1107,7 @@ void DatabaseSnapshot::putRequest(const jrd_req* request, ClumpletWriter& writer writer.insertTimeStamp(f_mon_stmt_timestamp, empty); } // sql text - const static string emptyString; + const string emptyString; const string &sql = request->req_sql_text ? (*request->req_sql_text) : emptyString; writer.insertString(f_mon_stmt_sql_text, sql); // statistics