~ubuntu-branches/debian/squeeze/firebird2.0/squeeze

« back to all changes in this revision

Viewing changes to src/jrd/GlobalRWLock.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2009-05-04 11:17:29 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090504111729-vrob1xe54hrvf8ij
Tags: 2.0.5.13206-0.ds2-3
change Section to database

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
                }
133
133
        }
134
134
 
135
 
        bool all_compatible = !writer.entry_count && (level == LCK_read || readers.getCount() == 0);
 
135
        const bool all_compatible = !writer.entry_count && (level == LCK_read || readers.getCount() == 0);
136
136
 
137
137
        // We own the lock and all present requests are compatible with us
138
138
        // In case of any congestion we force all requests through the lock