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
robocop
840bf14b36
If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes).
2004-09-26 01:49:52 +00:00
robocop
1741432859
Got rid of redundant cast to jrd_req*
2004-08-26 11:07:57 +00:00
robocop
789c02213d
Misc change
2004-07-07 03:41:27 +00:00
robocop
949830d0c6
1.- const correctness
...
2.- style
3.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h,
first round. No circular dependencies found through MSVC. Still pending dyn* and grant.epp files.
2004-06-29 04:37:59 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
alexpeshkoff
9a34ce553c
make bool (isEmpty/hasData) checks for string and stack safe
2004-05-27 16:26:52 +00:00