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

21 Commits

Author SHA1 Message Date
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
asfernandes
dd46c387fb Misc. 2012-03-17 02:26:59 +00:00
dimitr
455c4c82d6 Front-ported CORE-3457: Optimize the temporary space manager regarding small chunk allocations. 2012-03-14 14:00:38 +00:00
dimitr
168032571e Bring some consistency into the memory management.
Reduce number of casts for memory buffers.
Use UCHAR instead of confusing BLOB_PTR.
2010-03-19 10:54:53 +00:00
alexpeshkoff
d6fcd8eb63 It was bad idea to make two TempSpace related parameters per-database - rolled back some changes 2010-03-03 15:02:01 +00:00
alexpeshkoff
e5017f1a12 Extend format of firebird configuration file with a set of additional parameters for any parameter.
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
asfernandes
486962d8c1 Put TempFile in Firebird namespace 2009-06-06 18:39:29 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
robocop
762d7e1392 Style. 2008-12-25 06:09:37 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
robocop
83f77468a0 Misc. 2008-05-21 13:00:37 +00:00
robocop
61662f5b5b Constness and style. 2008-04-19 09:42:01 +00:00
robocop
f8007f4071 Misc. 2008-02-24 03:23:40 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
aafemt
20022be402 Warnings 2007-05-11 06:44:14 +00:00
hvlad
0003cf2b44 Moved two methods from TempSpace.h to TempSpace.cpp to simplify TempSpace.h as Claudio suggested 2007-04-04 21:34:51 +00:00
hvlad
4ec502a7f6 a) Refactor sort module. All related sort_work_file management moved into TempSpace class now. Former sort_work_file is now TempSpace::Segment
b) Add parameter names to declarations of TempSpace methods. It make sources much more readable, i believe, and allow IntelliSense to make useful hints
c) Reworked sort module to use more memory for merge buffers. It significantly increased speed of large sorts. Memory mostly reused from TempSpace memory blocks
2007-04-03 12:57:32 +00:00
dimitr
a1d8d092cb Fixed 64-bit I/O for sort space. 2007-03-12 09:39:52 +00:00
aafemt
8ba3a7acf8 Warnings 2006-06-29 09:06:32 +00:00
asfernandes
9b2b49e95b Misc 2006-06-01 15:48:07 +00:00
dimitr
7cc12e8489 1) Reworked memory management in SORT. Now we're pools aware there.
2) Reworked error handling in SORT and its callers.
3) Replaced DLS+SortMem with the generic TempSpace class.
4) Replaced GDS temp file management with the TempFile class.
5) Various cleanup.
2006-05-31 08:53:00 +00:00