mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 20:43:03 +01:00
Misc.
This commit is contained in:
parent
ab32517063
commit
44c469b51a
@ -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)
|
||||
{
|
||||
|
@ -129,7 +129,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