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

25 Commits

Author SHA1 Message Date
asfernandes
50102f6f4c Misc 2009-08-23 01:27:46 +00:00
dimitr
4c459ebf1b Fixed CORE-2514: When there is not enough space on the temp drive an error about CreateFile is reported.
This also fixes CORE-2321: query fails with message 'operating system directive write failed. Invalid argument.
2009-08-21 08:36:37 +00:00
asfernandes
486962d8c1 Put TempFile in Firebird namespace 2009-06-06 18:39:29 +00:00
asfernandes
79e89d573d Misc 2009-01-03 19:02:04 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
dimitr
1353bffb6e Misc. 2008-09-13 11:09:09 +00:00
robocop
61662f5b5b Constness and style. 2008-04-19 09:42:01 +00:00
dimitr
721d388365 Let's not infinitely write regular messaging to the log file. 2008-02-06 19:30:30 +00:00
dimitr
8038275ef8 Fixed CORE-1730 plus fixed one minor bug in the original code. 2008-02-06 19:27:57 +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
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