8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 19:23:03 +01:00
Commit Graph

110 Commits

Author SHA1 Message Date
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
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
ea8ba3370d Cleaned up mutexes - removed MUTX_T and related macros 2007-06-06 12:37:24 +00:00
hvlad
add72ba94d Don't convert to UNICODE_FSS metadata text blobs for ODS < 11.1 as older engines didn't convert it back to attachment charset when reading 2007-05-24 20:05:14 +00:00
alexpeshkoff
346dea2f04 misc 2007-05-11 09:19:36 +00:00
robocop
52f1b15e0c Misc. 2007-05-02 06:57:18 +00:00
asfernandes
eefa3ff1c9 Misc 2007-04-29 16:29:18 +00:00
alexpeshkoff
f9b7195280 Fixed CORE-1083 - engine silently ignored attempt to revoke privilege 2007-04-28 14:13:44 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
asfernandes
8feba5fcd2 Improvement CORE-1170 - Conversion of DDL source from client charset to metadata charset 2007-03-16 00:46:02 +00:00
asfernandes
e26fa90333 Don't wast time moving bytes when not necessary 2006-12-22 00:12:12 +00:00
dimitr
b6804bdf76 Fixed bug introduced in one of the previous commits. Method resize() was overwriting the DYN string with a pad character, because reserve() doesn't set the length. 2006-12-21 11:35:06 +00:00
dimitr
4e9130ddb4 Fixed CORE-1010. 2006-12-09 13:28:11 +00:00
robocop
ec0ea31c19 Simplify Vlad's DYN_skip_blr_blob but with this change, it becomes the same as DYN_skip_attribute and thus it's candidate for removal. 2006-11-05 03:55:25 +00:00
asfernandes
0872d7132c Fixed the problem found by Claudio during make_boot 2006-11-04 15:33:52 +00:00
asfernandes
6da2d6c615 Fixed CORE-986 - Non-ASCII quoted identifiers are not converted to metadata (UNICODE_FSS) charset 2006-11-04 03:45:02 +00:00
hvlad
f9afb946da Moved DYN_skip_blr_blob from dyn_util.epp into dyn.epp as Claudio suggested 2006-11-01 21:16:55 +00:00
asfernandes
9a6b3da5cd Misc 2006-09-28 01:31:38 +00:00
asfernandes
ad0143ac68 Always check max length of DDL strings 2006-09-27 16:48:33 +00:00
robocop
7fced64a88 Misc. 2006-08-30 04:54:44 +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
e538061c38 Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations 2006-08-07 16:39:21 +00:00
asfernandes
2670981b70 Create common UCharBuffer based on Claudio and Alex suggestions 2006-07-31 15:43:20 +00:00
asfernandes
c13b4cc61a Work on collation attributes:
1) Define a common format for it
2) Merge attributes of the base collation in the attributes of the derived one
2006-07-30 20:31:25 +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
robocop
ebe0a75026 Simplification. 2006-05-04 00:02:58 +00:00
dimitr
9d0ff78b80 Simplified the locking a bit. 2006-04-30 19:22:21 +00:00
dimitr
61bd8dbc05 Threading cleanup. More to follow. 2006-04-30 17:49:32 +00:00
robocop
1e6d89ebfc Comment excessive dependencies on license.h. 2006-01-07 00:31:37 +00:00
robocop
5f0b3021b9 Misc. 2005-11-02 00:11:18 +00:00
dimitr
a1c26e7451 Fixed bug SF #223128. 2005-10-03 13:46:52 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
robocop
95d8b36260 Misc. 2005-05-19 23:41:17 +00:00
robocop
0285f6bf76 - Implement the proposed COMMENT keyword to allow descriptions in database objects. Subject to change or withdrawal.
- Enhance some messages. Reuse some msg numbers that were duplicate.
- Fix some issues found in Alex recent MetaName-related commits.
2005-05-17 07:17:25 +00:00
alexpeshkoff
5729790ed6 1. Applied class MetaName
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
dimitr
3238d79641 Implemented REVOKE ADMIN OPTION FROM 2004-12-03 05:36:32 +00:00
robocop
5d7fe7b9a1 Constant for non-specified role. 2004-11-27 06:54:18 +00:00
robocop
e5be73b048 Misc: extra semicolons do not help. :-) 2004-11-07 10:47:20 +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
alexpeshkoff
c3db4aaa97 added (and used in sources) template to change and restore default pool 2004-08-30 18:11:08 +00:00
robocop
1741432859 Got rid of redundant cast to jrd_req* 2004-08-26 11:07:57 +00:00
alexpeshkoff
31039a254e next step preparing to allocate auto objects memory from appropriate pool 2004-08-16 12:28:43 +00:00
robocop
682b582764 USHORT -> bool 2004-07-07 03:47:12 +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
brodsom
f4ca41fa3d -Replace *_thread_data macros with inline functions (jrd step 1) 2004-05-22 14:28:54 +00:00
brodsom
68cb86b274 - Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
b76a60e8b7 Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build) 2004-05-17 22:30:09 +00:00