8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 07:23:08 +01:00
Commit Graph

153 Commits

Author SHA1 Message Date
hvlad
bdc7bd8d3e Merge branch 'master' into read_consistency 2017-07-10 23:54:42 +03:00
hvlad
2a2a991fe0 Merge branch 'master' into read_consistency 2017-04-03 12:01:56 +03:00
7ad99b795e Added support for system privileges 2016-05-31 20:07:08 +03:00
alexpeshkoff
b09b956eab Fixed CORE-5077: ISQL does not show encryption status of database 2016-01-18 17:30:37 +00:00
hvlad
9165f8b596 New feature CORE-1538 : Add an option to isc_database_info to return the number of free pages in a database 2016-01-02 11:28:53 +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
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
7fed9ff78c cleanup 2015-03-05 16:18:46 +00:00
asfernandes
c642ddca82 Misc. 2014-10-12 02:25:02 +00:00
hvlad
e56788a0e2 Improvement CORE-4562 : Split all validation messages on critical and minor ones 2014-09-28 09:43:57 +00:00
dimitr
a8b1dba646 Refactored RuntimeStatistics internals. Added more record-level performance counters. 2014-08-05 08:46:09 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
dimitr
5453b5c394 Attachments marked as shutdown may still be running (before they reach the rescheduling point), so they should not be accounted as already gone. This should also fix CORE-4236: Database shutdown is reported as successfully completed before all active connections are in fact interrupted. 2013-11-13 15:42:48 +00:00
dimitr
657511babe Wiped out the legacy attachment level counters in favor of the already existing runtime statistics. Introduced a record lock counter (more to follow). 2012-11-01 00:16:55 +00:00
asfernandes
07557dc297 Misc. 2012-05-26 18:05:56 +00:00
robocop
642d506cd9 Change txn numbers to unsigned and commit after Vlad's review. If the compile-time checks (to ensure enough room for the new txn type) are too ugly, they may be deleted. 2012-05-19 12:04:37 +00:00
robocop
70d5ebdfdf - Got rid of the fixed array that kept the stream count in the first element and 255 streams after it.
- Changed streams from UCHAR to ULONG as Dmitry wanted
- Got rid of some redundant flags to indicate BLR level
- Misc changes (for example, converted to test for DBB_read_only in Database to a function)
- BLR v6 is left commented (waiting for a better solution to appear, if any exists)
- This change is not going to raise the engine limits until a solution is found to express more than 255 streams in BLR.
2012-04-12 09:02:13 +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
robocop
0b5ee78cb7 Make more members of blb private. 2012-02-15 07:13:41 +00:00
robocop
843ebacf0a Include a new type of validation error: unknown blob type. 2012-02-15 03:44:17 +00:00
robocop
eed418a89e Make blb resemble more a class: private data members, convert some functions into methods, add methods with code that was in other files, etc. 2012-02-15 03:34:21 +00:00
alexpeshkoff
85b3b5cf95 Interface for 2PC (distributed transactions coordinator) 2011-05-19 11:38:38 +00:00
asfernandes
d0c2265105 Misc. 2011-05-10 01:12:14 +00:00
hvlad
fef1f49c94 Shared page cache implementation 2011-05-09 10:15:19 +00:00
robocop
43606cad9b Misc, style, etc. 2011-04-02 04:27:07 +00:00
hvlad
e532b564fe Fixed issue reported by Claudio privately 2011-03-31 10:28:36 +00:00
asfernandes
ebdc940b01 Correction. 2011-03-18 15:36:03 +00:00
asfernandes
c12c710348 Simplification 2011-03-18 15:24:25 +00:00
dimitr
6449c942e7 Implemented CORE-3332: Provide more detailed information about the query execution plan. Some details are still to be worked on. 2011-02-02 11:31:04 +00:00
asfernandes
a85ff223b1 Correction 2011-01-29 17:30:30 +00:00
asfernandes
ccaaca7c72 Misc 2011-01-29 17:24:29 +00:00
dimitr
fcf42108da Refactoring. Mostly short->long replacements for various buffer sizes. 2011-01-28 17:12:22 +00:00
asfernandes
9c42d4e5af Finish the statements refactor in the engine. Get rid of jrd_nod. 2010-12-04 22:15:03 +00:00
asfernandes
8af7ec0211 Refactored the support for blr_handler, blr_loop, blr_exec_sql, blr_exec_into, blr_exec_stmt,
blr_start_savepoint, blr_end_savepoint, blr_store, blr_store2, blr_erase, blr_modify,
blr_modify2, blr_exec_proc, blr_exec_proc2, blr_exec_pid, blr_dcl_cursor, blr_cursor_stmt,
blr_set_generator, blr_receive, blr_stall, blr_select, blr_block, blr_error_handler,
blr_label, blr_leave, blr_continue and the source info node.
2010-11-29 02:17:04 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
b36b9764ce Misc 2010-04-16 02:31:36 +00:00
alexpeshkoff
88b8a40a04 1. Cleaned up most of SUPERSERVER usage.
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())

2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).

3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
hvlad
a2af0c8e9e ODS change : implemented SCN inventory pages to make diffrential backup faster not reading pages which was not changed since previous backup.
Corresponding nbackup and validation code changes also done.
PAG code refactored a bit.
2009-12-20 23:13:01 +00:00
robocop
1192a11d2a CCH_FETCH_NO_CHECKSUM becomes synonym for CCH_FETCH. 2009-11-29 07:14:55 +00:00
robocop
71d5932ac3 Misc. 2009-11-27 06:59:04 +00:00
robocop
35df8ecc6a Save the information that existed in DSQL for an item we do not used now. 2009-11-27 02:45:02 +00:00
robocop
804ad6048a Restrict us to ODS11 and ODS12 until the dust settles down. 2009-11-24 11:42:56 +00:00
robocop
9ce4040042 Replace the now obsolete dbb_minor_original by dbb_minor_version. 2009-11-18 12:02:00 +00:00
robocop
1386adcf90 Style. 2009-11-16 08:06:31 +00:00
asfernandes
aa254c0e64 Misc 2009-11-16 01:20:35 +00:00
alexpeshkoff
902b0a476c Fixed issues noticed by Claudio 2009-11-15 14:04:06 +00:00
alexpeshkoff
8bfa0a37a2 Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed 2009-11-13 18:29:06 +00:00
dimitr
e6909de7f7 Wipe out the SCROLLABLE_CURSORS code + minor cleanup.
Also, surfaced scrollability for PSQL cursors (without internal support yet).
2009-10-31 06:25:01 +00:00
robocop
92305bff5b Seems more readable to me. 2009-07-17 17:03:02 +00:00