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

Totally misc.

This commit is contained in:
robocop 2004-10-18 06:48:33 +00:00
parent a62f54f0fc
commit 9ac850c3aa

View File

@ -639,10 +639,12 @@ typedef Firebird::SubsystemContextPoolHolder <tsql, DsqlMemoryPool>
inline tsql* DSQL_get_thread_data() { inline tsql* DSQL_get_thread_data() {
return (tsql*) ThreadData::getSpecific(); return (tsql*) ThreadData::getSpecific();
} }
inline void DSQL_set_thread_data(tsql* &tdsql, tsql* thd_context) { inline void DSQL_set_thread_data(tsql* &tdsql, tsql* thd_context) {
tdsql = thd_context; tdsql = thd_context;
tdsql->putSpecific(); tdsql->putSpecific();
} }
inline void DSQL_restore_thread_data() { inline void DSQL_restore_thread_data() {
ThreadData::restoreSpecific(); ThreadData::restoreSpecific();
} }