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

171 Commits

Author SHA1 Message Date
skidder
40e4759b8c Fix broken lock table resizing code in CS builds.
This bug affected all versions of Firebird (and probably Interbase too).
The only reason why CS builds worked was a fact that UNIX
usually maps grown memory mapping to the same address as
it were before.
2003-04-29 18:42:55 +00:00
aafemt
d2c7951b46 Fix for previous commit 2003-04-17 10:15:48 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
aafemt
0fcbb66baa STATUS -> ISC_STATUS 2003-04-10 10:08:31 +00:00
brodsom
11f81ad6d8 Lock warning fixes 2003-04-08 01:02:29 +00:00
brodsom
680c0326e4 - Comment unneeded checks 2003-04-02 11:03:31 +00:00
brodsom
44f0bdb080 Correct formats 2003-04-01 11:43:47 +00:00
skidder
c7c492ea5f Fix up little issues with lock manager 2003-03-25 12:07:05 +00:00
skidder
ed65831b84 Lock manager changes.
1. Cleanup #define's a little
2. Shutdown blocking thread cleanly on Windows CS
3. Fix Windows CS lock-ups (make wakeup event manual-reset)
4. Detect deadlocks instantly in most cases (if blocking owner
  dies during AST processing deadlock scan timeout still applies)
2003-03-24 14:32:34 +00:00
tamlin
ea1365dd59 Some code cleanup and added a comment about a problem. 2003-03-11 05:53:01 +00:00
eku
9ec2be38f4 Always use gds__prefix to find database system files. 2003-03-10 07:02:20 +00:00
brodsom
09ef42d3ac Add condition to ifdef 2003-03-04 00:38:31 +00:00
brodsom
c7d6889883 Put vars and functions inside the same ifdef for which is used (NOT_USED_OR_REPLACED for unused) 2003-03-04 00:09:33 +00:00
fsg
e0dcb77416 Fixed some really old typos.
Included ExecuteStatement in the LINUX-Build
2003-03-02 17:47:22 +00:00
brodsom
c7e4ee4ab4 -Comment declared but undefined functions. (found with gcc never defined warnings) 2003-03-01 19:11:57 +00:00
brodsom
699d81f81b Use the same ifdef for function declarations and definitions. (found with gcc never defined warnings) 2003-03-01 17:44:34 +00:00
brodsom
17632bddca Remove warnings 2003-02-20 00:10:25 +00:00
eku
0ee7c15f19 Fixed "passing NULL used for non-pointer argument" and "return to non-pointer
type `SLONG' from NULL".
2003-02-18 06:39:26 +00:00
brodsom
3e05f5b931 Remove PLSERVER (page lock server). 2003-02-16 00:38:03 +00:00
eku
fa288416fe Fixed "argument to non-pointer type `long int' from NULL" 2003-02-14 14:23:43 +00:00
brodsom
6c9f581869 Change jrd/time.h to jrd/jrd_time.h 2003-02-14 02:22:13 +00:00
dimitr
8f66b72b0e CONST -> const 2003-02-13 09:42:18 +00:00
brodsom
05f9e8bda4 Remove V3 lock/print 2003-02-11 15:29:29 +00:00
brodsom
9ce198ec15 Remove MSDOS define. 2003-02-10 20:15:54 +00:00
brodsom
cf079201a2 Remove LINKS_EXISTS define, required header don't exist. 2003-02-10 15:06:02 +00:00
eku
a7f18b2e31 Removed "register" variables from the source code. It's up to the compiler
to hold variables in CPU registers.
2003-02-10 13:28:35 +00:00
brodsom
d5e554333f Remove NEXT remaining ifdefs 2003-02-07 15:23:18 +00:00
nmcc
5e489c0ff5 Improve error message to report the lock manager that was actually tried. 2002-12-09 01:28:01 +00:00
dimitr
48919f19aa More usage of the new config stuff. 2002-12-07 13:27:12 +00:00
eku
34e9391a97 Use the new macro FB_NELEM to calculate the number of elements in an array. 2002-12-02 09:45:52 +00:00
eku
39e296192c Removed inconsistencies pointed out by Claudio Valderr.
Replaced 'defined(__osf__) && defined(__alpha)' with 'SIZEOF_LONG == 8'.
New macro FB_NELEM calculates the number of elements in an array.
2002-12-02 08:25:23 +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
d1452af022 Autoconf: check for semun 2002-11-12 09:17:52 +00:00
kkuznetsov
d5dd3db662 Fix some compile errors 2002-11-10 14:29:00 +00:00
dimitr
3691e41d7f Cleanup. 2002-11-10 14:09:04 +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
9342d36baa Arrays that hold filenames must be at least MAXPATHLEN long. 2002-11-04 11:19:21 +00:00
seanleyne
17b68ccb68 Removed obsolete "SUN3_3" port 2002-10-31 05:33:35 +00:00
seanleyne
0b82f4aa07 Removed obsolete "Netware" port 2002-10-30 06:40:58 +00:00
seanleyne
a2bfcd6bd2 Code cleanup, removed obsolete "SGI" port 2002-10-29 03:31:20 +00:00
seanleyne
cc1f10d9a3 Code cleanup, removed obsolete "DecOSF" port 2002-10-29 03:17:45 +00:00
seanleyne
93f6fffb14 Removed obsolete "DGUX" port 2002-10-29 02:45:09 +00:00
seanleyne
026d8c0441 Code Cleanup, removed obsolete "Ultrix" and "Ultrix/MIPS" ports 2002-10-28 05:19:52 +00:00
seanleyne
045be63397 Code Cleanup, removed obsolete "UNIXWARE" port 2002-10-28 04:57:07 +00:00
seanleyne
05a126730b Completed removal of obsolete "IMP" port 2002-10-28 03:52:09 +00:00
seanleyne
829d6d32d5 Completed removal of obsolete "DELTA" port 2002-10-28 03:47:47 +00:00
dimitr
a2de37255d Rolled back my change, because it breaked unix builds. 2002-10-27 12:51:38 +00:00
dimitr
58de1136e1 Cleanup. 2002-10-24 14:53:49 +00:00
eku
0c1b55dd08 Code cleanup:
Since we already have the define ISC_STATUS_LENGTH for the the length of
the status vector, we should use it! Replaced 'status[20]' with
'status[ISC_STATUS_LENGTH]'.

