From 15635cb8d552673fa66ca73ffcf8bf3f87359f70 Mon Sep 17 00:00:00 2001 From: asfernandes Date: Mon, 30 Nov 2009 15:18:57 +0000 Subject: [PATCH] Pass a real tdbb instead of a bogus NULL --- src/jrd/cvt.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jrd/cvt.cpp b/src/jrd/cvt.cpp index 41bc211a6d..a738f510f2 100644 --- a/src/jrd/cvt.cpp +++ b/src/jrd/cvt.cpp @@ -405,7 +405,8 @@ bool EngineCallbacks::transliterate(const dsc* from, dsc* to, CHARSET_ID& charse CharSet* EngineCallbacks::getToCharset(CHARSET_ID charSetId) { - return INTL_charset_lookup(NULL, charSetId); + thread_db* tdbb = JRD_get_thread_data(); + return INTL_charset_lookup(tdbb, charSetId); }