8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 12:43:02 +01:00
Commit Graph

184 Commits

Author SHA1 Message Date
skidder
706e941871 Old Valgrind stacktraces need to be cleaned up on pool destruction 2004-08-18 23:39:43 +00:00
alexpeshkoff
45e2d3556f removed a lot of posix warnings after changing int to size_t in vector.h 2004-08-16 12:25:39 +00:00
skidder
158cc8b30b Optimize memory manager a little bit 2004-08-10 04:10:47 +00:00
skidder
0374e1a9fd Fix memory manager to allow reliable detection of references to memory from deleted pools under Valgrind. Make memory usage statistics more accurate both in Valgrind and general cases. Adjust pool dumping routine to be aware of delayed free blocks 2004-08-09 01:24:54 +00:00
skidder
b980507ad2 Valgrind support 2004-07-30 22:38:08 +00:00
skidder
6129db2caa Correct a couple errors I introduced during int->size_t transition for array indexing 2004-07-29 17:44:03 +00:00
robocop
a5ceabacc8 Style and simplification 2004-07-22 07:17:58 +00:00
skidder
04076ea1ff size_t is more correct type for container sizes and indices 2004-07-17 00:13:34 +00:00
skidder
5494b34caa size_t is more correct type for container sizes and indices 2004-07-16 23:06:31 +00:00
skidder
d749b61c21 Let our dynamic libraries work 2004-07-14 21:49:03 +00:00
skidder
32baa87086 Change license for source files which I wrote 2004-06-30 01:26:40 +00:00
skidder
3b062b90b6 Little string class cleanups 2004-06-29 23:31:12 +00:00
skidder
c8d4985a25 Add forgotten length checks 2004-06-29 12:36:42 +00:00
robocop
949830d0c6 1.- const correctness
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
skidder
ad6ffddae2 Minor bugfixing/cleanup of string class. I hope this change doesn't break anything, but Alex should look at it 2004-06-26 22:23:19 +00:00
skidder
f4e7ebdd3b Implement rudimentary framework to track lifetimes of active BLOBs.
This solves the following issues:
1) Outrageous memory consumption when blobs are converted from strings during request processing
2) Materialization doesn't cause invalidation of BLOB IDs too early.
Original behaviour caused errors with updatable views or procedures receiving BLOB arguments.
2004-06-22 20:13:10 +00:00
skidder
323847148c Const-correctness 2004-06-21 22:45:17 +00:00
skidder
de7fc77158 Fix bug with wrong output when printing out used only blocks from memory pool 2004-06-21 22:17:51 +00:00
robocop
320fe78b42 Misc changes 2004-06-21 02:48:47 +00:00
kkuznetsov
1cbc0a3b9b Solaris theading portion of TlsValue 2004-06-16 12:33:13 +00:00
skidder
3ad92020ae Slightly refine BeePlusTree accessor semantics 2004-06-13 23:49:28 +00:00
brodsom
1aa7b9452c Looking for extra ; at namespace declaration end 2004-06-13 23:45:02 +00:00
skidder
eb468e9a4d Bring module up to date 2004-06-13 18:30:20 +00:00
brodsom
bf8f359a13 Remove wrong semicolon 2004-06-13 03:09:29 +00:00
brodsom
f5c80410d2 -Correction for gcc 3.4 2004-06-13 03:08:13 +00:00
kkuznetsov
a0cd7b2449 hCVS: ----------------------------------------------------------------------
Solaris portion of thd.cpp
2004-06-11 14:23:30 +00:00
alexpeshkoff
1591a54e5e Thread cleanup:
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
alexpeshkoff
d28b38c01e explicit constructor for lock guard 2004-06-08 06:51:13 +00:00
alexpeshkoff
9a34ce553c make bool (isEmpty/hasData) checks for string and stack safe 2004-05-27 16:26:52 +00:00
alexpeshkoff
2fd7f7b01c text indent fix 2004-05-27 12:01:14 +00:00
alexpeshkoff
dd4280938f use windows upper/lower-case conversion functions for win32 build 2004-05-27 09:24:21 +00:00
alexpeshkoff
99dd6b8a03 optimize string performance with the price of 4 additional bytes per string 2004-05-26 16:10:56 +00:00
kkuznetsov
44242a72ce Fixed a couple of compile errors on Solaris x86 2004-05-24 11:23:41 +00:00
robocop
1953841ae4 Without being able to compile it, I fixed the new SOLARIS code in semaphore.h that:
- didn't have any rational indentation but random positions and a combination of blanks and tabs
- instead of testing errno, assigned a value to it (= instead of ==)
- has some strange emoty if(); only put a comment here.
People shouldn't post code to CVS without at least reviewing visually what they wrote.
2004-05-23 06:07:46 +00:00
kkuznetsov
e2f56c62e3 Added semaphore implementation used conditional varyable and mutex, becouse of no sem_timedwait existans.
Ugly, errorable and untested.
2004-05-21 14:14:34 +00:00
robocop
441817bd82 1.- Misc changes
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +00:00
skidder
277788de7a NetBSD port from James K. Lowden 2004-05-20 23:05:02 +00:00
brodsom
7d532508ea Macro cleaning 2004-05-17 15:07:49 +00:00
kkuznetsov
234fdb0e43 Add check for caddr_t to fix compile error on Solaris munmap,
some more warnings to prefix solx86gcc, comment historycal pragmas
2004-05-13 14:05:00 +00:00
brodsom
8699aec9c9 -Avoid shadow warning 2004-05-12 19:23:17 +00:00
robocop
802f244ec1 Misc changes 2004-05-09 05:48:33 +00:00
alexpeshkoff
52928b2148 fixed bug in split() 2004-05-06 08:42:56 +00:00
skidder
21e44d3af3 Close a couple potential tins of worms spotted by Claudio in my previous commits 2004-05-03 17:05:56 +00:00
brodsom
1b92c3fb08 -Fix MinGW build 2004-05-03 12:20:01 +00:00
skidder
e9f8ef102e Fixes needed to make GCC 3.4 happy 2004-05-03 04:25:06 +00:00
skidder
8a4cb13eb2 Care about quirks of Windows platform 2004-05-03 01:53:24 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +00:00
brodsom
e0854daa99 Removing ib_stdio.h 2004-04-28 22:00:03 +00:00
skidder
9d15b2e7ee Fix GCC build 2004-04-25 03:29:20 +00:00
hvlad
2afe197918 Added Stack::iterator::hasMore method. Replaced getCount() and notEmpty() with hasMore() when it's possible 2004-04-23 08:02:52 +00:00