Replaced the different symbolic names for the maximum length of a path
(MAX_PATH, MAX_PATH_LENGTH, MAXPATHLEN) with one uniq symbol MAXPATHLEN.
2002-10-24 09:01:44 +00:00
eku
fc16f7ada9 Don't hard-code the installation path. Use ISC_PREFIX whereever possible. 2002-09-30 06:00:25 +00:00
bellardo
0eaf588b49 renamed header files jrd/math.h and jrd/time.h to jrd/jrd_math.h and
jrd/jrd_time.h.
2002-09-27 00:20:12 +00:00
eku
ef2ff91438 Autoconf cleanup:
o use predefined macros to test for sys/wait.h, time.h and sys/time.h
 o search strcasecmp in libresolv only if strcasecmp and stricmp are not in libc
 o use predefined macro AC_SYS_LARGEFILE to determine 64Bit I/O
 o determine the alignment of long and double (ALIGNMENT,DOUBLE_ALIGN),
   still need to write a test for FB_ALIGN!
2002-09-18 12:50:13 +00:00
eku
da93f6697f Autoconf enhancements:
o autoconf v2.53 and later is now required to generate configure
   (sorry, but it makes many tasks easier)
 o improved tests for mmap, socklen_t and offt_64
 o added tests for atexit, on_exit, (v)fork, set(p)grp, setpgid and flock
 o added test for the keyword 'volatile'
 o fixed errors in configure.in
 o updated config.h.in and autoconfig_msvc.h (the latter may be incorrect)
 o replaced VOLATILE by volatile
 o removed SETPGRP and ATEXIT
 o replaced NO_FLOCK by HAVE_FLOCK
 o SIG_FPTR cleanup
 o vfork cleanup
2002-09-11 11:30:50 +00:00
eku
5a73f83acb Added the new configure option '--with-lock-manager' that controlls the build of the manager binary. This option is only valid for CS architecture. 2002-09-03 13:24:21 +00:00
eku
db21fce19d Another autoconf cleanup:
o check for the existence of the function mmap
 o replaced MMAP_SUPPORTED by HAVE_MMAP
2002-08-26 12:10:19 +00:00
skywalker
d89b1a0842 Changes to make fb2 compile super version for linux 2002-07-29 15:37:59 +00:00
skywalker
89e06a1b43 Merge final changes from fb1 tree. 2002-07-06 05:32:02 +00:00
dimitr
9f023304b8 Merging changes from fb1. 2002-06-29 08:22:08 +00:00
tamlin
2a3a320010 Cleanup and bugfixing 2002-03-31 00:40:08 +00:00
seanleyne
eeccbb4e0f Code cleanup of obsolete M88K and NT Power PC ports 2002-02-16 03:54:56 +00:00
seanleyne
68e1650068 Code cleanup of obsolete NCR3000 port 2002-02-16 03:33:53 +00:00
seanleyne
525f3aaaef Code cleanup of obsolete IMP port 2002-02-16 03:27:33 +00:00
seanleyne
f536f116e1 Code cleanup of obsolete DELTA port 2002-02-16 03:05:21 +00:00
seanleyne
1c799cfb3e Code cleanup of obsolete XENIX port and missed MAC (MAC_AUX) port items 2002-02-16 02:50:01 +00:00
seanleyne
e134ef027f Code cleanup of obsolete EPSON port 2002-02-16 02:21:35 +00:00
skywalker
a887af3646 Changes to make it compile on linux.
and work through a few issues.
2002-01-04 11:34:22 +00:00
tamlin
80f7fb6dd4 New C++ memory pool 2001-12-24 02:51:06 +00:00
skywalker
4c4bc9a95c Global changes for new Makefile and firebird2 compile on linux 2001-07-29 23:43:24 +00:00
bellardo
747d13c0d5 Changes to bring FB2 to c++ on *nix. 2001-07-12 05:46:06 +00:00
tamlin
9a776a604e First steps towards a C++ conversion. 2001-05-23 13:26:42 +00:00