alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
hvlad
e56788a0e2
Improvement CORE-4562 : Split all validation messages on critical and minor ones
2014-09-28 09:43:57 +00:00
alexpeshkoff
2a293c2691
Implemented CORE-4538: Access rights for CREATE DATABASE operator
2014-09-02 16:55:14 +00:00
dimitr
b742803ebf
Refactored the shared cache checks. Optimized the shared counter for SS.
2014-09-01 13:19:53 +00:00
alexpeshkoff
d513daa574
Divide IStatus information into 3 parts: errors, warnings and completion code.
...
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.
Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
dimitr
0fa3945f6a
Corrections for the prior commit:Explicitly distinguish between thread handle and thread id. Return LWP as thread id on Linux.
2014-08-15 14:59:38 +00:00
dimitr
36af3d8cb2
Cleanup and small refactoring to avoid redundancy.
2014-08-15 14:19:02 +00:00
alexpeshkoff
900fb824fe
Fixed CORE-4505: Use of named cursor fails if statement was not executed. Should also fix CORE-4489, but I cannot check.
2014-07-31 11:43:38 +00:00
dimitr
6199136792
Refactored database monitoring, made its handling attachment bound. This should make deadlocks impossible, as well as avoid blocking worker connections while the monitoring request is processed.
2014-07-31 08:56:53 +00:00
alexpeshkoff
532181a7f9
Renamed as suggested by Nickolay and Dmitry
2014-07-28 13:01:10 +00:00
alexpeshkoff
4bdc2a3e19
Replaced macro FB_ALIGN with function fbAlign, minor related cleanup
2014-07-24 06:41:38 +00:00
hvlad
1042e09739
Correction
2014-07-18 12:42:36 +00:00
hvlad
d14c19107d
Avoid races (and AV as result) when two attachments starts to use temporary page space simultaneously.
2014-07-18 12:24:30 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
asfernandes
c35228c0ee
Misc.
2014-07-05 18:36:54 +00:00
alexpeshkoff
a9721f18e0
Added first parameter IStatus* to a lot of functions in API interfaces
2014-07-02 12:57:12 +00:00
alexpeshkoff
69475936c8
Fixed deadlock privately reported by Dmitry Yemanov
2014-06-23 11:17:25 +00:00
asfernandes
08f3a00cb0
Misc.
2014-06-20 02:28:22 +00:00
alexpeshkoff
34388fdf26
Totally misc - we had too many things called "init" in jrd.cpp
2014-06-19 14:35:56 +00:00
dimitr
153b06b2fd
Minor structure changes.
2014-06-13 16:28:22 +00:00
dimitr
bfc9a9c929
Frontported CORE-3305: "BLOB not found" error after creation/altering of the invalid trigger.
2014-06-13 11:28:33 +00:00
hvlad
759bf6a592
Front ported fix for bug CORE-4444 : Engine could hung and block all attachments in out of disk space condition during physical backup
2014-06-10 09:31:35 +00:00
alexpeshkoff
6a2016235a
Fixed CORE-4435: After calling release() for attachment to database (instead detach) in embedded mode attachment remains active forever (and some cleanup re. reference counters)
2014-06-10 07:13:34 +00:00
hvlad
6a806677fd
Front ported:
...
1. Improvement CORE-4431 : Reduce contention for allocation table lock while database is in stalled physical backup state
2. Improvement CORE-4432 : Let attachments to not block others when allocation table is read first time
3. On Windows, file can not be deleted while system writes cached data into it, even if file is not open by anyone.
Therefore flush delta file implicitly before closing it.
2014-05-16 12:07:08 +00:00
asfernandes
40b38014e4
Misc.
2014-05-08 23:26:40 +00:00
alexpeshkoff
d83d4d084a
Fixed a bug, privately reported by Pavel Zotov - segfault when closing trace
2014-05-06 12:25:35 +00:00
alexpeshkoff
9bd0939f09
Implemented CORE-1377: Add an ability to change role without reconnecting to database
2014-04-30 15:12:12 +00:00
alexpeshkoff
a98e565571
Fixed CORE-4303: Possible races while Service destruction, related code cleanup
2014-04-25 10:59:34 +00:00
dimitr
62405ad22f
Fixed ON DISCONNECT triggers I accidentally broke more than a year ago.
2014-04-20 10:09:05 +00:00
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