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

81 Commits

Author SHA1 Message Date
robocop
4490f77b06 More unused params. 2009-04-28 13:48:18 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
robocop
0a94d6fee8 Style. 2008-12-18 10:57:12 +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
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
a38b327886 Cleanup. Get rid of the JrdMemoryPool. 2008-01-29 10:11:52 +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
2c78462820 The merge continued. 2008-01-16 08:46:02 +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
asfernandes
33c3fd3799 Misc 2007-04-01 00:35:59 +00:00
asfernandes
2904d5d96d Misc 2007-03-31 02:19:37 +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
570b6cd4b4 1) CORE-645 and CORE-745: Database triggers
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
asfernandes
48d51e53c2 Misc 2006-10-02 02:39:45 +00:00
asfernandes
06c273a293 Fixed untracked collation dependencies in PSQL 2006-10-01 22:09:05 +00:00
dimitr
6fe9712cf9 Fixed CORE-878. 2006-09-12 12:29:11 +00:00
asfernandes
7dd55c6b99 Use a more descriptive message for not existent column 2006-09-08 00:59:16 +00:00
asfernandes
9d4e6c7199 Misc 2006-09-06 02:43:37 +00:00
asfernandes
4d0252d980 Misc 2006-09-01 01:27:55 +00:00
robocop
55add73a89 Fix two domain-related deletion messages; one of the fixes was taken from Bill Oliver's commit. 2006-08-31 08:24:56 +00:00
robocop
56d19d8f53 Centralize detection of those pesky implicit domains.
There may be more cases that can use the new function.
2006-08-31 08:01:24 +00:00
robocop
7fced64a88 Misc. 2006-08-30 04:54:44 +00:00
asfernandes
ccdbe63a63 Corrections - thanks to Claudio 2006-08-26 15:46:09 +00:00
asfernandes
b7af27215e Allow usage of domains in PSQL (with TYPE OF syntax) 2006-08-19 02:52:39 +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
dbc714ec52 Tell the user he can't drop a default collation as sugested by Claudio 2006-08-14 18:49:08 +00:00
asfernandes
e538061c38 Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations 2006-08-07 16:39:21 +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
1ca7a582f9 EXPRESSION_INDICES code is considered stable and therefore there's no need to keep it protected by macros. Please do a full rebuild. 2006-01-14 07:00:44 +00:00
robocop
476ffd09bd Misc. 2005-11-06 03:29:52 +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
aafemt
092707a1b7 Fix Alex overwork 2005-05-14 07:00:50 +00:00
alexpeshkoff
5729790ed6 1. Applied class MetaName
2. Small generic cleanup
2005-05-12 18:28:04 +00:00
robocop
734525b960 Fix problems caused by recent privileges-cleanup commit (mainly assigning wrong request to the requests array), spotted in source code. I guess this causes "message length error" the next time DYN_delete_relation is invoked. 2005-03-30 05:18:51 +00:00
dimitr
bd4b69a1b2 Fixed issue with remaining privileges for non-existing objects. 2005-03-29 17:29:21 +00:00
dimitr
d25fcdc0c4 Implemented RECREATE EXCEPTION and CREATE OR ALTER EXCEPTION. 2005-03-26 16:11:52 +00:00
robocop
f74a948cf1 Fix SF Bug #1111570 by changing the deletion order in sys tables. 2005-01-31 07:28:32 +00:00
dimitr
90b166e026 Fixed DROP TABLE bug. 2004-12-21 19:30:29 +00:00
robocop
2814294027 Misc. 2004-12-16 03:03:13 +00:00
dimitr
e012da3d5d Let's remove security class & privileges when a column is dropped. 2004-12-13 19:43:26 +00:00
alexpeshkoff
6e89d3e6d8 avoid warnings in gcc 2004-11-07 14:30:38 +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
dimitr
df8ff86d28 Reworked yesterday's code. The problem is spotted by Claudio. 2004-08-20 07:10:27 +00:00
dimitr
d09aa165db The EXPRESSION_INDICES code now compiles. 2004-08-19 18:41:19 +00:00
alexpeshkoff
31039a254e next step preparing to allocate auto objects memory from appropriate pool 2004-08-16 12:28:43 +00:00
robocop
a19dadb269 1.- Try to fix the mess caused by different data types used to represent bifields of SCL_ constants defined in scl.h, second round.
2.- Prevent users from deleting system generators and modifying any entry in rdb$generators. VIO passes the task to DFW, the only problem being that the user gets the error when a commit is done, not before.
2004-07-06 05:59:40 +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