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

192 Commits

Author SHA1 Message Date
dimitr
9d7e2585fa Misc cleanup. 2008-07-11 06:47:44 +00:00
dimitr
609f466ad3 1) Fixed the layering, as dbb_lock shouldn't belong to PIO.
2) Passed tdbb to some engine routines that were dealing with TLS.
3) Got rid of fil_length and some minor cleanup.
2008-07-09 08:40:31 +00:00
dimitr
544d15a51a Misc. 2008-06-27 13:40:37 +00:00
asfernandes
d30d6410ea Misc 2008-06-13 01:42:58 +00:00
dimitr
74c3f757f6 Fixed the Windows build. This solution is temporary and should be re-optimized for Beta. 2008-06-09 10:07:09 +00:00
dimitr
4c8c99a3d0 Misc. 2008-06-09 09:46:00 +00:00
dimitr
036386b0f1 Misc. 2008-06-06 15:52:37 +00:00
dimitr
07e0133f2b Simplified the dbb_sync handling. This becomes possible because of the prior commit.
With checkouts being allowed for ASTs, the AstInhibit code also becomes redundant.
2008-06-04 13:38:40 +00:00
robocop
1cdd4e4126 Clean the sources from VC6 hacks. 2008-05-14 05:17:53 +00:00
dimitr
b5d8f4a42b Reduce number of warnings for 64-bit targets. 2008-05-12 04:47:52 +00:00
robocop
e44a99f339 Style and minor cleanup. 2008-05-10 03:44:57 +00:00
dimitr
7edcee435b 1) Turn on FW on all platforms by default.
2) Cleanup/misc.
2008-05-07 05:18:09 +00:00
robocop
dd839c63b4 Duplicate #include 2008-04-03 13:16:19 +00:00
asfernandes
c5cb7cb934 Improvement CORE-1814 - Change the root determination of the embedded Windows engine and load DLLs with altered search path (to search dependent DLLs on the same path of the loaded DLL) 2008-04-01 15:27:16 +00:00
robocop
efd09df950 Misc indication. 2008-03-20 12:14:30 +00:00
dimitr
f5659c0b70 1) Major cleanup of the old-style blk and allocator-based blk_type.
2) Added synchronization for the JRD locks.
2008-03-19 16:19:56 +00:00
hvlad
f5fd294dc0 Release dbb_sync in PIO_flush 2008-03-19 10:59:50 +00:00
alexpeshkoff
ed25245303 Applied shutdown changes, discussed in fb-devel a week ago. 2008-03-17 16:49:47 +00:00
dimitr
d597154a4b 1) Added timeout value to the shutdown API call.
2) Fixed the slow fbembed detach noticed by Claudio and Vlad.
3) Cleanup.
2008-03-04 13:27:02 +00:00
alexpeshkoff
7dacbbbd74 Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
Related cleanup.
2008-03-03 17:47:09 +00:00
dimitr
3cba78804c Fixed the Windows build. 2008-02-29 07:19:39 +00:00
alexpeshkoff
00c63c1f8d 1. Make signals handling in yValve MT safe.
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
hvlad
f700c79d81 Move class HugeStaticBuffer into common place, per Claudio request 2008-02-28 09:48:11 +00:00
robocop
2443e89368 const madness. 2008-02-28 09:29:50 +00:00
asfernandes
1305691003 Misc 2008-02-28 02:43:23 +00:00
dimitr
43cdea942f Misc by Dmitry Kovalenko. 2008-02-27 05:56:47 +00:00
dimitr
2e4d036eed Get rid of the Win9x/ME specifics. We don't support them anymore. 2008-02-26 11:03:09 +00:00
robocop
f8007f4071 Misc. 2008-02-24 03:23:40 +00:00
robocop
e9e1ead67a Mostly style, constness, native memcpy and explicit constructors. 2008-02-02 17:04:06 +00:00
asfernandes
6e88cb9598 Misc 2008-02-01 17:33:14 +00:00
alexpeshkoff
a4aac986f8 Make syslog interface as light as possible 2008-01-31 12:05:08 +00:00
dimitr
132176a475 Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 12:52:51 +00:00
dimitr
214cb37f1b Fixed the win32 build. 2008-01-23 19:03:20 +00:00
asfernandes
aea2bcb354 Misc 2008-01-23 19:03:16 +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
d4d587d155 The merge continued. 2008-01-16 08:16:36 +00:00
hvlad
972926ebf1 Reimplement bugfix for CORE-1468 after engine checkout/checkin logic was moved from CCH to PIO. 2007-09-25 20:15:53 +00:00
dimitr
0e6c8c9abe Moved the engine checkout/checkin logic from CCH to PIO. This allows to avoid hacks like usage of SCH_check_thread_enter(). 2007-09-25 11:47:39 +00:00
robocop
bc5d45e62e The lock_string argument can be const. 2007-09-22 08:34:28 +00:00
hvlad
e369c6cec6 Avoid pissible thread-safety problems. Thanks for tip to Adriano 2007-09-19 11:56:27 +00:00
asfernandes
96a6ad5863 Misc 2007-09-19 01:46:45 +00:00
hvlad
44c11dfe77 Implement improvement CORE-1469 : Improve performance of database file growth after CORE-1228 was fixed
General and WinNT code parts
2007-09-18 15:26:19 +00:00
hvlad
ebb55209c0 Fixed bug CORE-1468 : Database corruption possible when database file extension and read\write activity is performed simultaneously 2007-09-18 14:50:51 +00:00
paul_reeves
d1f5482882 Be consistent in usage of FB_DEFAULT_INSTANCE. 2007-07-26 09:58:32 +00:00
asfernandes
6beb5e28bd Misc 2007-07-26 01:23:18 +00:00
hvlad
6cd3900a9f Implement CORE-1381 : Allow Firebird to not use filesystem cache for database files
Implementation in unix.cpp is experimental and commented out (calls of posix_fadvice) until testing
Cleanup in winnt.cpp : removed fil_force_write_desc
2007-07-25 18:44:54 +00:00
hvlad
b9011dc5a3 Fixed bug CORE-1380 : IO errors after changing FW on already attached database 2007-07-25 17:39:01 +00:00
alexpeshkoff
ea8ba3370d Cleaned up mutexes - removed MUTX_T and related macros 2007-06-06 12:37:24 +00:00
hvlad
42fedd1c0e PIO_act_alloc and PIO_max_alloc moved into PageSpace static metods 2007-05-22 11:52:23 +00:00
dimitr
8dd6b78150 A better fix for the previous issue. This time it doesn't crash on DROP DATABASE :-) 2007-05-21 07:42:53 +00:00