8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00
This commit is contained in:
asfernandes 2008-10-31 00:02:49 +00:00
parent 04b806a3ee
commit 2a757281c6
3 changed files with 4 additions and 4 deletions

View File

@ -28,8 +28,6 @@
#
ROOT=..
include $(ROOT)/gen/make.defaults
include $(ROOT)/gen/make.platform
include $(ROOT)/gen/make.rules

View File

@ -359,12 +359,13 @@ ISC_STATUS DSQL_fetch(thread_db* tdbb,
Jrd::ContextPoolHolder context(tdbb, &request->req_pool);
// if the cursor isn't open, we've got a problem
// if the cursor isn't open, we've got a problem
if (!(request->req_flags & REQ_cursor_open))
{
ERRD_post(Arg::Gds(isc_sqlerr) << Arg::Num(-504) <<
Arg::Gds(isc_dsql_cursor_err) <<
Arg::Gds(isc_dsql_cursor_not_open));
}
#ifdef SCROLLABLE_CURSORS

View File

@ -849,6 +849,7 @@ Service::~Service()
THD_detach(svc_handle);
svc_handle = 0;
}
MutexLockGuard guard(svc_mutex);
AllServices& all(allServices);