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

75 Commits

Author SHA1 Message Date
skidder
1be4fe1d61 Forward port Solaris fixes 2003-10-27 18:42:47 +00:00
brodsom
9d5721473a Removing SHLIB_DEFS 2003-09-22 17:56:35 +00:00
aafemt
bb792bd478 'struct' cleanup 2003-09-18 10:24:03 +00:00
skidder
1dc706026b Enable lock manager buffer resizing for Win32 CS.
Further research demonstrated that it should work.
This fix needs to be backported to 1.5 if proves itself to work fine.
2003-09-11 21:30:09 +00:00
skidder
5761966226 Make Win32 version of engine compile 2003-09-08 21:44:44 +00:00
skidder
77b17de987 NBACKUP-related changes and some clean-up 2003-09-08 20:23:46 +00:00
brodsom
fbf6ffd6ff Code cleaning (Thanks to Claudio) 2003-09-07 00:53:59 +00:00
brodsom
a4416db52a -Replace BOOLEAN, TRUE and FALSE 2003-09-04 21:26:15 +00:00
brodsom
8624a7c209 -Use NULL instead 0 for null pointers
-Remove unneeded casts
2003-09-01 07:58:04 +00:00
brodsom
602c201989 -Remove NULL_PTR
-Remove unneeded NULL casts
-Remove (void) function return cast
2003-08-28 13:07:29 +00:00
eku
73137f9d60 Since all supported platforms provide the function strerror(), get rid of
sys_errlist[]. It's not portable anyway.
2003-08-25 07:26:39 +00:00
brodsom
8dbb370c01 -Fix NULL usage warning 2003-08-19 11:44:11 +00:00
skidder
cb8fc363e3 Fix problems with Windows SS mutexes/events noted by Claudio 2003-08-18 16:53:42 +00:00
skidder
292ecb704b Fix original problem that caused Win32 CS lock-ups.
Rollback workarounds.
2003-08-11 20:56:07 +00:00
skidder
ce78ed1f1d 1) Make NBACKUP happy on Win32 CS too.
2) Fix tracking of OWN_hung in Win32 CS lock manager (lock-up debugging aid)
3) Fix possible unsynchronized access to memory manager in Win32 CS builds
and client library. Have shown itself as a very rare crash of Win32 CS manager
process during its startup.
4) Reduce warnings a little
Points 2 and 3 need to be backported to B1_5_Release
2003-08-10 15:43:23 +00:00
brodsom
018fd90c06 -Fix format warning 2003-08-09 22:36:26 +00:00
brodsom
c1f7813d93 -Fix format warning.
-Remove unneeded cast
-Add ifdef
2003-08-09 21:51:33 +00:00
skidder
222185f83b Apply changes to HEAD too 2003-07-30 15:14:14 +00:00
skidder
36a421796b Work around Windows bug with missing events.
This should finally solve the problem with lockups of Windows CS builds.
2003-07-18 21:34:42 +00:00
brodsom
46366a6d3e Patch for the MinGW build problem (CS only code) 2003-07-04 03:12:02 +00:00
brodsom
4c4da8e558 Changes only inside #ifdef DEBUG.
Needed to be able to build with -DDEBUG on gcc.(there are also some format corrections)
2003-06-30 11:02:52 +00:00
skidder
c109ecbfa7 Fix problem that I introduced on non-Windows CS platforms when was fixing Windows CS bug 2003-06-01 15:49:48 +00:00
dimitr
41921e230f Fixed win32 build. 2003-05-26 15:44:20 +00:00
skidder
1cc61a09b4 Allow easy adjustment of LockSemCount in Posix builds. Do not fail if value is adjusted in configuration file, but cannot be applied because of running engine processes 2003-05-25 18:59:19 +00:00
skidder
524fc1a641 Fix up lock manager. Clean AST invocation. Fix type of lrq_flags to match its value. Backout my logic for fast deadlock detection as it breaks engine in several places 2003-05-16 20:35:19 +00:00
skidder
2161f020ea Fix invalid assertion failures in DEV_BUILD 2003-05-07 13:48:41 +00:00
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
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
eku
fa288416fe Fixed "argument to non-pointer type `long int' from NULL" 2003-02-14 14:23:43 +00:00
dimitr
8f66b72b0e CONST -> const 2003-02-13 09:42:18 +00:00
brodsom
cf079201a2 Remove LINKS_EXISTS define, required header don't exist. 2003-02-10 15:06:02 +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