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

93 Commits

Author SHA1 Message Date
robocop
e44a99f339 Style and minor cleanup. 2008-05-10 03:44:57 +00:00
dimitr
afb970dba1 1) Cleanup.
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
2e5c732d02 Cleanup. 2008-03-04 07:15:24 +00:00
robocop
4c3381ef6b Style, constness and macro cleanup. 2008-02-03 10:41:44 +00:00
dimitr
a38b327886 Cleanup. Get rid of the JrdMemoryPool. 2008-01-29 10:11:52 +00:00
dimitr
72fc78568c Fixed wrong checkout reported by Adriano. 2008-01-28 17:03:09 +00:00
asfernandes
42083c2b7b Misc 2008-01-28 16:44:33 +00:00
dimitr
43594ed53a Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 13:17:19 +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
asfernandes
66a3b99f24 Fixed a problem (not reproducable in stable releases) that causes assertion when rdb$*_context functions throws exceptions. 2008-01-22 02:49:17 +00:00
dimitr
e08c5da397 The merge continued. 2008-01-16 09:07:24 +00:00
asfernandes
41faeba3cc Misc 2007-12-05 00:03:15 +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
asfernandes
54b36766c0 Misc 2007-11-17 00:38:16 +00:00
alexpeshkoff
bc42dd3ead Fixed CORE-1579: Corrupt BLOB in UDF if followed by a char* that is a timestamp 2007-11-16 12:32:01 +00:00
asfernandes
2100a06c84 Make MOV_move know how to move blobs.
This fixes CORE-1147: Blobs are not converted to string in UDF parameters.
2007-03-02 00:46:03 +00:00
robocop
e5464ff779 Protect UDF-related code from leaks due to error conditions. 2006-06-10 03:32:50 +00:00
dimitr
211645e3dc Getting rid of the old allocator routines. 2006-05-23 10:17:00 +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
dimitr
b95ea450fa Removed threading remainings from the Netware port. 2006-04-30 18:51:44 +00:00
dimitr
61bd8dbc05 Threading cleanup. More to follow. 2006-04-30 17:49:32 +00:00
robocop
1f84bac700 Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc. 2006-02-23 05:08:26 +00:00
alexpeshkoff
62a24d46e4 1. Moved data structures, written to database file, into ods.h.
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
alexpeshkoff
5729790ed6 1. Applied class MetaName
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
af6a16107a Misc. 2004-11-30 06:18:39 +00:00
alexpeshkoff
49aab40955 1. rewritten flu.cpp using modern firebird classes library
2. fixed diagnostic about missing/unusable UDF module
2004-11-29 11:15:09 +00:00
robocop
c5dbf834eb Fix SF Bug #1057538. 2004-11-10 04:41:59 +00:00
robocop
60616c23cf Cobweb cleaning in UDF handling 2004-09-20 08:41:49 +00:00
robocop
1c981d6a83 Enhance UDF support a bit 2004-08-27 04:58:10 +00:00
robocop
8014d4a001 1.- Put an indication on how to enable UDF params that signal SQL NULL with the null pointer
2.- In case the result of the function is a descriptor with FREE_IT, free not only the data but the descriptor, too.
2004-08-21 09:36:53 +00:00
alexpeshkoff
31039a254e next step preparing to allocate auto objects memory from appropriate pool 2004-08-16 12:28:43 +00:00
robocop
d26d5328d4 Fix subtle bug introduced by Alex during fun.epp refactoring that prevented the engine to detect when the invoked UDF has returned NULL. 2004-08-01 07:00:59 +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
f4ca41fa3d -Replace *_thread_data macros with inline functions (jrd step 1) 2004-05-22 14:28:54 +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
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
b1db01881f Fix 2004-05-18 01:20:04 +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
alexpeshkoff
8c3c354258 use START*/END_CHECK_FOR_EXCEPTIONS macros again 2004-05-06 08:41:18 +00:00
skidder
43cb0d1ce4 Y-Valve handle translation layer 2004-05-02 23:06:37 +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
alexpeshkoff
7b27fa55be fixed number problems after lls to Stack conversion 2004-04-21 14:14:36 +00:00
alexpeshkoff
045e9dc8ec 1. removed any mentions of blk_pool() from engine (and method itself)
2. replaced 'struct lls' with 'template Stack'
2004-04-18 14:22:27 +00:00
skidder
0471d24efa Fix the problem with UDF arguments handling on 64-bit platforms 2004-04-16 21:51:30 +00:00
skidder
af366d4f5a Add BugcheckAbort option to produce coredumps on BUGCHECKs and structured exceptions 2004-04-06 07:25:45 +00:00
alexpeshkoff
4650f4975f string cleanup 2004-03-31 18:03:51 +00:00
robocop
faa41f7b3b Cleanup 2004-03-30 04:10:52 +00:00