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

251 Commits

Author SHA1 Message Date
alexpeshkoff
c7454a49a5 Work in progress (committed due to SF upgrade). Checked only on SS.
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
hvlad
0e029d34eb Follow Alex changes, small correction and cleanup 2012-06-01 07:09:42 +00:00
alexpeshkoff
2a01e4bcf9 Implemented CORE-3861: Make it possible to encrypt database
Also some cleanups, the most important are:                                                                                                                   
- meaningful ctor on Jrd::Lock, helping to avoid code dup                                                                                                     
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
asfernandes
1758b1fdbe Misc. 2012-03-10 15:37:52 +00:00
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
alexpeshkoff
6e6c7bcbcd Fixed opening read-only databases on unix 2012-03-01 08:37:55 +00:00
alexpeshkoff
a2ac117fe6 Lock database file when opening it 2012-02-28 12:58:07 +00:00
alexpeshkoff
12cf01d608 Cleanup unneeded parameter (was used in nbackup, where PIO is replaced with OS function calls) 2012-02-28 11:08:30 +00:00
asfernandes
8aca17dd5e Misc 2011-05-15 15:37:51 +00:00
alexpeshkoff
8f354c6fc4 make it compile with shared cache 2011-05-10 14:03:16 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
2cbc4e3675 Misc 2010-07-24 02:43:28 +00:00
alexpeshkoff
d24cd9cbd7 Implemented self-registering plugins format (same plugin can be easily linked statically
or as dynamic library, depending upon platform requirements). Self-registering plugins
need not export any functions, instead they call fb_register_plugin() on startup.

Reworked all user management to use self-registering plugins.

Removed system table RDB$USERS. PLG$USERS is not created automatically by plugin, but
will be later (work in progress).
2010-07-23 12:04:18 +00:00
alexpeshkoff
0710180b67 Fixed CORE-3006: /tmp/firebird and files in it may get 'root' (i.e. GID == 0) group 2010-05-18 10:36:24 +00:00
asfernandes
b36b9764ce Misc 2010-04-16 02:31:36 +00:00
alexpeshkoff
88b8a40a04 1. Cleaned up most of SUPERSERVER usage.
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())

2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).

3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
robocop
be3660d221 Misc. 2010-03-07 04:30:35 +00:00
asfernandes
6aaede8bd3 Fixed CORE-2898 - CHAR_TO_UUID and UUID_TO_CHAR works different in big/little endian architectures 2010-03-05 01:18:55 +00:00
alexpeshkoff
cf3ef42133 Fixed CORE-2807: Problem with tracing on linux 2009-12-14 14:26:22 +00:00
alexpeshkoff
66e980a1f2 Frontported fixed of bugs, found during 2.5.0.RC1 QA - incorrect message when lockdir is not accessible; broken yValve behavior when lockdir is not accessible; bad access rights on lockdir in init.d startup scripts 2009-12-08 15:02:09 +00:00
asfernandes
a3dd1d0482 Misc 2009-11-26 00:20:59 +00:00
robocop
fee53353ff Comments. 2009-11-25 09:07:58 +00:00
robocop
c2a6992141 Enforce the minimum page size we *actually* support. 2009-11-20 08:45:27 +00:00
verbguy
b817494fdd add braces to extern "C" { ... } function declaration. This seems to fix g++ build problem on Linux - thanks Adriano 2009-11-12 02:04:24 +00:00
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
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
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
2c2bc66136 Comments. 2009-08-22 05:02:59 +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
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
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
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
alexpeshkoff
91134ab0d0 Make engine create lock files in /tmp/firebird 2009-05-22 13:47:27 +00:00