mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Totally misc.
This commit is contained in:
parent
a62f54f0fc
commit
9ac850c3aa
@ -639,10 +639,12 @@ typedef Firebird::SubsystemContextPoolHolder <tsql, DsqlMemoryPool>
|
||||
inline tsql* DSQL_get_thread_data() {
|
||||
return (tsql*) ThreadData::getSpecific();
|
||||
}
|
||||
|
||||
inline void DSQL_set_thread_data(tsql* &tdsql, tsql* thd_context) {
|
||||
tdsql = thd_context;
|
||||
tdsql->putSpecific();
|
||||
}
|
||||
|
||||
inline void DSQL_restore_thread_data() {
|
||||
ThreadData::restoreSpecific();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user