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

94 Commits

Author SHA1 Message Date
dimitr
f8726cc1e4 Ugly fix for MS compilers. 2015-09-01 10:50:33 +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
f5645faaa0 Fixed windows build 2014-09-30 14:21:44 +00:00
hvlad
8ba9d33798 Implement improvement CORE-4556 : Allocate data pages in group of sequential ordered pages (extents)
Validation code will follow
2014-09-18 22:31:53 +00:00
asfernandes
6488dfed7f Misc. 2014-07-18 01:52:24 +00:00
skidder
e2e901939c Fix GCC warnings 2014-07-17 21:17:15 +00:00
robocop
b5cc28d40e Warnings (PVS-Studio). 2014-02-22 16:16:06 +00:00
alexpeshkoff
64a89b73a0 Improvement CORE-3588: More detail in message "wrong page type" 2012-06-28 11:46:21 +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
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
dimitr
05c27aa212 Integrated the jumping information natively into the index bucket.
WARNING: This is an ODS change, databases must be recreated.
2012-03-14 14:33:41 +00:00
dimitr
4dffb2c624 Made the jump nodes unconditional. To be continued. 2012-03-13 10:31:28 +00:00
robocop
843ebacf0a Include a new type of validation error: unknown blob type. 2012-02-15 03:44:17 +00:00
dimitr
43898b2d41 I believe this flag is redundant as it duplicates the information already available on the index root page. 2012-01-26 07:38:14 +00:00
dimitr
104814f721 Slightly refactored the b-tree nodes. This commit includes cleaning up ods.h from the runtime (in memory) structures and encapsulating the b-tree nodes implementation inside their corresponding objects. To be continued. 2012-01-26 07:01:45 +00:00
dimitr
ea73eb8935 Misc. 2012-01-08 09:40:58 +00:00
dimitr
2dd5b35f2b Cleanup. We don't need a separately stored global index selectivity for along time already. 2012-01-07 02:30:42 +00:00
dimitr
f062c62d7f Totally misc. 2011-02-15 11:04:38 +00:00
alexpeshkoff
f89ac854ef Getting ready to use 32 (not 31) page and transaction numbers 2011-01-21 17:55:04 +00:00
hvlad
b86cb833f0 Fixed bug CORE-2936 : Wrong page type (expected 7 found N) error 2010-03-22 22:52:22 +00:00
dimitr
de48af30a7 Cleanup. 2010-01-28 10:46:40 +00:00
hvlad
1aeb2b90ea Better name for FIRST_SCN_PAGE constant 2009-12-28 09:08:32 +00:00
robocop
0564019d2f Misc and cleanup. 2009-12-24 11:48:17 +00:00
alexpeshkoff
b3ff195a64 Cleanup - two flags are always set to true starting with ODS > 10 2009-12-22 10:30:49 +00:00
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +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
hvlad
8c757b0f30 ODS change : implement dpg_secondary flag.
Other : make table scan skip secondary data pages, propagate record type to the store_big_record to allow record head be stored at the primary record page.
2009-12-17 09:50:28 +00:00
robocop
b2798cbd87 Misc. 2009-12-16 08:07:36 +00:00
asfernandes
b137cdfd80 Misc 2009-12-14 23:55:56 +00:00
hvlad
559494bfd3 A couple of ODS changes :
- abandon page checksums and use page number for validation
- PIP have now pip_used field to track number of allocated pages
- two more flag bits per data page is now reserved on pointer page. One is for the swept flag and second is still not used but makes calculations easy
- misc changes
Don't forget to rebuild your DBs !
2009-12-14 09:46:16 +00:00
robocop
409ab220b0 - Eliminate the LOG page.
- Eliminate the useless bumped transaction
- Close the gaps in flags related to indices (btr_* in ods.h)
- Close the gaps in header page clumplets types (HDR_* in ods.h)
- Close the gaps in header page flags (hdr_* in ods.h)
Please do a full rebuild.
2009-11-28 08:04:04 +00:00
robocop
9dc71e817d Cleanup. 2009-11-27 06:59:21 +00:00
asfernandes
a3dd1d0482 Misc 2009-11-26 00:20:59 +00:00
robocop
804ad6048a Restrict us to ODS11 and ODS12 until the dust settles down. 2009-11-24 11:42:56 +00:00
robocop
9834b32286 Get rid of obsolete field for replay logging. 2009-11-20 11:29:47 +00:00
robocop
afc138e9bc Generators page cleanup, as requested by Ann Harrison. 2009-11-18 11:54:21 +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
robocop
7ece2a9664 Misc. 2009-11-06 10:45:39 +00:00
robocop
07dc116ed2 Misc. 2009-10-30 10:50:59 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
asfernandes
3f8ed5123b Misc 2009-08-26 01:52:12 +00:00
robocop
abae34b092 We never handled ODS_VERSION7 (see FB1 for example). Thanks Dmitry.
Rework code for readability.
2009-08-24 10:21:14 +00:00
robocop
2cf92eb507 - Change comments to C++ format
- Convert unused information into comments
- Add some extra information
2009-08-23 12:37:18 +00:00
robocop
f7b2032c31 Typo repeated. 2009-06-27 11:12:49 +00:00
robocop
b627ad2a39 Style. 2009-01-07 09:30:57 +00:00
robocop
2fadc0e456 Style. 2008-12-22 09:00:05 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
dimitr
6b5c3734e1 Misc. 2008-11-18 09:53:54 +00:00
roman-simakov
a9203adf92 Patch from Alexander Potapchenko for improvement foreign key handling. Now one can reference to key fields of active record when they are not changed. 2008-06-30 12:23:48 +00:00