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

514 Commits

Author SHA1 Message Date
verbguy
bc861ab3b6 more Sun Studio extern "C" linkage warnings
"../src/jrd/os/posix/isc_ipc.cpp", line 186: Warning (Anachronism): Assigning void(*)(int,siginfo*,void*) to extern "C" void(*)(int,siginfo*,void*).
"../src/jrd/os/posix/isc_ipc.cpp", line 196: Warning (Anachronism): The operation "extern "C" void(*)(int,siginfo*,void*) != void(*)(int,siginfo*,void*)" is illegal.
2009-11-10 18:26:46 +00:00
robocop
b02d70c8fd Use correct English. 2009-11-06 05:27:22 +00:00
alexpeshkoff
82642d8a7c Doctor library name according to posix rules 2009-11-03 13:32:15 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
dimitr
7df0f31474 Avoid polluting firebird.log with "error 534" when 32-bit binaries run on a 64-bit host. 2009-10-05 08:28:04 +00:00
asfernandes
c34a508256 Misc 2009-09-12 01:34:26 +00:00
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
asfernandes
519a3b0aa7 A few necessary "volatile" usage 2009-09-10 15:30:03 +00:00
asfernandes
d8f739f53c Misc 2009-09-03 01:28:54 +00:00
robocop
43962281d4 Misc and isolate the win9x code even more. 2009-09-02 04:23:02 +00:00
skidder
aca5a83a46 Fixed CORE-2609: Update support for Windows 98/ME and NT4.0 2009-08-30 19:00:46 +00:00
asfernandes
f4bfb5dbb3 Style of new/changed code; usage of static; misc 2009-08-30 03:04:34 +00:00
skidder
2b9fa8cf4e Support for filesystem cache size management needed to work with large databases on modern Windows hosts (64-bit - starting with XP, 32-bit - starting with Vista) 2009-08-29 19:55:23 +00:00
paulbeach
2f5df0fac8 Minor mod. as per James Gregurich to allow compilation under gcc 4.2 2009-08-27 11:25:58 +00:00
alexpeshkoff
9a325bd8b5 Avoid need in StringsBuffer when processing serious system errors 2009-08-26 13:08:54 +00:00
alexpeshkoff
93f36b4ba6 cleanup 2009-08-24 12:58:37 +00:00
robocop
683c86a59c Style. 2009-08-23 10:06:08 +00:00
asfernandes
50102f6f4c Misc 2009-08-23 01:27:46 +00:00
robocop
e941560f4e Comments and constness. 2009-08-22 05:11:31 +00:00
robocop
2c2bc66136 Comments. 2009-08-22 05:02:59 +00:00
robocop
f50407657e Comments. 2009-08-21 12:01:27 +00:00
dimitr
21971f03a0 Fixed CORE-2422: Server doesn't switch between multiple entries configured in TempDirectories when some of them is out of free space.
Moved the common code to File.h.
2009-08-21 08:28:08 +00:00
hvlad
e393abbbed Fixed bug CORE-2586 : Make all kernel object names in the same namespace 2009-08-08 12:39:32 +00:00
alexpeshkoff
f405174799 Moved O_DIRECT definition for DARWIN to common place 2009-08-05 07:36:19 +00:00
alexpeshkoff
d39dd937b9 Cleanup - overflow_handler() is not needed cause now we use class FpeControl for that purpose 2009-07-10 11:43:21 +00:00
asfernandes
bf1e2c3a72 Fix scope problem in DEV_BUILD 2009-07-05 00:25:07 +00:00
hvlad
a6345fe4c9 Fixed bug CORE-2532 : Incorrect size of volumes in multi volume database 2009-06-28 20:43:07 +00:00
robocop
f10e1b72eb Style. 2009-06-27 06:23:36 +00:00
asfernandes
928d2616fd Misc 2009-06-19 02:29:08 +00:00
alexpeshkoff
a2f7582562 Though we do not actively use signals since 2.5, let's better initialize paths before setting handlers 2009-06-10 09:18:08 +00:00
hvlad
605296a2a0 Fix Windows build 2009-06-10 07:33:45 +00:00
robocop
9a66eb1fe4 Totally misc. 2009-06-10 06:30:07 +00:00
alexpeshkoff
f21a2bf4be Make initialization distributed - each subsystem does what it needs when needs, removed gds.cpp:init() 2009-06-09 10:08:12 +00:00
asfernandes
f8eb935eb7 Misc 2009-06-06 18:13:57 +00:00
robocop
12a36080f8 This is already a Windows file, no need to check for the WIN_NT macro. 2009-06-02 06:26:20 +00:00
robocop
e9040f1a76 Misc. 2009-05-29 10:33:01 +00:00
hvlad
c551d98c83 Missed LocalFree call. Thanks to Claudio 2009-05-28 20:51:19 +00:00
hvlad
7cc177c049 Set appropriate access rights for files in lock directory 2009-05-28 09:46:45 +00:00
alexpeshkoff
46527f2084 MT safe floating point exceptions control. Raise error in case of FP overflow according to SQL standard requirements. 2009-05-27 07:57:06 +00:00
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