dimitr
606d459a63
Totally misc.
2015-08-18 10:00:52 +00:00
hvlad
4751f3a33c
Wrong check, thanks to Claudio
2015-07-03 08:05:18 +00:00
asfernandes
ae30b29011
Misc.
2015-06-29 01:02:52 +00:00
hvlad
2e78b5a7e0
Feature CORE-4707 : Implement ability to validate tables and indices online
2015-06-19 12:07:41 +00:00
dimitr
8744b80766
1) Reverted a more complex refetch logic introduced recently to its original state.
...
2) Protected against an undo record being used in VIO modify/erase/writelock routines.
3) Avoided false deadlocks in read-committed transactions.
This should cure CORE-4369, CORE-4561 and CORE-4618 at once.
2015-06-02 10:43:16 +00:00
asfernandes
adf1fd737d
Misc.
2015-05-02 03:54:03 +00:00
alexpeshkoff
164e2cbcba
Check for source nullifying a bit more accurate
2015-04-27 13:15:44 +00:00
alexpeshkoff
852c4366b2
Make it possible for DBA only to NULLify sources
2015-04-24 17:47:29 +00:00
alexpeshkoff
512f0d944e
Write-protect one more system relation
2015-04-20 11:42:17 +00:00
alexpeshkoff
0afc4289de
Postfix for CORE-4731
2015-04-16 11:58:19 +00:00
alexpeshkoff
18c902de46
Fixed CORE-4715: Restore of shadowed database fails using -k ("restore without shadow") switch
2015-04-15 14:01:24 +00:00
alexpeshkoff
d42402d0b9
Fixed CORE-4731: Prohibit an ability to issue DML or DDL statements on RDB$ tables
2015-04-15 13:19:18 +00:00
asfernandes
2828aee4ab
Fixed CORE-4733 - Command "Alter table <T> alter TYPE <C> <DOMAIN_WITH_NOT_NULL" does not verifies data in column <C> and makes incorrect assignments in <C> to ZERO / JULIAN_DATE / ASCII(0) for types INT, TIMESTAMP and VARCHAR.
2015-04-05 02:24:40 +00:00
asfernandes
b50abdb04c
Optimize check of column NULLs when changing field or domain to NOT NULL.
2015-04-05 02:24:26 +00:00
alexpeshkoff
f96129ceef
Fixes assertion in DFW, caused by uninitialized descriptor
2015-04-01 15:10:06 +00:00
asfernandes
336456d140
Misc.
2015-03-28 00:36:04 +00:00
alexpeshkoff
16768b177d
Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry
2015-03-27 17:51:19 +00:00
robocop
7873b1f983
Misc.
2015-03-24 01:30:20 +00:00
alexpeshkoff
6c5f9b77fe
Cleanup - avoid automatic type conversion in FbLocalStatus as suggested by Claudio
2015-03-23 11:06:51 +00:00
alexpeshkoff
c4c9daf132
Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods.
2015-03-20 18:02:30 +00:00
hvlad
1332ff27ac
Fixed bug CORE-4713 : "BLOB not found" error at rollback after insert into table with expression index
2015-03-18 17:26:56 +00:00
asfernandes
bd1094a671
Misc.
2015-03-17 21:44:55 +00:00
robocop
746d47f4f2
Misc.
2015-03-13 15:30:23 +00:00
alexpeshkoff
7fed9ff78c
cleanup
2015-03-05 16:18:46 +00:00
hvlad
39a137e913
Use attachment's or relation's pool instead of dbb_permanent where it is more suitable.
...
It fixed memory leak from dbb_permanent (CORE-4683)
2015-02-22 11:02:49 +00:00
dimitr
c6f6557d5e
Misc.
2015-02-19 15:53:42 +00:00
dimitr
6ae3e2cbaf
1) Fixed CORE-4383: Index and BLOBs garbage collection doesn't work for update_in_place().
...
2) Applied the same approach to temporary GC records.
3) Refactored the Record class to avoid reallocations, to improve encapsulation and to simplify the code.
4) Slightly refactored UndoItem to isolate its logic from the Record class.
5) Reduced the in-memory size of the undo log.
6) Slightly better alternative to the legacy NULL reporting for outer joins.
7) Minor fixes and adjustments in BufferedStream.
2015-02-19 14:15:00 +00:00
hvlad
79b760b4ac
Memory leak (CORE-4683)
2015-02-16 13:57:28 +00:00
dimitr
c8d6349c77
Replace a verb-cleanup bugcheck with regular error + transaction invalidation.
2015-02-03 16:31:05 +00:00
asfernandes
a04966874e
Correction.
2015-01-12 00:21:07 +00:00
asfernandes
c4228eb623
Misc.
2015-01-12 00:04:14 +00:00
starodubov
b260c1ead1
Fixed CORE-4656: Server could hang during chasing dead record version
2014-12-30 08:17:19 +00:00
dimitr
0e11867e84
Refactored the RPB flags. The new logic also provides a second-level protection against CORE-4618.
2014-12-01 21:53:29 +00:00
dimitr
9b0a24fc5a
Simplest possible fix for CORE-4618: Rollback doesn`t undo changes when MERGE statement updates the same target rows multiple times and PLAN MERGE is used. An alternative solution is being considered.
2014-11-30 16:00:19 +00:00
dimitr
d98625b933
Relaxed system tables protection for cases UPDATE ... SET RDB$*_SOURCE = NULL. So far nullification is allowed for views/packages/procedures/functions/triggers only. I'm not sure somebody really needs hiding sources for defaults and check constraints, but this can be supported later, if required. This is a temporary solution, intended to be replaced with something more clever (e.g. special permissions or new DDL command) in v4.
2014-11-09 16:40:52 +00:00
hvlad
18806682fd
Fixed bug CORE-4575 : AV in garbage collector thread at disconnect of last attachment
2014-10-10 10:11:14 +00:00
dimitr
9defd49c6d
Count record reads performed by the IDX code.
2014-09-01 08:29:04 +00:00
dimitr
6d77447723
Minor refactoring.
2014-08-28 15:53:43 +00:00
dimitr
82bf6c2c0e
Minor adjustments to the performance counters. Work in progress.
2014-08-28 15:16:39 +00:00
dimitr
4dae12ccce
Added counter for record refetches (aka repeated reads).
2014-08-27 14:51:51 +00:00
dimitr
a79ff180da
Added specific error code for read conflicts in RC NO_REC_VER mode. Added missing conflict counting.
2014-08-27 12:56:36 +00:00
dimitr
36af3d8cb2
Cleanup and small refactoring to avoid redundancy.
2014-08-15 14:19:02 +00:00
dimitr
abb5897fce
Fixed possible deadlocks between a worker thread and an attachment-level AST.
2014-08-08 15:27:59 +00:00
hvlad
79637fc733
Missing notification of gc thread.
2014-08-06 08:55:47 +00:00
dimitr
a8b1dba646
Refactored RuntimeStatistics internals. Added more record-level performance counters.
2014-08-05 08:46:09 +00:00
asfernandes
718eb6a33e
Fixed the restore of packaged routines.
2014-08-01 16:22:37 +00:00
dimitr
6199136792
Refactored database monitoring, made its handling attachment bound. This should make deadlocks impossible, as well as avoid blocking worker connections while the monitoring request is processed.
2014-07-31 08:56:53 +00:00
hvlad
8741e3d68c
Cleanup and optimize locking a bit (as suggested by Dmitry)
2014-07-29 08:15:29 +00:00
skidder
e2e901939c
Fix GCC warnings
2014-07-17 21:17:15 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00