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

46 Commits

Author SHA1 Message Date
Dmitry Yemanov
eaa0df55cd CORE-5718: Make TempCacheLimit setting database-wise 2018-01-21 12:11:11 +03:00
alexpeshkoff
139331c7e3 Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
alexpeshkoff
16768b177d Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry 2015-03-27 17:51:19 +00:00
alexpeshkoff
e7663b6bc0 Use status interface instead plain status vector when working with exceptions.
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
asfernandes
6a864ad949 Misc. 2014-09-07 19:37:00 +00:00
asfernandes
5ffc936053 Misc. 2014-08-06 02:12:01 +00:00
skidder
151b3c71bf Fix MSVC build errors and warnings 2014-07-31 21:15:33 +00:00
alexpeshkoff
532181a7f9 Renamed as suggested by Nickolay and Dmitry 2014-07-28 13:01:10 +00:00
alexpeshkoff
4bdc2a3e19 Replaced macro FB_ALIGN with function fbAlign, minor related cleanup 2014-07-24 06:41:38 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
alexpeshkoff
c7454a49a5 Work in progress (committed due to SF upgrade). Checked only on SS.
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +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
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +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
asfernandes
77a2706b73 Misc 2010-03-01 02:14:36 +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
2faab16698 Misc 2010-01-21 02:51:32 +00:00
hvlad
11bdf60bb7 Fixed bug CORE-2184 : Bus error on SPARC 2010-01-19 08:25:42 +00:00
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