mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Pass a real tdbb instead of a bogus NULL
This commit is contained in:
parent
d66b82dfcc
commit
15635cb8d5
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user