8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-28 02:43:03 +01:00
Commit Graph

111 Commits

Author SHA1 Message Date
dimitr
a0730bcec5 Restored the old logic which uses the user transaction handle to prepare the statement.
This allows to keep the good DSQL's early validations for intermixed DDL/DML operations.
2008-03-01 11:41:51 +00:00
dimitr
99caa91b85 DSQL integration into the engine. 2008-02-28 13:48:16 +00:00
asfernandes
1d70a37bcf Misc 2008-02-22 02:51:37 +00:00
dimitr
0c7959cfd0 Make the mutex protection available for [super-]classic builds. 2008-02-20 15:43:31 +00:00
dimitr
c7db4d6a64 Get rid of DsqlMemoryPool. 2008-02-20 15:24:21 +00:00
robocop
78ceba6473 Style and deleting extra, unnecessary scope block. 2008-02-13 12:56:32 +00:00
alexpeshkoff
ee6c433597 Mutexes cleanup:
1. Make all firebird mutexes recursive.
2. Enable exceptions to be thrown by mutexes and process them in code where needed.
3. Catch and ignore exceptions in various MutexGuard dtors.
2008-02-05 08:21:18 +00:00
asfernandes
ed51d0728b DSQL sync. changes 2008-02-01 20:18:11 +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
eac5ac337b The merge continued. 2008-01-16 06:52:43 +00:00
robocop
fa1538a1ae Minor changes in MetaName usage. 2007-08-26 09:05:29 +00:00
asfernandes
ef83b131b3 Fixed registration and use of custom character sets 2007-05-08 15:33:22 +00:00
asfernandes
aca179f398 Full domain support and NOT NULL in PSQL 2007-01-17 01:19:01 +00:00
asfernandes
9c34ba9dfb Misc 2006-12-16 02:21:21 +00:00
dimitr
7c10900395 Fixed CORE-1055. A change in METD_get_relation() seems to not be strongly required, but I keep it in HEAD for testing. 2006-12-15 16:04:40 +00:00
asfernandes
d168869475 Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS 2006-11-24 00:25:13 +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
0cfd1ec791 Misc 2006-09-07 03:43:55 +00:00
asfernandes
4599805c7f Detect ambiguities in implicit MATCHING of views in REPLACE 2006-09-07 03:30:31 +00:00
asfernandes
55ec30965d REPLACE statement 2006-09-03 01:09:23 +00:00
robocop
ef2f4ef904 Centralize detection of those pesky implicit domains. 2006-09-01 02:42:09 +00:00
asfernandes
b7af27215e Allow usage of domains in PSQL (with TYPE OF syntax) 2006-08-19 02:52:39 +00:00
asfernandes
e538061c38 Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations 2006-08-07 16:39:21 +00:00
robocop
8b74a50186 Fix CORE-871
I did this fix for SF Bug #228135 in February 2002 to FB1. On November 2002, for unknown reasons to me, Ignacio Ortega made the fix a comment, so FB1.5, FB2 and FB2.1 have the bug again. I'm fixing FB2.1 to close the same bug that now appears as CORE-871. We need more regression tests.
2006-07-28 07:45:50 +00:00
asfernandes
a86cf35ad4 Synchronization of DSQL metadata cache objects in classic-server 2006-07-10 03:12:10 +00:00
asfernandes
e781d29e1e Fixed problem caused by usage of UNICODE_FSS system domains in users views and tables - thanks to Dmitry 2006-01-21 14:55:16 +00:00
alexpeshkoff
fb6757bbed fixed gcc warning(s) 2006-01-16 16:31:15 +00:00
robocop
be13107102 Misc. 2006-01-04 05:55:24 +00:00
hvlad
f89e461887 Cached charsets by id (not only by name) in dsql. Removed irq_cs_bpc request as unneeded anymore 2005-11-16 07:49:28 +00:00
dimitr
a0ea9ad0bc Globals must die, epysode III. 2005-11-12 18:48:09 +00:00
alexpeshkoff
5724d3eb15 Fixed SS deadlock in DSQL 2005-10-28 16:34:59 +00:00
dimitr
39bceddf43 Another attempt to fix the issue with uncommitted DDL. 2005-09-14 11:42:21 +00:00
robocop
aab2d20725 - Get rid of DBB_v3 in DSQL and put a message just in case we find ODS<=7 (impossible in theory, since FB wouldn't open such db).
- Put mnemonics for two hardcoded error msgs I hijacked from DYN years ago. Now they are defined for the SQLERR facility.
2005-09-10 07:15:24 +00:00
hvlad
a3c369866a Add error handlers 2005-09-04 21:32:16 +00:00
dimitr
e26108da29 1) Fixed threading issues in DSQL (they always existed, but were hidden until recently).
2) Cached all METD requests.
2005-07-17 07:00:55 +00:00
dimitr
75a8789a09 Temporarily rolled back my fix. 2005-07-16 06:46:07 +00:00
dimitr
3a6419378d Fixed SF #1012152. 2005-06-24 15:06:54 +00:00
robocop
a3e76836e3 Misc. 2005-06-16 05:02:37 +00:00
asfernandes
890494ac7c 1) Fixed SF #1016040 Missing external libraries causes engine exception
2) Use better error messages
2005-06-14 03:16:54 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
dimitr
d25fcdc0c4 Implemented RECREATE EXCEPTION and CREATE OR ALTER EXCEPTION. 2005-03-26 16:11:52 +00:00
robocop
a8da598248 Redundant casts. 2004-10-08 11:08:42 +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
1994913da7 Bring DSQL up to date with UDF capabilities in the engine.
Introduce SCALAR_ARRAY token.
2004-08-27 04:52:32 +00:00
alexpeshkoff
31039a254e next step preparing to allocate auto objects memory from appropriate pool 2004-08-16 12:28:43 +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
brodsom
06f7148859 -Replace *_thread_data macros with inline functions 2004-05-22 14:23:10 +00:00
robocop
441817bd82 1.- Misc changes
2.- Style
3.- Recover dsc_ttype in dsc after Blas' cleanup as a synonym for dsc_sub_type in text types
2004-05-21 06:16:17 +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