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

41 Commits

Author SHA1 Message Date
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
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
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
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
de48af30a7 Cleanup. 2010-01-28 10:46:40 +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
579a456329 Style. 2009-11-25 08:38:52 +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
c9feb04a8a Simplification. 2009-06-21 08:32:55 +00:00
robocop
a958da87f5 Style. 2009-06-21 05:46:51 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +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
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +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
robocop
0dbc9900ba Totally misc. 2006-01-29 01:52:12 +00:00
dimitr
272f1e1755 More fixes, thanks to Claudio. 2006-01-28 07:37:26 +00:00
dimitr
8b20d04a8a 1) An attempt to fix the endianess/alignment issues in the b-tree code.
2) Some adjustments in the pointers management.
2006-01-26 10:45:02 +00:00
robocop
2f752f36aa Totally misc. 2005-03-04 00:01:42 +00:00
arnobrinkman
bb1115255c Very little optimization 2005-02-27 22:29:13 +00:00
arnobrinkman
17f0403f4c Final ODS index structure change 2004-11-18 23:00:20 +00:00
robocop
e5be73b048 Misc: extra semicolons do not help. :-) 2004-11-07 10:47: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
robocop
1bbb740b98 Undo inheritance in ODS page types as requested by Nickolay. Either some macros are too silly or the compiler is limited by the standard here.
Notice I may have missed some file that's not compiled in Win32.
2004-07-10 03:20:33 +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
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
arnobrinkman
9efc5a488b some optimization in index-stuff 2004-03-07 21:50:53 +00:00
arnobrinkman
8b119d78bb Change bug in index-node decompression, to many shifts 2004-02-29 02:00:57 +00:00
arnobrinkman
a2c3a37074 some optimalization 2004-02-26 00:07:37 +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
arnobrinkman
8d69efa666 use standard memcpy / memmove functions and fix a bug with large-key index 2003-12-28 13:42:45 +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