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

15 Commits

Author SHA1 Message Date
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
dimitr
186d25aeb1 The merge continued. 2008-01-16 10:25:04 +00:00
alexpeshkoff
f0d465bf34 Fixed gcc warnings, general (un)signed usage cleanup 2007-04-11 09:28:50 +00:00
hvlad
9a4afab5fd Corrected few comments and added missing comments. Removed unneeded init() call 2007-04-05 10:28:11 +00:00
robocop
d468f4db4a Misc. 2007-04-05 09:13:10 +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
hvlad
02f00bb722 Mistake fixed 2006-08-29 21:48:15 +00:00
hvlad
2df6015b5b Don't allocate more space than needed in temp file 2006-08-29 07:09:00 +00:00
aafemt
8ba3a7acf8 Warnings 2006-06-29 09:06:32 +00:00
dimitr
caa90ee94e Support for 64bit I/O. 2006-06-05 14:39:33 +00:00
asfernandes
4f0370df3e Misc 2006-06-03 01:01:51 +00:00
robocop
a5df2e453d I prefer a clearer and specific way to ensure our paths end on a valid directory separator. 2006-06-02 08:46:28 +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