From 89f1e09d69bd7822beefb8e3a8dfc220619c74e0 Mon Sep 17 00:00:00 2001 From: asfernandes Date: Sat, 24 Nov 2007 00:12:17 +0000 Subject: [PATCH] Misc --- doc/README.raw_devices | 2 +- src/jrd/GlobalRWLock.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/README.raw_devices b/doc/README.raw_devices index 6826928183..59ce9f4312 100644 --- a/doc/README.raw_devices +++ b/doc/README.raw_devices @@ -17,7 +17,7 @@ Document date: 2007/11/21 ============== - To make firebird have better performance under such circumsatnces + To make firebird have better performance under such circumstances you may place your database not in a regular file on some filesystem, but on raw device. Any type of block devices is supported. diff --git a/src/jrd/GlobalRWLock.h b/src/jrd/GlobalRWLock.h index 72adad1684..8275764e80 100644 --- a/src/jrd/GlobalRWLock.h +++ b/src/jrd/GlobalRWLock.h @@ -157,7 +157,7 @@ private: // class EngineMutexLockGuard { public: - explicit EngineMutexLockGuard(Firebird::Mutex &alock) + explicit EngineMutexLockGuard(Firebird::Mutex& alock) : lock(&alock) { ThreadExit te; @@ -167,7 +167,7 @@ private: private: // Forbid copy constructor EngineMutexLockGuard(const EngineMutexLockGuard& source); - Firebird::Mutex *lock; + Firebird::Mutex* lock; }; class CountersLockHolder : public AstInhibit, public EngineMutexLockGuard