mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:43:03 +01:00
Misc.
This commit is contained in:
parent
0709833576
commit
543538d847
@ -29,7 +29,7 @@ private:
|
||||
FB_THREAD_ID thread;
|
||||
|
||||
public:
|
||||
ThreadBuffer(FB_THREAD_ID thr) : buffer_ptr(buffer), thread(thr) { }
|
||||
explicit ThreadBuffer(FB_THREAD_ID thr) : buffer_ptr(buffer), thread(thr) { }
|
||||
|
||||
const char* alloc(const char* string, size_t& length)
|
||||
{
|
||||
|
@ -124,7 +124,7 @@ namespace {
|
||||
class ThreadIdHolder
|
||||
{
|
||||
public:
|
||||
ThreadIdHolder(Jrd::Service::StatusStringsHelper& p) : strHelper(&p)
|
||||
explicit ThreadIdHolder(Jrd::Service::StatusStringsHelper& p) : strHelper(&p)
|
||||
{
|
||||
MutexLockGuard guard(strHelper->mtx);
|
||||
strHelper->workerThread = getThreadId();
|
||||
|
Loading…
Reference in New Issue
Block a user