From 2645818346a0ecd1a543d7e3e8f036958ca02c60 Mon Sep 17 00:00:00 2001 From: hvlad Date: Thu, 6 May 2010 17:53:11 +0000 Subject: [PATCH] When we asked for attachment's properties we should use attachment's properties, not something else. --- 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 1ae9449436..c27b6d8214 100644 --- a/src/jrd/DatabaseSnapshot.cpp +++ b/src/jrd/DatabaseSnapshot.cpp @@ -980,7 +980,7 @@ bool DatabaseSnapshot::putAttachment(thread_db* tdbb, const Jrd::Attachment* att // remote process name record.storeString(f_mon_att_remote_process, attachment->att_remote_process); // charset - record.storeInteger(f_mon_att_charset_id, tdbb->getCharSet()); + record.storeInteger(f_mon_att_charset_id, attachment->att_charset); // timestamp record.storeTimestamp(f_mon_att_timestamp, attachment->att_timestamp); // garbage collection flag