8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 19:23:03 +01:00
Commit Graph

815 Commits

Author SHA1 Message Date
asfernandes
913c435667 Misc. 2014-04-19 21:36:55 +00:00
alexpeshkoff
58ec2954c1 Fixed CORE-4394: Cursor not found error when using legacy API 2014-04-18 12:08:17 +00:00
alexpeshkoff
5bfe0dfa97 Fixed some errors in mapping code, reported by Vlad privately, when using serverwide auth plugin 2014-04-15 12:18:28 +00:00
dimitr
7c540ae0db 1) Prevent shutdown/cancellation for system attachments.
2) Fixed incorrect generation of attachment IDs causing a hangup during gfix -mode read_only.
2014-04-14 15:27:27 +00:00
asfernandes
8608223f53 Misc. 2014-04-13 01:42:10 +00:00
alexpeshkoff
82a3a54896 Fixed mapping errors reported by Claudio & Treeve 2014-04-10 16:43:10 +00:00
alexpeshkoff
8b28dd1da9 Implemented improvement CORE-4387: IStatement::execute() and IAttachment::execute() functions should return on error pointer to old transaction interface 2014-04-08 13:45:21 +00:00
hvlad
a0ddc6771a Patch by Alex (re.CORE-3370 and deadlock in user mapping code) 2014-04-08 07:15:46 +00:00
alexpeshkoff
a66ac62755 Resolved first problem, reported by Vlad privately - it was bad idea to try to load cache from database which is not created yet 2014-04-07 09:28:08 +00:00
robocop
c90d9d4547 Misc. 2014-04-05 01:44:32 +00:00
alexpeshkoff
20e846369e Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names) 2014-04-04 15:57:18 +00:00
robocop
fa2f26b645 A bit less repetitive code. 2014-04-04 07:51:24 +00:00
robocop
29e36dc4f3 The 0th generator becomes unnamed. Only internal requests can access it (zero length names are not allowed from outside). RDB$GENERATORS is no longer a reserved name.System generators cannot be changed by user requests, but can be queried with gen_id(g, 0) if the permissions (ACL) allow that. We don't track dependencies on sys generators, it's not necessary. 2014-04-04 06:39:09 +00:00
robocop
58654b05cf Try to drop as many shadow files as possible. 2014-03-26 19:10:54 +00:00
robocop
66af445e2e Misc. 2014-03-22 20:51:24 +00:00
hvlad
d125f5617a Fixed warning by PVS-Studio
Review is appreciated
2014-02-25 14:18:32 +00:00
alexpeshkoff
26b090c93b Added access to configuration interfaces from IMaster and support for getting configured directories 2014-02-12 11:20:55 +00:00
asfernandes
48ea42f1c0 Misc. 2014-01-19 20:38:16 +00:00
alexpeshkoff
411c3718ca Fixed CORE-4286: "Statement already has a cursor assigned" error when trying to execute another SQL statement using different cursor name. Moved method setCursorName() from IStatement to IResultSet - it was my fault when splitting cursor from statement. 2014-01-17 12:33:23 +00:00
hvlad
5e3c596545 Fixed bug CORE-4309 : 'Cache Writer' record in MON$ATTACHMENTS dissapear when delete other connection that running some 'heavy update' on big table via delete from MON$ATTACHMENTS 2014-01-11 09:10:44 +00:00
robocop
2810026363 Misc and warnings. 2013-12-29 00:35:50 +00:00
asfernandes
2aa3e8dd4d Working in progress on the fix for CORE-4271: unify as possible the handling of procedures and functions. 2013-12-12 14:42:31 +00:00
asfernandes
9c9dd72977 Misc. 2013-11-24 03:21:11 +00:00
alexpeshkoff
4a8fe5a0de Implemented CORE-4273: Per-database control on access to database from remote stations 2013-11-22 15:21:11 +00:00
alexpeshkoff
c2efe1945a Enable linger only in multiuser server mode. This should also fix windows build. 2013-11-21 07:31:30 +00:00
alexpeshkoff
83db69c849 Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type. 2013-11-18 12:20:23 +00:00
dimitr
8033131d18 Fixed possible server crash + minor refactoring. 2013-11-17 14:24:17 +00:00
alexpeshkoff
120b10a78a Implemented CORE-4263: Database linger 2013-11-14 16:16:24 +00:00
dimitr
489480b774 Complementary patch for one of my prior commits (forced rollbacks should go through the TIP). 2013-11-13 15:39:32 +00:00
hvlad
37344e12bf Fixed bug CORE-4260 : Bugcheck 165 (cannot find tip page) happens if engine crashed right after CREATE DATABASE 2013-11-11 14:44:52 +00:00
hvlad
34b99e6f3a Don't force flush for database which creation is not complete. 2013-11-07 10:32:35 +00:00
hvlad
424fb1d75f Avoid hack in create_database when we have FW=ON at header page disk image and FW=OFF in memory structures and in fact database file is created in FW=OFF mode.
Instead of setting flag on header page when it is formatted for the first usage, explicitly set FW=ON after database creation is complete, if there was no isc_dpb_force_write in DPB.
2013-11-07 10:06:36 +00:00
alexpeshkoff
ee748b192d Make code (hopefully) better readable 2013-11-01 14:18:30 +00:00
alexpeshkoff
bd65abc1aa Cleanup 2013-10-31 15:10:26 +00:00
alexpeshkoff
dd73db4494 Fixed CORE-4200: An uncommitted select of the pseudo table sec$users blocks new database connections 2013-10-30 12:11:40 +00:00
hvlad
88a470d22c Fixed two more reasons for CORE-4235 : Deadlock is possible while accessing the monitoring tables under concurrent load. 2013-10-19 08:09:51 +00:00
alexpeshkoff
5a054cca16 Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00
dimitr
c235774864 Attempted to fix CORE-4235: Deadlock is possible while accessing the monitoring tables under concurrent load.
Refactored the list of reference counted attachments to be useful in other cases.
Some minor adjustments in the monitoring code.
2013-09-22 16:10:06 +00:00
dimitr
3821ec9d41 Implemented CORE-4218 (database owner in MON$DATABASE) and CORE-4222 (auth method in MON$ATTACHMENTS). 2013-09-18 09:37:13 +00:00
alexpeshkoff
7c243418a9 Cleanup - removed unused (always NULL) field tra_sibling from transaction class in engine 2013-09-13 12:21:51 +00:00
dimitr
c9cc5294da Avoid rescheduling if we're kindly asked to stop immediately. 2013-09-04 17:52:13 +00:00
dimitr
c367d1f958 Cleanup and use the explicit rollback via TIP for all kinds of forced disconnections. 2013-09-04 17:46:09 +00:00
dimitr
01b81b1edb Code simplification and some corrections. 2013-08-19 18:50:28 +00:00
alexpeshkoff
1eace34614 CORE-3944 - fixed a bug in my previous commit, noticed by Adriano 2013-08-19 08:17:37 +00:00
alexpeshkoff
a8f8465366 Postfix for CORE-3935 & CORE-3944: helps avoid segfaults/deadlocks when shutting down firebird 2013-08-16 12:44:10 +00:00
asfernandes
b6a4d39596 Misc. 2013-07-06 23:11:13 +00:00
dimitr
9e8bbbdd13 Better protection against AST delivery during detaching. 2013-07-03 13:22:44 +00:00
hvlad
c12e731b6a Fixed bug CORE-4134 : Race condition when auto-sweep is started 2013-06-29 11:32:55 +00:00
hvlad
ffa909f8d9 Fixed bug CORE-4135 : In SS sweep blocks establishment of concurrent attachments.
More details in tracker.
2013-06-29 11:25:07 +00:00
alexpeshkoff
7583535db5 Make dialect 3 default when creating database using OO API. Keep legacy behavior in ISC API. 2013-06-24 12:24:29 +00:00