8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 06:43:04 +01:00
Commit Graph

37 Commits

Author SHA1 Message Date
Dmitry Yemanov
08c42cb080 Rework fast_load() local structures to achieve a clearer code. Reduce
number of runtime allocations. Restore the original (before MAX_KEY
increase) stack requirements.
2016-05-15 12:41:45 +03: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
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
32712c2c40 Misc and cleanup 2012-01-27 09:10:12 +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
e92c40eed7 Fixed the error handling behavior in fast_load(), now it corresponds to the original (FB1) one.
Fixed a possible bugcheck because of an unexpectedly missing index root page.
Simplified the various jump node structures usage.
2011-02-12 21:32:05 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
dimitr
e5a732d782 Cleanup the dead code remaining from the legacy scrollable cursors feature. 2010-03-16 06:21:28 +00:00
dimitr
79a2e9bdcb Cleanup. 2009-12-23 14:19:38 +00:00
alexpeshkoff
b3ff195a64 Cleanup - two flags are always set to true starting with ODS > 10 2009-12-22 10:30:49 +00:00
dimitr
5a0ef97a9a Cleanup. Page numbers are not expected to be 64-bit in the foreseeable future. 2009-12-07 10:44:29 +00:00
robocop
2e6cce75de Comments and style. 2009-11-28 07:37:13 +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
asfernandes
ae6c7e7352 Misc 2009-08-14 01:58:22 +00:00
robocop
b217b6cf09 Style. 2009-08-13 10:35:56 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
dimitr
db7d3ecd4c The merge continued. 2008-01-16 08:31:31 +00:00
alexpeshkoff
2ffce25e24 Made specially actively used function inline.
This gives up to 8% performance increase on test, actively using indices.
2007-12-18 11:34:32 +00:00
alexpeshkoff
469589f573 Use Firebird::Array instead of STL's vector 2006-04-25 17:49:24 +00:00
robocop
c8d265ac84 Function quad_put is defined nowhere. 2006-04-19 09:28:06 +00:00
robocop
d74438baed Fix the discordant data types between flags and the vars used to work with them (really dangerous if the flag is USHORT and you hold it in a UCHAR). Also, get rid of some debris of the uppercased typedefs. 2006-04-19 07:10:53 +00:00
arnobrinkman
17f0403f4c Final ODS index structure change 2004-11-18 23:00:20 +00:00
skidder
02a0915156 Teach engine to work with larger record numbers - 64-bit internally, 40-bit externally 2004-09-28 06:28:38 +00:00
arnobrinkman
3a5cec7e97 1) Add filename and linenumber to loginformation for ERR_BUGCHECK
2) Fix some index bugs and little refactoring
2004-09-24 00:11:32 +00:00
brodsom
75a0483d75 -Comment some common.h unused macros
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +00:00
brodsom
2f4865a195 Replace defines for constants 2004-04-29 14:51:02 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
alexpeshkoff
7007d6f2a4 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
2ab1f94dd2 Cleanup
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
arnobrinkman
9efc5a488b some optimization in index-stuff 2004-03-07 21:50:53 +00:00
arnobrinkman
9ddf4b9450 Use compressed index-entries.
This will save 2 bytes on every duplicate entry and pagenumber / recordnumber are stored by 7-bits as needed.
2004-02-25 22:14:19 +00:00
robocop
5c3c8abd9a Big cleanup.
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +00:00
robocop
bc4e1d94ac constness fun 2003-12-03 08:44:28 +00:00
arnobrinkman
9ebf93b7b9 Enhanced Index Structure.
1) NULLs on top when sorting on ASC index, DESC stays the same.
2) Support for larger index lengths, can be up to 1/4 page size.
3) Store record-number on non-leafpages for faster lookup in many duplicates.
4) Jump-nodes for faster key-lookup in index on larger page-sizes.
5) Segment selectivity calculation added.
2003-12-01 10:25:41 +00:00