dimitr
444d5302e1
Refactored the tdbb initialization, especially in AST and BG threads.
...
Replaced dbb_use_count with a list of active requests (to be utilized later).
Misc cleanup.
2011-10-18 18:02:57 +00:00
hvlad
917ad9c55f
Fixed bug CORE-3631 : Duplicate records with NULLs checked incorrectly
2011-10-12 18:59:20 +00:00
asfernandes
eb5689ef0e
Misc.
2011-10-07 02:33:02 +00:00
hvlad
ca1a67992c
Return explicit sign of active transaction from VIO_get_current() - it makes logic more clear in check_duplicates() and allows to clear transient lock error from status vector and not propagate up to the callers.
...
Cleanup : removed my old disabled code (checking for old and new values) and restored original code in check_duplicates().
2011-10-03 11:27:46 +00:00
hvlad
945a1bdbf4
Fixed bug CORE-3515 : Index corruption. Validation put "missing entries" message into firebird.log
2011-06-05 08:15:33 +00:00
hvlad
fef1f49c94
Shared page cache implementation
2011-05-09 10:15:19 +00:00
asfernandes
6534883d94
Misc
2011-03-18 02:00:11 +00:00
hvlad
f8c690835e
Fixed bug CORE-3394 : Failed attempt to violate unique constraint could leave unneeded "lock conflict" error in status-vector
2011-03-17 11:13:30 +00:00
dimitr
bccfda7aa6
Misc.
2011-02-15 07:32:56 +00:00
alexpeshkoff
f89ac854ef
Getting ready to use 32 (not 31) page and transaction numbers
2011-01-21 17:55:04 +00:00
hvlad
272adc246a
Frontport fix for bug CORE-3188 : page 0 is of wrong type (expected 6, found 1)
2010-11-25 10:53:48 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
asfernandes
4763533669
Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
...
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
asfernandes
cd0c292823
Misc
2010-03-17 02:12:39 +00:00
dimitr
63bedffa71
Refactored the sorter into a proper class.
...
Removed some dead code and unused files.
2010-03-16 11:19:29 +00:00
dimitr
13b54a0fab
Fixed CORE-2916: Broken error handling in the case of a conversion error happened during index creation.
2010-03-10 18:07:34 +00:00
robocop
f6e133505c
Fix call to CMP_post_access (security validations), although the call comes from an unused function.
2010-02-23 04:31:43 +00:00
robocop
3b5a0fdae5
The way AccessItem instances were ordered was a hack that sooner or later would fail when adding more object types (that now have ACLs but we still don't enfornce them). Further, comparing numbers is faster than comparing strings.
2010-02-13 08:31:16 +00:00
robocop
00c5d74904
Cleanup.
2009-12-13 13:49:43 +00:00
robocop
804ad6048a
Restrict us to ODS11 and ODS12 until the dust settles down.
2009-11-24 11:42:56 +00:00
robocop
d8a106a6e0
Style.
2009-11-20 11:31:22 +00:00
dimitr
e6909de7f7
Wipe out the SCROLLABLE_CURSORS code + minor cleanup.
...
Also, surfaced scrollability for PSQL cursors (without internal support yet).
2009-10-31 06:25:01 +00:00
asfernandes
ed0e0daeb3
- External Engines implementation.
...
- Plugins API.
- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.
- Fixed CORE-2699 - Common table expression context could be used with parameters.
- Introduce ODS 12.0.
- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
dimitr
8e36474f76
More explicit (and shorter) life-time for sort blocks. Now they belong to either requests (user sorts) or transactions (index sorts).
...
This also resolves CORE-2477: mon$memory_usage: Sorting memory should be reported as owned by the statement.
2009-09-04 06:11:55 +00:00
robocop
97c384d984
Comments.
2009-08-22 12:16:47 +00:00
robocop
f7bf07d9be
Style.
2009-07-03 11:02:17 +00:00
robocop
f10e1b72eb
Style.
2009-06-27 06:23:36 +00:00
robocop
bb83e70cfe
Isolate even more the scrollable cursors-related code.
2009-06-22 08:45:38 +00:00
robocop
f3fdc5b5c7
Give idx_id and associated values a consistent data type and treatment.
2009-06-21 06:04:18 +00:00
robocop
a958da87f5
Style.
2009-06-21 05:46:51 +00:00
hvlad
075f41516f
Undo huge and not friendly fix for Sun compiler. Missed file
2009-06-10 13:00:44 +00:00
alexpeshkoff
cf14a23b6f
Fixed Sun compiler build
2009-06-10 10:09:01 +00:00
robocop
2d7cb94844
Unused params
...
Some BLR checks
2009-04-28 13:08:04 +00:00
robocop
888000e21e
Unused function params.
2009-04-26 10:24:44 +00:00
robocop
a730fbf074
Get rid of more typedefs.
2009-04-03 10:07:55 +00:00
hvlad
bf294658b3
Report names of failed index and its relation at foreign key index creation. Previously its wrong reported names of partner relation and index.
...
It fixed CORE-2289 : Do error reporting more meaningfull
2009-01-25 10:08:14 +00:00
asfernandes
ccb27f8537
Misc
2008-12-21 20:06:02 +00:00
robocop
e63b46bb9c
There's no need to check whether a pointer is null before applying delete or delete[].
2008-12-21 03:50:29 +00:00
robocop
95292d1731
Style.
2008-12-20 08:12:19 +00:00
robocop
0a94d6fee8
Style.
2008-12-18 10:57:12 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +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
asfernandes
244ac97e80
Misc
2008-07-21 02:20:41 +00:00
asfernandes
abaa76c0ef
Fixed CORE-1989 - UTF8 UNICODE_CI collate can´t be used in foreing key constraint
2008-07-16 14:16:49 +00:00
roman-simakov
e3b81dea18
Misc
2008-07-02 12:22:08 +00:00
roman-simakov
6bff45dc78
Correction
2008-07-02 10:56:00 +00:00
robocop
86cd5672d6
Misc.
2008-07-02 08:47:24 +00:00
asfernandes
ce4bf91533
Misc
2008-07-01 01:12:02 +00:00
roman-simakov
a9203adf92
Patch from Alexander Potapchenko for improvement foreign key handling. Now one can reference to key fields of active record when they are not changed.
2008-06-30 12:23:48 +00:00