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

62 Commits

Author SHA1 Message Date
robocop
096d8e78e6 Trying to be more consistent in the detection of headers (HAVE_* macros). 2009-02-08 11:38:00 +00:00
robocop
562f5faa05 Misc. 2009-02-02 10:39:49 +00:00
robocop
fda9c3bc75 Style. 2009-01-05 08:22:58 +00:00
asfernandes
5a874025d3 Correction 2009-01-03 20:44:39 +00:00
asfernandes
79e89d573d Misc 2009-01-03 19:02:04 +00:00
robocop
21bb7f3d20 Style. 2009-01-03 09:14:29 +00:00
asfernandes
c8cbbe0b13 Fixed the Linux build 2009-01-03 01:34:44 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
robocop
e9be920cc0 Shut up some compiler warnings (some warnings should be enabled again in autoconfig_msvc.h IMHO because hiding our possible mistakes won't help us). 2008-12-30 10:52:52 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +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
12c4322ab9 The merge continued. 2008-01-16 06:11:50 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
asfernandes
76f3f85b80 Misc 2007-10-29 00:19:27 +00:00
dimitr
0a37cd75b5 Fixed a possible 64-bit issue spotted by Claudio. 2007-10-28 20:20:44 +00:00
alexpeshkoff
918fe445d9 1. Fixed ignored IO-errors (i.e. incomplete backups) on non-windows platforms.
2. Fixed CORE-1237 - GBAK does not create backup in service_mgr mode if there is no space on disk, no error reported.
2007-05-08 15:16:08 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
robocop
d009be834f Misc. 2007-02-09 08:34:16 +00:00
robocop
1f2dc4259d Fix possible buffer overrun when restoring a db. 2006-08-01 07:42:30 +00:00
robocop
1718ae5a45 Misc. 2004-12-26 04:09:06 +00:00
robocop
bc4b0d127f Constant is the max size of the string, not the max length. 2004-10-30 07:05:41 +00:00
robocop
59114e7e4c Fix possible buffer overrun. 2004-10-30 05:41:25 +00:00
robocop
0b86ae4ae8 Got rid of some silly back and forth cast: to call MVOL_init_read or MVOL_init_write, callers forced char* vars to UCHAR*, but then those MVOL functions internally forced those params again to char*.
Fixed some indentation in loops, too.
2004-08-29 06:53:31 +00:00
brodsom
7168edca86 Put thread functions into thread class 2004-07-03 00:13:46 +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
877cce340b - Convert *_thread_data macros to inline func 2004-05-20 00:56:59 +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
474897b867 Fix warnings 2004-05-04 16:01:28 +00:00
brodsom
e0854daa99 Removing ib_stdio.h 2004-04-28 22:00:03 +00:00
skidder
c64f31b712 Fix some warnings from GCC/Linux build. Some of them were subtle errors 2004-03-12 07:00:52 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
robocop
b441cd9aef Cleanup 2004-01-13 09:52:19 +00:00
dimitr
358b7caad1 Oooops, sorry. 2003-12-22 18:26:37 +00:00
dimitr
3ca23b5789 Another bugfix by Oleg Loa. Never terminate the server when GBAK is running as a service. 2003-12-22 18:00:08 +00:00
robocop
a94dbd85fd const correctness and other minor items 2003-11-18 07:58:35 +00:00
brodsom
ad2dee472e -Removing uneeded headers (WIN_NT) 2003-11-16 11:41:25 +00:00
brodsom
6e8e00c191 -Undo gds__vax_integer to isc_vax_integer and gds__event_* to isc_event_* changes 2003-11-16 01:44:51 +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
brodsom
ff070a16a8 Replacing assert with fb_assert 2003-11-03 23:59:24 +00:00
brodsom
4832ad1b2c - Decrease SUPERSERVER ifdefs (join & use common error)
- Remove obsolete code
- Fix warning in mvol.cpp
2003-11-03 01:12:14 +00:00
brodsom
bda7aa7cd6 Style and Corrections 2003-09-28 00:35:48 +00:00
robocop
484c6ec372 Cleanup, const correctness, variables in scope, etc.
Having done my best to merge everyone else's changes, I hope the tree can be build with whatever other tools != MSVC6.
2003-09-25 11:49:12 +00:00
brodsom
5654796698 Macro cleaning 2003-09-23 19:47:50 +00:00
brodsom
a2713837d2 Cleaning macros 2003-09-20 23:28:38 +00:00
brodsom
678df5af51 Cleaning macros 2003-09-18 21:56:26 +00:00
brodsom
cc979ca279 -Style
-Cast corrections
2003-09-14 01:08:18 +00:00
robocop
1cd8e831d5 const correctness, variables in scope, bool, formatting, less casts, etc. 2003-09-12 09:04:38 +00:00
brodsom
7c7c2758dc BOOLEAN cleaning 2003-09-10 17:52:12 +00:00
brodsom
602c201989 -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
brodsom
fda73f91a4 Changes only inside #ifdef DEBUG.
Needed to be able to build with -DDEBUG on gcc.(there are also some format corrections)
2003-06-30 10:48:03 +00:00