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

113 Commits

Author SHA1 Message Date
alexpeshkoff
62f4b64f86 Much better way to initialize such complex stuff - avoid abort() on MacOS 2009-01-27 14:48:19 +00:00
alexpeshkoff
44075e19d7 Fixed use of GlobalPtr 2009-01-22 16:49:19 +00:00
alexpeshkoff
0bcde3f272 AIX port - avoid using non-standard function dladdr() unconditionally 2009-01-22 13:51:21 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
robocop
0a94d6fee8 Style. 2008-12-18 10:57:12 +00:00
robocop
eb6ea18df4 Misc. 2008-12-01 09:21:31 +00:00
asfernandes
db82e7cd6b Misc 2008-11-06 00:23:21 +00:00
alexpeshkoff
d8ea120ded AIX port - use FB_ prefix for alignment constants 2008-11-05 11:26:23 +00:00
asfernandes
4bf6298dd0 Do not assume that exceptions will always be automatically in tdbb->tdbb_status_vector 2008-08-28 15:36:54 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
244ac97e80 Misc 2008-07-21 02:20:41 +00:00
robocop
2c194238f7 Fix CORE-2002. 2008-07-18 08:58:58 +00:00
asfernandes
7f4f7b06d6 Misc 2008-07-16 01:39:12 +00:00
asfernandes
8f9b451ce9 Rework of ib_util changes. Dynamically load it in the engine and inform callback functions to alloc and free memory. Allocate memory from the default pool. 2008-07-12 21:23:42 +00:00
robocop
c5aaf60b04 Workaround for a VC limitation: don't mix SEH and C++ EH. 2008-07-08 06:44:10 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
asfernandes
b8a3abb888 Misc 2008-06-17 01:02:01 +00:00
asfernandes
6f889ba0a4 1) Fixed an error in the POSIX build after usage of GlobalPtr
2) Some things observed by Claudio
2008-06-15 16:20:55 +00:00
asfernandes
af1d955da6 Improvement CORE-1937 - Detect (instead of crash) FREE_IT UDFs that return pointer not allocated by ib_util_malloc 2008-06-14 22:16:40 +00:00
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