dimitr
302cd6b401
Fixed CORE-4840: Transactions with isc_tpb_autocommit can hang the server.
2015-12-19 10:43:47 +00:00
aafemt
0903af542e
Rollback
2015-12-17 13:44:34 +00:00
dimitr
e39801c450
This should fix the minor error reporting regression noticed for bugs.core_3323.
2015-12-16 16:43:59 +00:00
aafemt
1fc4e352b0
Allow key holders to be called on client side (CORE-5043)
2015-12-14 14:07:05 +00:00
dimitr
6b6b605e01
Fixed possible problems with asynchronous query cancellation (recent regression).
2015-12-11 06:52:44 +00:00
alexpeshkoff
0891bc723d
Fixed CORE-5041: Database may get corrupted after ALTER DATABASE ENCRYPT/DECRYPT issued multiple times per database open time
2015-12-10 16:58:58 +00:00
dimitr
bf7951b259
Second round of my checkout/rescheduling changes.
2015-12-01 12:23:43 +00:00
dimitr
dc7aad88ed
1) Slightly refactored recheduling and checkout logic.
...
2) Re-enabled checkouts in PIO routines, this resolves CORE-4179. Windows build may be broken, please validate.
3) Implemented faster reaction on asynchronous cancellation/shutdown requests.
4) Avoided locking dbb_sync in AST. This change also solves races during massive attachment shutdown.
2015-11-29 15:12:31 +00:00
hvlad
a6d615c0cd
Fix one of the reason for AV in the engine (see CORE-4680, test by Pavel Zotov at 18 Nov 2015).
...
The race when gone attachment released database object while another attachment is initialized and uses same database object.
Could happens with shared cache (former SS) only.
2015-11-20 10:17:54 +00:00
alexpeshkoff
ea5a949d1a
Fixed CORE-4991: Key holder plugin is loaded on connect to database but not on create
2015-11-11 13:53:04 +00:00
dimitr
4e4d8002e5
CORE-4965: Extend the transaction ID space beyond 2^32 transactions. Initially developed in the v2.5 custom branch, then reworked and now merged into v3.0.
2015-10-19 13:32:02 +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
hvlad
b7faf29697
Removed unused mutex.
...
Fixed tiny memory leak.
2015-10-06 10:27:10 +00:00
dimitr
02120b05d1
Put some order to the page size macros and their usage. Changed the default page size to 8KB.
2015-09-01 07:24:10 +00:00
alexpeshkoff
ef78fedd46
Fixed CORE-4899: GFIX -online: message "IProvider::attachDatabase failed when loading mapping cache" appears in Classic (only) if access uses remote protocol
2015-08-18 15:04:04 +00:00
asfernandes
77f6054821
On behalf of alexpeshkoff after sourceforge crash - Postfix for CORE-4811: fix handling case for OS names
2015-07-26 15:35:52 +00:00
asfernandes
4a4e85e29a
Fixed CORE-4279 - Invalid error message: "CHARACTER SET OCTETS is not defined" on db creation with isc_dpb_lc_ctype = OCTETS.
2015-07-12 21:16:33 +00:00
asfernandes
1f6811a99c
Fixed CORE-4277 - Can create database with invalid character set.
2015-07-10 16:19:53 +00:00
alexpeshkoff
e420019cd4
Fixed CORE-4871: Merge SharedDatabase/SharedCache into single parameter ServerMode, affecting the way how server is started
2015-07-10 13:41:10 +00:00
alexpeshkoff
b692e85f56
Implemented CORE-4851: Apply methods, used for cross security database authentication, to the trace
2015-06-30 16:01:10 +00:00
alexpeshkoff
6cf0445c56
Fixed extremely rare segfault when shutting down server - no use in keeping security database(s) opened during shutdown
2015-06-04 12:07:10 +00:00
alexpeshkoff
1b6632ac8b
Fixed CORE-4811: Make user names behave according to SQL identifiers rules
2015-06-03 13:57:18 +00:00
alexpeshkoff
364995fb88
Fixed code disabling access to network filenames in embedded mode
2015-05-20 13:07:06 +00:00
asfernandes
adf1fd737d
Misc.
2015-05-02 03:54:03 +00:00
robocop
a9dfddf495
Misc.
2015-04-27 04:44:59 +00:00
alexpeshkoff
d284fa3c6a
Fixed CORE-4768: CREATE USER ... TAGS ( argument_1 = 'value1', ..., argument_N = 'valueN' ) - wrong results of statement when there are many arguments
2015-04-24 13:07:40 +00:00
alexpeshkoff
bab9ce6e47
Fixed CORE-4743: Granted role does not work with non-ascii username
2015-04-17 18:35:39 +00:00
hvlad
b008023ab6
Exceptions in getTransactionInterface() should be catched and traced too
2015-04-17 13:27:01 +00:00
egorpugin
03580b29d6
[build] Fix duplicate symbol error on AppleClang while building for iOS.
2015-03-30 14:35:30 +00:00
asfernandes
336456d140
Misc.
2015-03-28 00:36:04 +00:00
alexpeshkoff
16768b177d
Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry
2015-03-27 17:51:19 +00:00
alexpeshkoff
e7663b6bc0
Use status interface instead plain status vector when working with exceptions.
...
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +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
robocop
939feab036
Misc.
2015-03-13 15:26:22 +00:00
alexpeshkoff
90c01a246e
Fixed role's case handling when checking grant for create database - thanks to Claudio
2015-03-11 13:39:58 +00:00
dimitr
d2db1a782e
Fixed a possible reason for CORE-4705. Alex, please review.
2015-03-06 20:43:57 +00:00
alexpeshkoff
7fed9ff78c
cleanup
2015-03-05 16:18:46 +00:00
alexpeshkoff
219c62b46e
Full fix for CORE-4698, also fixed some more or less related leaks, segfaults and assertions
2015-03-04 16:18:53 +00:00
alexpeshkoff
4b08cccbf0
Dynamic buffer for status vector and dynamic strings in IStatus
2015-02-25 17:03:39 +00:00
hvlad
291e028ef3
Simplest fix for bug CORE-4698 : typing "add -user SYSDBA -pw masterkey -admin yes" into gsec crashes firebird.exe
2015-02-24 09:15:24 +00:00
hvlad
1470f7a61e
Fixed leak of various J-objects in EXECUTE STATEMENT (CORE-4683)
2015-02-22 10:58:28 +00:00
dimitr
4fd0614875
Misc code simplification.
2015-02-19 19:52: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
alexpeshkoff
f8a9d903e2
Unlink JResultSet from DsqlCursor when cursor is closed due to end of transaction - this fixes AV in tcs/BLOB.0.DSQL
2015-02-17 11:42:50 +00:00
hvlad
79b760b4ac
Memory leak (CORE-4683)
2015-02-16 13:57:28 +00:00
asfernandes
9ece682387
Misc.
2015-02-14 18:55:00 +00:00
alexpeshkoff
9a7c7a6c31
Fixed CORE-4685: Accessing DB in invalid manner when links (hard or symbolic) are used for it
2015-02-09 14:08:31 +00:00