alexpeshkoff
64442e23b6
comment
2009-05-25 12:36:27 +00:00
alexpeshkoff
b62e4f1c28
Renamed function to better match it's tasks
2009-05-25 11:31:38 +00:00
asfernandes
fd7245cf05
Misc
2009-05-23 01:33:36 +00:00
hvlad
a46b10e22d
Make engine create lock files in /tmp/firebird : Windows part
2009-05-22 14:48:11 +00:00
alexpeshkoff
91134ab0d0
Make engine create lock files in /tmp/firebird
2009-05-22 13:47:27 +00:00
alexpeshkoff
378b04652a
CORE-2467 - better symlink detection, thanks to Damyan
2009-05-21 07:48:38 +00:00
asfernandes
6041bd8c9e
Fix MSVC8 build
2009-05-20 15:21:15 +00:00
alexpeshkoff
7cc8b347f6
It was bad idea to include .h-files inside namespace
2009-05-20 08:17:05 +00:00
alexpeshkoff
86f3176307
Fixed CORE-2467: security risk in 2.5 beta1
2009-05-19 14:33:36 +00:00
robocop
4bae43779f
Some #if should be #ifdef instead.
2009-05-17 11:25:50 +00:00
alexpeshkoff
c93c65df4c
Use macro __sun instead of sun for this platform
2009-05-07 07:11:06 +00:00
robocop
66b1227b22
Unused params, some formatting, cleanup.
2009-05-01 17:21:36 +00:00
asfernandes
1c20adb8fc
Misc
2009-04-29 01:52:49 +00:00
robocop
2d7cb94844
Unused params
...
Some BLR checks
2009-04-28 13:08:04 +00:00
robocop
6016b5b6c0
Misc.
2009-04-26 13:51:56 +00:00
robocop
888000e21e
Unused function params.
2009-04-26 10:24:44 +00:00
asfernandes
8db711cd42
Feature CORE-2398 - Make Firebird correct detect its installed path in Linux
2009-04-08 02:14:03 +00:00
alexpeshkoff
d080161b15
Use same access rights for CS and SS when creating database file
2009-04-06 16:16:40 +00:00
asfernandes
f6f364da49
Trim trailling spaces
2009-04-04 16:39:31 +00:00
roman-simakov
1a4949891b
Refactored NBackup subsystem.
...
1) Fixed CORE-1696 - "Deadlock in LM by using nbackup utility" with priority rating of lock requesting for LCK_backup_database and LCK_bdb.
2) A lot of stability fixes were made.
3) The key thing is using new GlobalRWLock for removing LCK_set_owner_handle function and speed up performance.
4) The code is still ready for using both in shared cache architecture and in claster architecture.
2009-03-17 07:39:55 +00:00
hvlad
41e767945b
MSVC 2005 have defined _MSC_VER as 1400, so make check for CRT version correct.
...
It must fix bug CORE-2366 : Embeded can't find/open DLLs (snapshot 3.9.2009)
2009-03-13 15:41:49 +00:00
dimitr
9732cd89a0
Constness.
2009-03-03 11:49:56 +00:00
aafemt
f3b61c6784
Suppress error pop-up in non-server modes
2009-03-03 11:18:40 +00:00
alexpeshkoff
934fb5e192
cleanup
2009-03-03 10:17:07 +00:00
skidder
56fa3716ba
Disable CRT context activation hack for VS2003 build. This build should not be affected with CRT issues
2009-03-02 03:55:01 +00:00
asfernandes
283509ad8d
Misc
2009-03-01 15:42:23 +00:00
aafemt
fcd4ed854b
Fix MinGW build
2009-03-01 13:26:03 +00:00
robocop
fab6a3a6cf
Get rid of superflous parentheses.
2009-02-28 11:57:40 +00:00
dimitr
d83be3481c
Fix by Alex for yet another races during the engine shutdown.
2009-02-24 13:05:12 +00:00
asfernandes
7ba3e7d0e5
Misc
2009-02-11 01:32:09 +00:00
hvlad
8c1dc222aa
Make it work correctly
2009-02-08 19:28:13 +00:00
asfernandes
0038863661
Misc
2009-02-08 17:23:00 +00:00
hvlad
fbeb005108
Move DLL instance variable into separate file. It would be much better to make it member of Config class but currently it is not desirable due to big amount of related changes of build process.
2009-02-08 15:40:05 +00:00
hvlad
0d0c43f6fe
Make it compiles
2009-02-08 13:34:50 +00:00
alexpeshkoff
c8b37f1b54
Fixed problems when setting rootDir and installDir
2009-02-08 13:24:35 +00:00
dimitr
1b3927b026
1) Globally named per-database shmem regions.
...
2) Slightly reworked monitoring internals.
3) Encapsulated the event manager, many internal changes there.
4) Various cleanup, etc.
2009-01-28 12:27:18 +00:00
robocop
3689f15321
Style.
2009-01-20 08:33:59 +00:00
dimitr
d3147fc671
Misc + added critical I/O errors logging on Windows (same as done for POSIX).
2009-01-19 10:10:35 +00:00
dimitr
5cbd056c66
Misc + added critical I/O errors logging on Windows (same as done for POSIX).
2009-01-19 09:46:54 +00:00
robocop
2c2fee86da
Style.
2009-01-14 11:10:48 +00:00
asfernandes
79e89d573d
Misc
2009-01-03 19:02:04 +00:00
robocop
21bb7f3d20
Style.
2009-01-03 09:14:29 +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
asfernandes
a177d28d60
Misc
2008-12-31 20:22:10 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
alexpeshkoff
bd680bcb47
Solaris port
2008-12-28 15:26:05 +00:00
robocop
2fadc0e456
Style.
2008-12-22 09:00:05 +00:00
dimitr
660be78a98
Sync with MSVC8 changes.
2008-12-18 13:49:14 +00:00
asfernandes
77650fa4f6
Const
2008-12-18 01:28:19 +00:00
asfernandes
d03b6ede7f
Misc
2008-12-18 01:24:58 +00:00
hvlad
c3fdb1baaa
Improvement CORE-2243 : Make Firebird distribution on Windows easier.
...
Make fbembed.dll activate its own activation context before load of any DLL if needed.
2008-12-16 11:30:35 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb
Remove trailing spaces (.h files)
2008-12-05 00:56:15 +00:00
asfernandes
52b1014ba6
Remove warnings by gcc 4.3.2
2008-11-05 01:08:20 +00:00
alexpeshkoff
e79f55708d
1. Cleanup - use Firebird::Semaphore instead of local events, removed code
...
related with local events from isc_sync.cpp.
2. Cleanup - removed unused parameter 'number of events' from ISC_event_wait()
and two unused parameters from ISC_event_init().
3. Added SYSV-semaphore based implementation of IPC to isc_sync.cpp.
This should fix CORE-2102: Firebird 2.5 does not build on MacOS (Darwin).
4. Fixed use of posic CS without (x)inetd (i.e. fb_inet_server -s).
5. Fixed (to be reviewed by Dmitry) recovery after some process death in lock manager.
2008-10-10 15:58:05 +00:00
robocop
586c3a6cde
CORE-1799: improve the almost useless "expression evaluation not supported" error message.
...
Did the JRD side except par.cpp because this part is covered by DSQL (only ESQL programs won't get the improved messages).
2008-10-03 05:41:16 +00:00
asfernandes
cc5b689eda
Misc
2008-08-29 02:18:50 +00:00
alexpeshkoff
a2a9f83e74
restored lost line - thanks to Claudio
2008-08-28 10:49:15 +00:00
alexpeshkoff
13a15d4bfe
1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
...
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
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
asfernandes
45786da3bc
Misc
2008-07-06 16:42:52 +00:00
alexpeshkoff
5ac5869661
CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come.
2008-07-03 12:02:54 +00:00
asfernandes
ce4bf91533
Misc
2008-07-01 01:12:02 +00:00
dimitr
544d15a51a
Misc.
2008-06-27 13:40:37 +00:00
alexpeshkoff
a2e416210b
Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
...
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +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
asfernandes
95273037a2
Warnings
2008-05-17 16:14:29 +00:00
robocop
b88a1fd86f
Misc.
2008-05-14 08:54:16 +00:00
robocop
1cdd4e4126
Clean the sources from VC6 hacks.
2008-05-14 05:17:53 +00:00
asfernandes
d149f927ff
Report the saved errno
2008-05-12 15:15:48 +00:00
alexpeshkoff
ac119258f2
Remove file if chmod failed - thanks to Adriano
2008-05-12 14:14:37 +00:00
dimitr
b5d8f4a42b
Reduce number of warnings for 64-bit targets.
2008-05-12 04:47:52 +00:00
asfernandes
8b4a83f201
Misc
2008-05-11 03:00:46 +00:00
robocop
e44a99f339
Style and minor cleanup.
2008-05-10 03:44:57 +00:00
alexpeshkoff
c66d60c857
Fixed CORE-1887: New created databases have wrong access rights
2008-05-07 12:22:59 +00:00
dimitr
7edcee435b
1) Turn on FW on all platforms by default.
...
2) Cleanup/misc.
2008-05-07 05:18:09 +00:00
alexpeshkoff
fae184f617
Cleaned up support of 10-15 years old OSs without async IO
2008-04-17 14:32:22 +00:00
asfernandes
29fbfbb8ff
Misc
2008-04-06 14:45:51 +00:00
asfernandes
a73aa97269
Load ib_util.dll from the install directory, to fbembed.dll loaded with altered search path be able to find it
2008-04-04 15:59:15 +00:00
robocop
dd839c63b4
Duplicate #include
2008-04-03 13:16:19 +00:00
alexpeshkoff
bb45fefa15
Fixed CORE-1818: Temporary files used for temporary page spaces are not deleted after use on Posix platform
2008-04-03 08:13:38 +00:00
alexpeshkoff
aafed20fe1
Fixed problems with shutting down actively running engine - related with CORE-1805.
2008-04-02 14:26:17 +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
asfernandes
b5f62a63b0
Misc
2008-03-30 20:43:36 +00:00
robocop
a0d842413e
Style.
2008-03-29 12:34:09 +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
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
robocop
b4091ac9a6
Make them explicit.
2008-03-10 08:16:57 +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
robocop
e39885c7fb
Misc.
2008-03-02 08:45:41 +00:00
asfernandes
5d2ca89242
Misc
2008-03-01 18:24:06 +00:00