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

112 Commits

Author SHA1 Message Date
robocop
804ad6048a Restrict us to ODS11 and ODS12 until the dust settles down. 2009-11-24 11:42:56 +00:00
robocop
9ce4040042 Replace the now obsolete dbb_minor_original by dbb_minor_version. 2009-11-18 12:02:00 +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
paulbeach
07599dc39d _string will not compile on Darwin using gcc 4.2.1 2009-09-23 13:35:37 +00:00
robocop
dc9e7e7a4a Paul Beach confirmed this Darwin code is no longer necessary. 2009-08-01 05:37:08 +00:00
alexpeshkoff
86f3176307 Fixed CORE-2467: security risk in 2.5 beta1 2009-05-19 14:33:36 +00:00
robocop
fab6a3a6cf Get rid of superflous parentheses. 2009-02-28 11:57:40 +00:00
alexpeshkoff
0346cf6a83 Fixed a number of problems with file ownership and access rights on unix 2009-02-20 16:18:12 +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
robocop
05c7a80586 Style. 2008-12-23 08:41:23 +00:00
robocop
e4650d5027 Promote thread_data* as function argument. Only exception where both tdbb and dbb were left together as arguments is nbak.cpp's call to CCH_rollover_to_shadow to avoid any side effect in the changed code, but anyway, that function calls SDW_rollover_to_shadow that takes the dbb from the tdbb and not explicitly. 2008-12-14 09:28:25 +00:00
asfernandes
96194d08ba Misc 2008-08-31 01:10:41 +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
7f4f7b06d6 Misc 2008-07-16 01:39:12 +00:00
robocop
87c7b393e0 Misc check. 2008-07-15 10:47:35 +00:00
alexpeshkoff
aeba7e6444 Fixed CORE-1957 & CORE-216: too many grants lose privileges. ACLs cleanup. 2008-07-11 13:50:59 +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
dimitr
0a9e8c8382 Implemented CORE-1751. The changes include:
1) Make memory counters aggregated.
2) Add attachment pool and allocate appropriate resources out of this pool.
3) Always release attachments explicitly (via destructor).
4) Always delete user requests prior to attachment deletion.
5) Introduce memory usage counters per every monitoring object.
6) Misc refactoring.
Some pieces are still incomplete (although everything basically works), but I'd like to get feedback and testing sooner rather than later.
2008-05-06 08:46:39 +00:00
robocop
d0899d284b Avoid referencing an element that may go out of scope before decoding the status vector. 2008-05-01 10:56:29 +00:00
alexpeshkoff
793091ff85 Fixed gcc warning 2008-03-17 09:08:14 +00:00
asfernandes
74d8711856 Misc 2008-03-08 21:20:26 +00:00
robocop
b1b7634b3d Since SCL_release changed meaning, it's necessary to adjust the name (SCL_release_all) and the comments. 2008-03-08 11:37:15 +00:00
hvlad
7d54298dea Fixed CORE-1775 : Improve performance of security checking 2008-03-06 13:13:31 +00:00
robocop
f8007f4071 Misc. 2008-02-24 03:23:40 +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
6666fd1e4a The merge continued. 2008-01-16 09:48:41 +00:00
alexpeshkoff
eea9070f48 Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster 2007-12-03 15:46:39 +00:00
robocop
fa1538a1ae Minor changes in MetaName usage. 2007-08-26 09:05:29 +00:00
alexpeshkoff
0e76fcf4f1 Better fix for that buffer overflow 2007-06-13 14:10:36 +00:00
alexpeshkoff
e84fb79cc2 Fixed possible buffer overflow 2007-06-13 14:04:59 +00:00
alexpeshkoff
4a4a01ee98 Restored old (SYSDBA) value of CURRENT_USER during BOOT_BUILD 2007-06-09 09:25:40 +00:00
alexpeshkoff
e5f1e63836 Fixed CORE-1312: A remote attacker can check, if a file is present in the system, running firebird server 2007-06-08 10:24:57 +00:00
alexpeshkoff
e18f8046bd Use symbolic names for authentication methods in firebird.conf 2006-12-17 14:02:23 +00:00
alexpeshkoff
01f2969e7f Added 'Authentication' parameter to firebird.conf 2006-12-10 12:31:15 +00:00
alexpeshkoff
6b537af439 A couple of improvements/cleanups, suggested by Adriano 2006-12-10 11:17:50 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
alexpeshkoff
8e025f304a Let windows embedded server work without specifying user name
and password. OS user name is used to be CURRENT_USER value.
2006-11-26 17:06:21 +00:00
alexpeshkoff
205a7303c3 1. Centralized validation of attachment to be a super-user attachment.
2. Fixed a couple of old problems, when sysdba could perform operations, but
   database owner - could not.
3. Fixed CORE-84 - nbackup operations were allowed for everybody who can login
   to the given database.
4. Disabled creating shadows and adding additional DB-files for non super-user.
2006-08-16 15:15:58 +00:00
asfernandes
2670981b70 Create common UCharBuffer based on Claudio and Alex suggestions 2006-07-31 15:43:20 +00:00
dimitr
211645e3dc Getting rid of the old allocator routines. 2006-05-23 10:17:00 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
dimitr
e1e2dafa84 1) Replaced TEXT* with MetaName& in SCL.
2) Fixed SF #1396017.
2006-01-03 15:47:56 +00:00
alexpeshkoff
5274a7361c Security fix - temporary disable logins for clients, making too many wrong attempts to login 2005-08-23 06:52:55 +00:00
alexpeshkoff
5729790ed6 1. Applied class MetaName
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
alexpeshkoff
8a2e6d6c59 Better way for server to authenticate itself in security database. 2004-12-19 15:24:59 +00:00
robocop
98bf2c354f Nickolay compiler caught line without effect mine because I forgot the assignment. 2004-12-07 01:17:07 +00:00
robocop
b2542e3c11 Handle possible buffer overrun.
Constant for non-specified role.
2004-11-27 06:57:42 +00:00
alexpeshkoff
771d2a7a2b fixed problem with lost "authenticator" and "sweeper" user names 2004-11-07 14:35:25 +00:00
robocop
12e2d13d91 Get rid of unused function params. 2004-11-01 04:40:02 +00:00
robocop
6ea3416959 Redundant cast. 2004-10-20 00:13:08 +00:00