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

193 Commits

Author SHA1 Message Date
dimitr
2445590b77 Win64 adjustments. 2006-10-30 12:40:24 +00:00
asfernandes
cd93f6e54d Misc 2006-10-24 15:13:57 +00:00
alexpeshkoff
182adc6036 applied patch by Damyan Ivanov for PowepPC 2006-10-23 11:48:32 +00:00
dimitr
cebda2b4bf Threading cleanup. More to follow. 2006-05-01 04:43:59 +00:00
robocop
d306dc5ef4 Since TCP_NO_DELAY is gone, comments regarding it are obsolete. 2006-04-29 03:01:40 +00:00
dimitr
c53d7b987e Removed unused definition. 2006-04-26 09:57:40 +00:00
robocop
e5338ba1ed Only strcmp and strncmp have common names across all plartforms. Cater for differences in strcasecmp/stricmp and strncasecmp/strnicmp. 2006-03-25 07:08:00 +00:00
alexpeshkoff
7f61b486f2 applied patch of Sergey Skvortsov - port for FreeBSD AMD64 2006-03-15 17:32:33 +00:00
kkuznetsov
8d97432674 Set ODS aligment to 8 on Solaris sparc 32 bits port to avoid a lot of aligment problems. 2006-03-09 09:42:53 +00:00
robocop
1ca7a582f9 EXPRESSION_INDICES code is considered stable and therefore there's no need to keep it protected by macros. Please do a full rebuild. 2006-01-14 07:00:44 +00:00
robocop
4012106884 Misc. 2004-12-25 09:44:03 +00:00
robocop
c5d49e867b Misc. 2004-12-08 06:06:51 +00:00
robocop
950216de4e Misc. 2004-12-08 05:58:41 +00:00
alexpeshkoff
ae6c42df5a completely dropped support for ignored since 1.5 environment variable
INTERBASE_EXT_LIB_PATH, firebird.conf UdfAccess is used instead
2004-11-29 10:14:05 +00:00
robocop
d6535351a2 Misc: style. 2004-11-24 09:22:07 +00:00
hvlad
4d95ce3d42 New garbage collector thread implementation 2004-11-05 08:01:21 +00:00
skidder
0c46bd34ea Unify ODS11 between 32-bit and 64-bit builds on the same architecture: use 64-bit alignment and 32-bit descriptors 2004-10-25 01:18:37 +00:00
robocop
a2b4041050 Treat literal strings as constants, please. 2004-10-07 09:42:03 +00:00
skidder
e8d37fc3c4 Small lock manager fixes.
Use 64-bit lock manager performance counters. 32-bit counters overflowed every few hours under load and this was considerably reduced their usefulness.
Use separate version for 64-bit lock manager tables. While you can have both 32-bit and 64-bit versions of engine running on the same machine lock manager structures have different layout and mismatch is not desireable.
2004-10-01 21:29:30 +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
skidder
0d75127be8 Fix very hard-to-track Windows CS stability problem introduced by Blas on 15-May-2004 2004-08-21 07:55:35 +00:00
dimitr
a1d98ea4e2 Expose EXPRESSION_INDICES to public. 2004-08-20 04:36:48 +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
64c1dee04e -Use C++ struct declaration style. 2004-05-24 17:31:47 +00:00
kkuznetsov
44242a72ce Fixed a couple of compile errors on Solaris x86 2004-05-24 11:23:41 +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
skidder
277788de7a NetBSD port from James K. Lowden 2004-05-20 23:05:02 +00:00
brodsom
3cf34da510 Style 2004-05-18 23:38:37 +00:00
eku
58f37dab0d SINIX-Z: Added O_BINARY define after Blas' removal 2004-05-07 06:36:34 +00:00
brodsom
ce7a5ced08 -Macro cleaning 2004-05-06 22:11:24 +00:00
brodsom
80b424e346 -Replace define with const
-Move SYS_ERR, ERRNO, H_ERRNO and INET_ERRNO(ERRNO in inet.cpp) macros to common.h
-Remove unused macros
2004-05-05 21:55:13 +00:00
brodsom
4a9a3c54e0 Remove values in defines used only for conditional compilation 2004-05-04 19:16:43 +00:00
brodsom
5cf9fdfc90 Removing ib_stdio.h 2004-04-28 22:43:34 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +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
skidder
c64f31b712 Fix some warnings from GCC/Linux build. Some of them were subtle errors 2004-03-12 07:00:52 +00:00
skidder
b6e5ccd413 Clean up.
1. gds__alloc doesn't throw
2. Add NOMEM handlers to a couple places
3. kill HAVE_*SNPRINTF conditionals
2004-03-09 00:17:07 +00:00
skidder
08172a193d Rollback my recent change since it made Sinix-Z unhappy 2004-03-08 18:44:24 +00:00
skidder
726eb8b447 Delete unneeded workaround 2004-03-08 02:07:38 +00:00
eku
c36a79d9c6 SINIX-Z: added prototype for strncasecmp 2004-02-27 09:32:50 +00:00
aafemt
36b46fdbb1 Rollback my last change at the instance of Claudio 2004-01-28 11:14:52 +00:00
skidder
0365f32247 Temporary hack to return Win32 to buildable state. No Win64 port is possible before ULONG name clash is resolved 2004-01-27 18:19:42 +00:00
aafemt
e2e15436b4 Fortunatelly we know how many monthes in a year 2004-01-27 11:06:05 +00:00
skidder
8f753a93ad Use plain integer as SLONG/ULONG on 32-bit platforms 2004-01-26 16:44:49 +00:00
skidder
a1d0690e63 Fix a lot of warnings 2004-01-26 16:28:06 +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
skidder
6973b067ea Do more AMD64 fixes. libfbstatic builds and can do some basic stuff now 2004-01-12 06:58:27 +00:00
robocop
0e0045426b Fix my stupid mistake 2004-01-06 10:27:52 +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
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
brodsom
23bd035e77 -Fixes to be able to build with gcc 3.3.1 (MinGW) 2003-11-16 10:31:33 +00:00
brodsom
b02b8a86be - Finish removal of DLL_EXPORT macro 2003-11-03 01:13:29 +00:00
eku
d44da97a10 Replaced ib_printf with gds_log. stderr is usually connected to the
TCP-connection between database client and server. Writing an error message
to it means violating the Interbase protocol. The client then aborts with
an assertation in xdr_protocol (remote/protocol.cpp).
2003-10-28 13:43:45 +00:00
skidder
1be4fe1d61 Forward port Solaris fixes 2003-10-27 18:42:47 +00:00
eku
b6151b52c2 SINIX-Z: POSIX stylish sigaction. 2003-10-14 13:10:05 +00:00
skidder
b1fdfe5ab7 Fix comment, noted by Claudio 2003-10-12 14:21:14 +00:00
skidder
4e8605294e Forward port Sparc fixes 2003-10-10 23:56:57 +00:00
robocop
f94fb73bc6 Trivial style change 2003-10-07 09:55:59 +00:00
eku
2c9ed64ab6 Please use the results of configure. 2003-10-07 07:24:25 +00:00
aafemt
76eac2d80d Move MSVC-related hack of vsnprintf to MSVC header because it crashed MinGW build 2003-10-02 10:17:40 +00:00
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +00:00
skidder
2d3d855c9f Make NBACKUP work on Windows 2003-09-13 18:35:39 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
brodsom
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
255b32204e -Remove BOOLEAN_DEFINED macro
-Remove MSG_DEFINED macro
2003-08-28 22:52:19 +00:00
brodsom
6a2ef35fda -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:16:03 +00:00
aafemt
8798a33d84 ENUM removal 2003-08-22 10:56:55 +00:00
brodsom
9dfe58e60e Replace __LINE__IS_INT with LINEFORMAT and remove a few ifdefs (thanks to Claudio's question) 2003-08-20 09:35:00 +00:00
aafemt
22ce2bafb5 Use new routines to get integers from char array 2003-08-12 10:44:54 +00:00
skidder
143f8d2443 Implementation of fast physical incremental backup 2003-08-06 16:30:49 +00:00
skidder
97e8081d90 Move FB_ALIGN out of platform-dependent section as some parts of code depend on its implementation unconditionally 2003-05-25 00:10:03 +00:00
eku
590d5bf135 SINIX-Z does not provide a prototype for syslog() :-( 2003-04-23 06:40:57 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
fsg
1deafefbef use the right conversion specifiers for linux 2003-04-13 08:21:49 +00:00
eku
5260cb2ffc SINIX-Z: added missing format macros. 2003-04-10 07:06:20 +00:00
brodsom
546db7b1a7 Needed & Forgoten commit 2003-04-09 08:57:09 +00:00
fsg
31eed5ba26 xLONGFORMAT and XLONGFORMAT aren't defined for linux 2003-04-09 05:57:32 +00:00
brodsom
e0d25e002d Correct formats 2003-04-01 11:24:18 +00:00
brodsom
0ea4ed7a18 Remove pragma.h (trivial hpux only header) and replace with the code (1 line) 2003-03-18 02:57:02 +00:00
brodsom
3ebd5a9eec Remove obsolete PASCAL_ROUTINE macro 2003-02-28 23:53:38 +00:00
brodsom
292e979471 Remove HUGE_PTR 2003-02-28 13:38:30 +00:00
brodsom
165023d329 Remove FAR_VARIABLE 2003-02-28 12:57:13 +00:00
brodsom
041f639581 Remove SOLARIS_MT stdio emulation (need_ib_stdio) 2003-02-19 04:08:09 +00:00
eku
1043039c35 Removed lots of compiler warnings. 2003-02-18 10:00:22 +00:00
brodsom
5ca686dd37 Remove some of the PYXIS remains 2003-02-14 14:56:09 +00:00
brodsom
3cb91fce80 Remove PIPE and STACK defines (PIPE_SERVER, PIPE_CLIENT, PIPE_LIBRARY, PIPE_SERVER_YVALUE, PIPE_BRIDGE_TO_V3, V3, V3_PATH, ALTPIPE)(STACK_EFFICIENT, STACK_REDUCTION) 2003-02-14 02:24:44 +00:00
brodsom
a60df28e92 Remove __STDC__ obsolete define (used for pre C88 code) 2003-02-13 15:33:51 +00:00
eku
a07adec5ab Removed nested comments. 2003-02-13 06:12:52 +00:00
brodsom
2db3993298 Remove obsolete SCO Xenix and Open Desktop.
This patch also enable platforms with M_I386 defined to be compiled.
2003-02-12 02:26:44 +00:00
brodsom
cf079201a2 Remove LINKS_EXISTS define, required header don't exist. 2003-02-10 15:06:02 +00:00
nmcc
502f7284d6 Only need ib_stdio/sfio with superserver. 2002-12-31 19:32:24 +00:00
nmcc
99f2972cf9 Remove test for HP10 from middle of sun/Solaris block. 2002-12-29 15:23:46 +00:00
eku
a5e9087b7f Moved the definition of NOFILE to a common place. 2002-11-18 07:57:43 +00:00
dimitr
78be0bfa8d Cleanup. 2002-11-14 13:40:04 +00:00
dimitr
5f61e44ddc Global names change:
FBOK=>FB_SUCCESS
FAILURE=>FB_FAILURE
xxx_FBOK=>xxx_SUCCESS
2002-11-14 08:33:08 +00:00
kkuznetsov
6887f405ab Renaming all occurences of SUCCESS to FBOK 2002-11-13 15:01:21 +00:00
eku
40f1aad681 Autoconf cleanup:
o added test for the header file mntent.h
 o replaced NON_MNTENT with !HAVE_MNTENT_H

Removed some left-overs from Sean's DECOSF removal.
2002-11-13 12:27:47 +00:00
eku
507b9c86c8 Do not redefine MAXPATHLEN. Always use the value supplied by the operating
system (header files).
2002-11-06 07:08:49 +00:00
eku
9fcdb74685 More status vector cleanups (ISC_STATUS_LENGTH).
Autoconf checks for xdr_hyper.
2002-11-04 13:57:18 +00:00
seanleyne
b3ad604669 Removed support for obsolete "PC_PLATFORM" define 2002-10-31 05:06:02 +00:00