Roman Simakov
238fff3a2d
Fixed CORE-1815: Ability to grant role to another role ( #23 )
...
* Initial patch for cumulative roles
* Fixed multiple records in USER_PRIVILEGES and reworked logic on additional grant default role and admin option
2016-05-12 17:03:54 +03:00
asfernandes
6259b1b1e0
Misc.
2016-02-15 02:53:24 +00:00
hvlad
c0e078af12
Missed piece for CORE-5104, thanks to Alex again
2016-02-05 15:09:54 +00:00
hvlad
99cbccccb8
Fixed bug CORE-5104 : External data source selects became slow
...
Thanks to Alex
2016-02-05 15:05:14 +00:00
alexpeshkoff
b0edf7875e
Postfix for CORE-5082: reorganized sources according to Vlad request
2016-01-25 13:52:16 +00:00
alexpeshkoff
eacbf41269
Fixed CORE-5082: Server does not validate correctness of user/password pair provided in EXECUTE STATEMENT operator
2016-01-24 17:58:28 +00:00
alexpeshkoff
139331c7e3
Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
...
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
asfernandes
d58f343b2f
Misc.
2015-05-31 23:38:17 +00:00
hvlad
feea0f7924
Fixed few stability issues with EDS related with cases when external connection is broken unexpectedly.
2015-05-10 20:46:17 +00:00
asfernandes
adf1fd737d
Misc.
2015-05-02 03:54:03 +00:00
hvlad
1301cf964f
Fixed bug CORE-4766 : AV when trying to manage users list using EXECUTE STATEMENT on behalf of non-sysdba user which has RDB$ADMIN role
2015-04-22 11:03:14 +00:00
asfernandes
ed36387e0b
Misc.
2015-04-21 19:26:27 +00:00
robocop
addd67c018
Misc.
2015-04-15 17:38:33 +00:00
hvlad
8edeb97d5f
Fixed bug CORE-4747 : Error "invalid BLOB ID" can occur when retrieving MON$STATEMENTS.MON$SQL_TEXT using ES/EDS and db_connect argument is not specified
2015-04-15 16:59:33 +00:00
alexpeshkoff
6c5f9b77fe
Cleanup - avoid automatic type conversion in FbLocalStatus as suggested by Claudio
2015-03-23 11:06:51 +00:00
alexpeshkoff
c4c9daf132
Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods.
2015-03-20 18:02:30 +00:00
hvlad
5ca8f757ee
Bit more safety
2015-02-22 16:04:50 +00:00
asfernandes
d2ad309c96
Use RefPtr::assignRefNoIncr so we can clearly see the code is not going to crash.
2015-02-22 15:47:21 +00:00
hvlad
1470f7a61e
Fixed leak of various J-objects in EXECUTE STATEMENT (CORE-4683)
2015-02-22 10:58:28 +00:00
asfernandes
47f64b0da4
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54
Revert my last change after it broke the Windows build.
2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
dimitr
cc8cc680a3
Core (engine-level) support for scrollable DSQL cursors. Fixed the IResultSet API to match the JDBC spec. Renamed FB_EOF to FB_NO_DATA. Refactored some DSQL internals.
2015-01-27 10:29:30 +00:00
asfernandes
2a857cb415
Misc.
2015-01-15 01:17:27 +00:00
hvlad
621766efea
Fixed build error
2015-01-12 08:16:32 +00:00
asfernandes
b99311dd1e
Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException).
2015-01-12 00:21:38 +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
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
alexpeshkoff
ee7088a6c9
Use GlobalPtr for static variable doing memory allocation
2014-06-06 10:41:25 +00:00
alexpeshkoff
be0f72fa6e
Fixed assertion reported by Pavel Zotov privately, took typical measures to avoid such behavior in the future
2014-05-20 08:05:16 +00:00
dimitr
ae8f5bbc5a
Misc.
2014-04-13 10:58:15 +00:00
asfernandes
19abcf94fd
Cleanup InternalMessageBuffer.
2014-03-09 01:55:42 +00:00
dimitr
01b81b1edb
Code simplification and some corrections.
2013-08-19 18:50:28 +00:00
dimitr
551e2416c6
Add interface support for scrollable DSQL cursors. Implementation will follow later.
2013-04-13 07:11:58 +00:00
asfernandes
0d299d455a
Remove FbMessage struct from the API.
...
This struct lost its main value (group various blr-related properties in a single parameter).
And since openCursor/fetch already split the message/buffer, it does not make sense anymore to have it.
2013-02-26 03:42:19 +00:00
alexpeshkoff
fc12495d0e
Modified IStatement interface in our API:
...
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
dimitr
1d4ff45d6b
Slightly optimized fetches for internal EXECUTE STATEMENT.
2013-01-25 13:01:19 +00:00
alexpeshkoff
c7454a49a5
Work in progress (committed due to SF upgrade). Checked only on SS.
...
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
hvlad
a935f95d5a
Fixed bug CORE-3799 : with caller privileges option don't work with autonomous transaction option
2012-03-29 13:30:17 +00:00
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00
asfernandes
27bb1f8bc1
1) Removed READ/WRITE BLOB sql commands. 2) Refactored request operations to fix server crashes.
2012-02-03 19:01:36 +00:00
asfernandes
5ae632cf0b
Feature CORE-1288 - Sub Procedures.
...
They're very simple for now. No access to parent variables nor to call neighbour procedures.
Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBPROC_1.output .
2011-10-02 22:11:41 +00:00
asfernandes
f14ec26183
Misc.
2011-06-04 02:18:55 +00:00
alexpeshkoff
4c02901734
Fixed segfault in execute statement, reported by Dmitry privately
2011-06-03 15:29:01 +00:00
asfernandes
2fd18f68c9
Lets try to avoid global functions using name with mixed new (functionName) and old SUBSYS_name name style.
2011-05-11 17:42:44 +00:00
hvlad
479a7f600d
Renamed currentProvider to EngineProvider to better reflect its nature and corrected its declaration (with Alex permission ;). Removed unneeded cast.
2011-05-11 14:45:56 +00:00
asfernandes
69dc52ba48
Integrate IAttachment and ITransaction in the external engines API.
2011-05-07 19:52:44 +00:00
asfernandes
9754526943
Misc; reinterpret to static casts; correction in YRequest version.
2011-04-26 01:00:33 +00:00
alexpeshkoff
256cb1e853
1. Use reference counted stable in global pool objects instead PublicHandle's validation.
...
2. Avoid massive segfaults when closing heavily loaded server.
3. Restored logic in YValve required for correct shutdown.
4. Do not change externally visible request body when preparing it.
2011-04-25 17:47:56 +00:00