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

116 Commits

Author SHA1 Message Date
alexpeshkoff
8bfa0a37a2 Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed 2009-11-13 18:29:06 +00:00
alexpeshkoff
6914ea456b Fixed posix build 2009-11-05 11:52:43 +00:00
asfernandes
79e9320875 Refactor aggregate handling into AggregateRsb class 2009-10-31 19:03:30 +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
alexpeshkoff
86f3176307 Fixed CORE-2467: security risk in 2.5 beta1 2009-05-19 14:33:36 +00:00
alexpeshkoff
5bbb9d909c Fixed misc binreloc-related issues 2009-04-22 15:49:28 +00:00
asfernandes
8db711cd42 Feature CORE-2398 - Make Firebird correct detect its installed path in Linux 2009-04-08 02:14:03 +00:00
dimitr
0edba46399 Cleaned up the unused ALL routines, the only remainings from the old allocator code. 2009-04-01 11:44:43 +00:00
aafemt
6ca657cd86 Libtool and Co removal 2009-02-19 21:17:17 +00:00
alexpeshkoff
2da14652dd Avoid use of class PluginManager 2009-02-04 11:39:37 +00:00
alexpeshkoff
e1117d8a3d Make trace plugin build on linux 2009-02-03 12:03:25 +00:00
alexpeshkoff
fabcd31d03 misc 2009-02-02 13:26:14 +00:00
alexpeshkoff
2cf130db1d Added trace to posix build - first draft 2009-02-02 11:48:44 +00:00
alexpeshkoff
b4f7717eb3 Implemented CORE-1758: nBackup support in Services API. 2008-11-20 17:29:38 +00:00
alexpeshkoff
47584a86f0 Avoid unneeded module in fb_smp_server 2008-11-05 09:02:30 +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
alexpeshkoff
370ed679ec Refactored services code 2008-09-11 09:03:08 +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
asfernandes
8f9b451ce9 Rework of ib_util changes. Dynamically load it in the engine and inform callback functions to alloc and free memory. Allocate memory from the default pool. 2008-07-12 21:23:42 +00:00
alexpeshkoff
7c8427bc35 Separated CVT functions to common and jrd parts.
This made possible to avoid ugly CVT_move export.

Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +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
af1d955da6 Improvement CORE-1937 - Detect (instead of crash) FREE_IT UDFs that return pointer not allocated by ib_util_malloc 2008-06-14 22:16:40 +00:00
alexpeshkoff
2065872514 Use DFW to store data for user management 2008-05-21 08:14:09 +00:00
asfernandes
d52dc96278 1) Move the new Node classes to appropriate files
2) Creation of StmtNode
3) Conversion of IN AUTONOMOUS TRANSACTION to InAutonomousTransactionNode (inherited from StmtNode) - it makes this feature almost self-contained

Please do a boot build or at least run blr_table.
2008-05-19 13:47:48 +00:00
asfernandes
1679cfdd17 Fix POSIX build 2008-04-30 01:47:10 +00:00
alexpeshkoff
ef2b605cf6 Removed JString 2008-04-24 15:53:04 +00:00
asfernandes
6e59d736df 1) Fix Linux build
2) Misc
2008-04-11 01:38:50 +00:00
alexpeshkoff
17886bed31 Cleanup - always build utilities in std mode - no more SUPERCLIENT/STD_UTIL macros. 2008-04-08 14:19:55 +00:00
alexpeshkoff
ccc4a8d5d6 removed ALLR 2008-03-24 15:29:31 +00:00
asfernandes
5c7c0b500b Fix GCC build 2008-03-21 02:39:32 +00:00
asfernandes
c7ec88bee4 1) Created classes PreparedStatement and ResultSet
2) Changed EXECUTE STATEMENT to use these classes
3) Fixed CORE-1784 - Error with EXECUTE PROCEDURE inside EXECUTE STATEMENT
2008-03-13 16:37:20 +00:00
dimitr
1ebd372868 Cleanup. 2008-03-12 17:07:49 +00:00
asfernandes
0b6ecafe1b 1) Remove REPLAY_OSRI_API_CALLS_SUBSYSTEM code
2) Remove internal y-valve function INTERNAL_COMPILE_REQUEST
3) Go direct to engine internals from DSQL, without need to exit/enter the attachment lock and check exceptions in status vector
2008-03-07 15:23:21 +00:00
dimitr
f9b75ffc74 Cleanup the makefiles. 2008-02-20 15:38:36 +00:00
alexpeshkoff
c14a900271 add Database.cpp to posix build 2008-02-15 08:47:23 +00:00
asfernandes
607ef7d9fa Encapsulate the parser and make it thread safe 2008-02-03 19:16:12 +00:00
dimitr
0cda20a31a Cleanup AliceMemoryPool. 2008-01-29 12:28:28 +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
cf84ebd910 The merge continued. 2008-01-16 10:41:58 +00:00
paulbeach
4a2f1647fe Apply MacOS changes to HEAD 2007-12-27 10:55:58 +00:00
asfernandes
9dd863d6d7 Create class to buffer random bytes generation as process of generate many small random bytes is slow - thanks to Nickolay 2007-10-28 14:54:16 +00:00
alexpeshkoff
d6c27896ec Added StatusHolder to posix build 2007-05-18 07:19:48 +00:00
aafemt
19d132c8f6 Fix MinGW build 2007-05-11 06:40:19 +00:00
skidder
04b9ec818b NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues 2007-04-24 14:05:46 +00:00
asfernandes
8c7076b67f Port of Yaffil builtin functions 2007-04-12 15:56:34 +00:00
aafemt
07bb8336e9 Some tweaks for POSIX builds 2007-03-29 06:08:47 +00:00
alexpeshkoff
ca83abfce9 fixed posix built after latest changes 2007-03-28 11:32:13 +00:00
aafemt
604d85dc77 Fix MinGW build 2007-02-06 12:18:18 +00:00
alexpeshkoff
ecae1bcc5c fixed posix build 2006-10-31 12:24:56 +00:00
alexpeshkoff
9aae126eb9 fixed posix build 2006-10-23 11:41:00 +00:00