dimitr
438dec11d6
1) Keep rel_name for dropped relations in order to report errors properly.
...
2) Throw an error when the relation cannot be locked because of being already dropped.
3) Don't release the existence lock before RDB$RELATIONS is cleaned up.
This is the first part of the changes intended to fix CORE-1938.
2008-06-26 10:48:28 +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
alexpeshkoff
956b6df437
Fixed CORE-1914: Problem creating table leave the database in inconsistent state
2008-06-20 12:20:40 +00:00
alexpeshkoff
e0109ab067
1. Use DFW to store data for user management.
...
2. Minor cleanup in DFW, fixed memory leaks.
2008-05-21 08:13:20 +00:00
asfernandes
b471e912d3
Fixed CORE-1907 - Dropping and adding a domain constraint in the same transaction leaves incorrect dependencies
2008-05-19 15:26:09 +00:00
hvlad
e3a6060861
Fixed bug CORE-1838 : SET STATISTICS INDEX on index of GTT may wrongly change index id by maximum available number for database page size
2008-04-16 11:46:50 +00:00
roman-simakov
a202daf6bb
Replaced nbackup dirty pages locking with RAII classes
2008-04-16 08:46:13 +00:00
alexpeshkoff
b237f4ebd8
Cleanup - avoid use of SUPERCLIENT macro in files, used by utilities
...
(and in some other places too).
2008-04-08 14:18:24 +00:00
hvlad
37a03b26b8
Split TDBB_deferred flag by two separate flags as its used for two different purposes now
2008-04-02 13:46:29 +00:00
robocop
f5db14b277
Pass some tdbb's as arguments.
2008-03-18 13:04:05 +00:00
asfernandes
493a6eab3c
Misc
2008-03-17 02:00:16 +00:00
alexpeshkoff
d3ec37bba0
Fixed CORE-1770: Bugcheck 291 in DDL
2008-03-16 17:10:41 +00:00
dimitr
afb970dba1
1) Cleanup.
...
2) Catch exceptions in AST routines.
2008-03-12 16:53:57 +00:00
hvlad
23679a8b04
Fix few race conditions during metadata load and make index lock block accounting more MT safe.
2008-03-05 14:23:19 +00:00
dimitr
99caa91b85
DSQL integration into the engine.
2008-02-28 13:48:16 +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
dimitr
387c3860ca
More fixes for check_partners. Will this ever end? :-(
2008-02-02 14:59:43 +00:00
dimitr
33d31b3d0f
Rolled back my "partner check" changes upon Vlad's request. But one minor change is still done to avoid races in SS. To be reviewed after the CS build is fixed.
2008-01-31 13:36:11 +00:00
dimitr
a38b327886
Cleanup. Get rid of the JrdMemoryPool.
2008-01-29 10:11:52 +00:00
dimitr
8f742ba52c
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 12:57: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
dimitr
792fd3d8b6
Bugfix for CORE-1641. The solution is to move some of the phase 3 code to phase 4, so that both create_trigger() and modify_trigger() are in sync. To be reviewed by Adriano.
2007-12-09 09:15:48 +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
6958aafa45
Misc.
2007-09-02 09:50:33 +00:00
robocop
a455c5e3aa
An extra pair of useless parenthesis was added.
2007-08-31 05:56:17 +00:00
asfernandes
f3ba6d4fa5
Misc
2007-08-29 02:33:35 +00:00
hvlad
8de5dd7342
Fixed bug CORE-1361 : Index operations for global temporary tables are not visible for the active connection
2007-08-28 20:17:36 +00:00
robocop
3a7d93f658
Misc tweaks with Firebird::string.
2007-08-26 09:53:08 +00:00
robocop
fa1538a1ae
Minor changes in MetaName usage.
2007-08-26 09:05:29 +00:00
robocop
7da5c35b5d
Misc.
2007-08-07 10:28:24 +00:00
asfernandes
a568843ccd
Fixed CORE-1395 - Few problems with domains's check constraints
2007-08-04 02:11:07 +00:00
hvlad
42fedd1c0e
PIO_act_alloc and PIO_max_alloc moved into PageSpace static metods
2007-05-22 11:52:23 +00:00
asfernandes
97843da8a3
Misc
2007-05-20 03:25:52 +00:00
asfernandes
de7a981a6b
Fixed CORE-1271 - Creation of invalid procedures/triggers allowed
2007-05-19 21:25:47 +00:00
skidder
04b9ec818b
NBAK synchronization rework. This should fix CORE-1151 and other Nbackup stability issues
2007-04-24 14:05:46 +00:00
asfernandes
9582ea243c
1) Upgrade INTL interface to undestand misc. configuration informations
...
2) Make our ICU collations work with different ICU versions (tested with ICU 3.6)
2007-04-15 15:57:12 +00:00
alexpeshkoff
f0d465bf34
Fixed gcc warnings, general (un)signed usage cleanup
2007-04-11 09:28:50 +00:00
asfernandes
b7a1aea1c9
Fixed problem of not storing dependencies for database triggers - reported privately by Dmitry
2007-04-03 15:41:00 +00:00
hvlad
b3dcfede36
Close external table's file when relation is not used by the engine.
...
This is simplest fix for bug CORE-132 (Restore fails on external table) and CORE-961(Free external tables)
2007-03-19 21:34:52 +00:00
dimitr
51a3d78c1e
Fixed bug in the ported code.
2007-01-28 07:03:02 +00:00
asfernandes
564147db66
Misc
2006-12-15 01:32:39 +00:00
dimitr
9d2b718bba
Restored the old alter-in-use logic upon customer requests.
2006-12-14 16:11:21 +00:00
hvlad
a810712c6e
Fix for CORE-1051: Possible stack corruption in DFW\check_dependencies
2006-12-11 14:03:29 +00:00
robocop
7a46dc7247
Misc.
2006-11-10 08:12:07 +00:00
asfernandes
73f1aa1f8c
Remove variable shadowing - thanks to Claudio
2006-11-09 00:18:07 +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
robocop
6b4ee46d7c
Misc.
2006-09-30 09:25:49 +00:00
robocop
bdda709bca
Misc.
2006-08-30 06:14:34 +00:00
asfernandes
fcac437363
Don't check procedure BLR when it's marked as invalid, to allow restoration of backups with invalid procedures.
2006-08-27 01:09:47 +00:00