8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 20:43:03 +01:00

Pass a real tdbb instead of a bogus NULL

This commit is contained in:
asfernandes 2009-11-30 15:18:57 +00:00
parent d66b82dfcc
commit 15635cb8d5

View File

@ -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);
}