dimitr
b04f38e171
Fixed the NULL transaction handle crash reported by Dmitry Kovalenko in fb-devel.
2008-03-03 06:31:00 +00:00
asfernandes
88b6f39f82
1) Restore logic of not handled exceptions
...
2) Initialize some status vectors
2008-03-03 00:47:04 +00:00
asfernandes
7a2dedaa39
Go direct to engine internals from DSQL, without need to exit/enter the attachment lock - more to follow
2008-03-02 21:16:16 +00:00
robocop
0a0a8bedb0
Simplification.
2008-03-02 08:42:53 +00:00
asfernandes
2e8bd421dc
Cleanup: do not replicate attachment charset info in DSQL
2008-03-01 19:32:16 +00:00
asfernandes
35688cd5d9
Cleanup: remove y-valve functions DSQL_CACHE and INTL_FUNCTION
2008-03-01 19:14:46 +00:00
asfernandes
f49017d2ff
Misc
2008-03-01 15:08:11 +00:00
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
brodsom
b76a60e8b7
Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build)
2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20
Macro cleaning (THREAD_*)
2004-05-15 00:58:46 +00:00
brodsom
996b40079f
-Avoid shadow warning
2004-05-13 00:33:17 +00:00
brodsom
b30a0b8799
Macro cleaning
2004-05-12 00:02:37 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
skidder
c73aa5ee46
Please Claudio and do not return descriptors for VARCHAR(32767) for UDFs
2004-05-01 08:33:35 +00:00
brodsom
a549091c94
- Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
...
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
2c0ab256cf
Removing duplicated definitions between
...
ibase.h and blob_filter.h
ibase.h and constants.h
2004-04-29 17:48:39 +00:00
skidder
29481ae5e2
Make CSTRING map to VARCHAR, not CHAR in DSQL layer
2004-04-28 18:36:50 +00:00
alexpeshkoff
e0ce53cbec
fixed number problems after lls to Stack conversion
2004-04-21 14:23:46 +00:00
alexpeshkoff
045e9dc8ec
1. removed any mentions of blk_pool() from engine (and method itself)
...
2. replaced 'struct lls' with 'template Stack'
2004-04-18 14:22:27 +00:00
robocop
59b235cea3
Small corrections
2004-04-10 00:25:22 +00:00
robocop
958f9e31aa
Cleanup
...
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +00:00
robocop
663e3b16e7
Cleanup
2004-02-02 11:02:12 +00:00
robocop
2b295a9108
General cleanup. Sorry if I missed some occurrence.
2004-01-28 07:50:41 +00:00
skidder
08eee5ebaa
Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static.
2004-01-21 07:18:30 +00:00
hvlad
d09206678b
Added support for default parameters and EXECUTE BLOCK statement
2004-01-16 10:43:21 +00:00
robocop
16cbc204df
Cleanup
2003-12-31 05:36:12 +00:00
robocop
ad0b5c4de3
General cleanup
2003-12-22 10:00:59 +00:00
dimitr
1c1d834871
Fixed problem with parameters used as UDF arguments with type of CSTRING.
2003-12-06 18:13:57 +00:00
robocop
9fafc348bf
const correctness
...
vars in scope
minimal interface cleanup
small bug fixes
2003-11-28 06:48:34 +00:00
robocop
a94dbd85fd
const correctness and other minor items
2003-11-18 07:58:35 +00:00
brodsom
c5253ae8a5
-Replace gds__ constants with isc_ contants
...
-Replace codes.h with iberror.h (or remove)
-Move gds__vax_integer and gds__event_block* to alt.cpp and isc_ to gds.cpp
-Use ISC_QUAD internally
-Use isc_vax_integer internally
2003-11-11 12:19:20 +00:00
robocop
f55c6f6f8c
const correctness and cleanup
2003-11-10 09:16:38 +00:00
brodsom
43683ea52b
Removing gdsold.h
2003-11-07 23:27:24 +00:00
brodsom
ff070a16a8
Replacing assert with fb_assert
2003-11-03 23:59:24 +00:00
robocop
cda707bd36
const correctness and other related changes
2003-11-01 10:26:43 +00:00
robocop
9ead7a37b4
const correctness
...
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
robocop
8182b6cba2
const correctness and other tasks
2003-10-16 08:51:06 +00:00
brodsom
938e66eb2f
Macro cleaning
2003-10-14 22:22:32 +00:00
aafemt
b5994fabad
sym -> dsql_sym + some 'struct' cleanup
2003-10-01 10:58:07 +00:00
robocop
c931a674c2
Cleanup.
...
Hopefully harmless
It should fix the issue introduced with constness in gds__interprete for current applications.
2003-09-29 12:43:14 +00:00
brodsom
4c9f386bd2
Macro cleaning
2003-09-28 00:36:28 +00:00
brodsom
b46945d049
BOOLEAN cleaning
2003-09-12 01:41:03 +00:00
brodsom
03e528a79b
-Remove GDS_VAL and GDS_REF
2003-08-30 01:54:25 +00:00
skidder
c4727d695b
Add checks to allow explicit pessimistic locks only in cases when we really support them
2003-06-29 20:36:52 +00:00
aafemt
e5146fd644
Introduce of ISC_STATUS_ARRAY
2003-04-16 10:18:51 +00:00
aafemt
b3436b5cd7
STATUS -> ISC_STATUS
2003-04-10 06:32:58 +00:00
brodsom
2c329ec811
- Spli macro to avoid not used warnings
...
- Minor code formatting
2003-04-03 09:29:10 +00:00
dimitr
f833079b2f
CONST -> const
2003-02-13 09:33:26 +00:00
tamlin
bc383ff498
A bit const correctness added and some reinterpret_casts removed.
...
Changed DSQL's str to actually hold char.
2003-02-12 19:28:13 +00:00
dimitr
37b87ac7ed
Fixed porting bug which caused zero to be returned as bytes-per-character value.
2003-01-17 12:52:04 +00:00
arnobrinkman
d3bfe539d3
fix so that win32/msvc6 builds works again
2002-12-16 23:54:30 +00:00