robocop
4c3381ef6b
Style, constness and macro cleanup.
2008-02-03 10:41:44 +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
e3128c2479
The merge continued.
2008-01-16 08:54:50 +00:00
dimitr
29c1588c20
Fixed the primary reason of the crash reported by Roman Simakov in fb-devel.
...
I'm wondering why it didn't cause problems earlier.
2007-12-19 14:14:18 +00:00
alexpeshkoff
eea9070f48
Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster
2007-12-03 15:46:39 +00:00
alexpeshkoff
b50399cdb5
Better fix for CORE-1558
2007-11-05 13:18:40 +00:00
alexpeshkoff
309957937f
Comment
2007-11-02 15:21:25 +00:00
alexpeshkoff
52c9aca3d4
Fixed CORE-1558: Help people get core files in case of abort() on BUGCHECK
2007-11-02 15:14:57 +00:00
skidder
04b9ec818b
NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues
2007-04-24 14:05:46 +00:00
dimitr
211645e3dc
Getting rid of the old allocator routines.
2006-05-23 10:17:00 +00:00
robocop
136cab1caf
Misc.
2006-05-04 02:57:26 +00:00
alexpeshkoff
6624163e59
slightly better diagnostic in log
2006-03-03 16:06:25 +00:00
alexpeshkoff
5729790ed6
1. Applied class MetaName
...
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
50d57b354f
Fix a possible buffer overrun after Arno's enhancement of ERR_bugcheck and internal_error.
2004-10-09 03:58:45 +00:00
robocop
b003ce8db5
I don't see a reason to call ERR_cstring over the result of a previous ERR_cstring.
...
Also, string literals are at fixed addresses, so they survive the function that originated them.
2004-10-09 03:55:43 +00:00
dimitr
f85ce55c14
Minor correction.
2004-10-03 12:36:54 +00:00
robocop
7dcb66a250
When you call va_start, call va_end, don't assume it does nothing because some platforms don't have code for it!
...
Changed some sprintf to SNPRINTF. Work in progress WRT wrapper for this function.
2004-09-25 10:28:09 +00:00
arnobrinkman
3a5cec7e97
1) Add filename and linenumber to loginformation for ERR_BUGCHECK
...
2) Fix some index bugs and little refactoring
2004-09-24 00:11:32 +00:00
skidder
56a42f9765
Use slightly more clear messages during FK violations. Patch submitted by Adriano dos Santos Fernandes
2004-08-31 22:29:59 +00:00
robocop
b60c0e4cab
Misc: format
2004-08-21 09:29:46 +00:00
hvlad
5b0dce67e9
Fix comments
2004-08-10 13:40:10 +00:00
hvlad
d82cde309e
Ability to show PSQL stack trace when exception occurs.
2004-08-06 15:26:55 +00:00
robocop
bbc973a414
Const correctness and style
2004-07-07 03:43:20 +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
9a34ce553c
make bool (isEmpty/hasData) checks for string and stack safe
2004-05-27 16:26:52 +00:00
brodsom
75a0483d75
-Comment some common.h unused macros
...
-Replace VA_START macro with va_start function (it was already some places where it is not used)
2004-05-23 23:28:06 +00:00
brodsom
bed146ad19
-Replace *_thread_data macros with inline functions (jrd step 2)
2004-05-23 03:18:10 +00:00
brodsom
f4ca41fa3d
-Replace *_thread_data macros with inline functions (jrd step 1)
2004-05-22 14:28:54 +00:00
brodsom
68cb86b274
- Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
...
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
62a4b10c22
-Replace define with const
...
-Remove ifdef cplusplus from internal code
-Remove unused macros
2004-05-06 18:09:24 +00:00
brodsom
f953ee5f1b
Remove unused macros
2004-05-03 17:47:44 +00:00
brodsom
0daa189563
Removing ib_stdio.h
2004-04-28 22:36:29 +00:00
robocop
59b235cea3
Small corrections
2004-04-10 00:25:22 +00:00
skidder
af366d4f5a
Add BugcheckAbort option to produce coredumps on BUGCHECKs and structured exceptions
2004-04-06 07:25:45 +00:00
alexpeshkoff
42e9456d27
one more form of ERR_cstring()
2004-03-31 17:52:50 +00:00
robocop
1824343930
Cleanup.
...
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
alexpeshkoff
67f1740fea
Various cleanup to make engine compile and work after mentioned earlier changes.
...
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
robocop
2ab1f94dd2
Cleanup
...
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
robocop
e6187cecd2
Cleanup
...
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
dc7aab8f9c
Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed
2004-03-01 03:35:23 +00:00
robocop
5c3c8abd9a
Big cleanup.
...
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
robocop
fd93837ec3
Cleanup:
...
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
brodsom
abe35ef6fe
-Remove unneeded setjmp header
2003-11-18 12:39:12 +00:00
brodsom
c5253ae8a5
-Replace gds__ constants with isc_ contants
...
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
robocop
35396625f5
const correctness
...
function signatures
variables in local scope
BOOLEAN -> bool
TEXT[32] as SqlIdentifier for DYN
Stop random garbage in firebird.msg's bytes 8 to 11
some cleanup
2003-11-05 09:02:33 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
robocop
9ead7a37b4
const correctness
...
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
aafemt
900fa62a1d
'struct' cleanup
2003-10-20 10:53:52 +00:00
brodsom
2aeb693d06
extern cleaning
...
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00