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

79 Commits

Author SHA1 Message Date
roman-simakov
dda2676ba5 1. Fixed unlocking header page while CCH_release. Thanks to Vlad.
2. Fixed writing page while nbackup merge state is stalled.
3. Fixed using dead dbb in AST handler while somebody is changing cached lock of the GlobalRWLock.
2008-04-16 09:16:45 +00:00
roman-simakov
a202daf6bb Replaced nbackup dirty pages locking with RAII classes 2008-04-16 08:46:13 +00:00
dimitr
bc1af93456 Misc. 2008-03-20 13:08:10 +00:00
dimitr
afb970dba1 1) Cleanup.
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
dimitr
ca8c4870e5 Prevent crash when shutdown is followed by disconnect (for the same attachment). 2008-02-12 14:07:30 +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
roman-simakov
cafbf638b6 fix wrong database unlocking 2008-01-14 16:33:08 +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
robocop
2d2b8cf718 Misc. 2007-11-17 10:18:10 +00:00
alexpeshkoff
a1f3f10493 1. Renamed info parameter.
2. Clearly separated PIP logic and IO, as was requested by Vlad.
2007-11-12 17:24:22 +00:00
alexpeshkoff
0bbb3fd34c Fix for CORE-1581: Support for doing physical backups when database is located on raw device. 2007-11-09 15:47:48 +00:00
alexpeshkoff
edc03201ca Fixed CORE-1537: NBackup creates difference file in bad place 2007-10-26 13:21:16 +00:00
alexpeshkoff
abd533f545 Fixed CORE-1499: Wrong alignment of data, used in INTL converters 2007-10-05 14:37:33 +00:00
alexpeshkoff
0ad0ee171b fixed warning 2007-07-26 07:58:48 +00:00
skidder
5b78a5e5e9 Fix typo in comment 2007-04-24 17:43:11 +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
d3ae3fef1c Front-ported fix for CORE-1139. 2007-03-09 07:59:05 +00:00
alexpeshkoff
dfef55e991 Fix for CORE-968 - Assertion failure in posix/isc_ipc.cpp 2007-02-22 16:47:39 +00:00
dimitr
76cea353c7 Fixed CORE-1136. 2007-02-22 15:38:30 +00:00
dimitr
5c9c0e58c4 Fixed possibly trashed memory plus small cleanup. 2007-02-08 14:32:07 +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
asfernandes
92cd427bbd Misc 2006-05-23 03:37:00 +00:00
alexpeshkoff
2098784f54 fix posix build after introducing PageManager 2006-05-22 11:42:16 +00:00
hvlad
701f2cbda4 Global temporary tables implementation 2006-05-21 22:07:35 +00:00
robocop
e77a46b011 Misc. 2006-05-20 03:55:54 +00:00
asfernandes
292ad66e96 Misc 2006-05-20 01:53:51 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
alexpeshkoff
f6c7ffb7a3 fixed access rights to delta file 2006-04-09 10:59:43 +00:00
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
hvlad
9d6b361f69 Eliminate unnecessary JRD_get_thread_data call in nbak.
Checked against B2_0_BV_Stable3 branch
2005-11-21 23:33:20 +00:00
alexpeshkoff
e832cd2c68 fixed BOFs in PIO functions 2005-09-08 16:41:56 +00:00
skidder
b8ab2a4314 Port a little cleanliness fix to HEAD too 2005-07-26 18:13:46 +00:00
skidder
986346c125 Fix the bug which results in corrupted backups being created by NBACKUP 2005-07-19 23:24:28 +00:00
robocop
1718ae5a45 Misc. 2004-12-26 04:09:06 +00:00
robocop
4012106884 Misc. 2004-12-25 09:44:03 +00:00
dimitr
cfe0283528 Extra protection for previous non-FB databases. 2004-10-16 12:52:09 +00:00
robocop
336661d8a1 Style. 2004-10-08 08:13:22 +00:00
skidder
bdbbc7be40 Recent changes in the engine somehow made NBAK problem to surface. Cure it. 2004-09-15 05:29:04 +00:00
robocop
1bbb740b98 Undo inheritance in ODS page types as requested by Nickolay. Either some macros are too silly or the compiler is limited by the standard here.
Notice I may have missed some file that's not compiled in Win32.
2004-07-10 03:20:33 +00:00
skidder
593fc58ccb Change license for source files which I wrote 2004-06-30 01:45:18 +00:00
brodsom
d2b64735c6 Removing wrong extra ; 2004-06-13 23:47:02 +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
brodsom
81d54f25a1 -Replace *_thread_data macros with inline functions (finish) Now each provider/service uses inline functions with different names for each one instead of macros with the same name for all (which collide) 2004-05-24 01:03:41 +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
b76a60e8b7 Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build) 2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20 Macro cleaning (THREAD_*) 2004-05-15 00:58:46 +00:00
brodsom
1ffe279896 -Avoid shadow warning 2004-05-12 19:39:17 +00:00
brodsom
a549091c94 - Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00