robocop
cadd8accc4
Implemented STEP for generators/sequences and took the opportunity to make the blrOp param const. Please rebuild the databases.
2014-04-09 02:28:38 +00:00
asfernandes
5ffd4e89f7
Misc.
2014-04-08 03:37:30 +00:00
hvlad
b826331d55
Improvement CORE-4252 : Add table name to text of validation contraint error message, to help identify error context
2014-04-04 08:53:05 +00:00
robocop
29e36dc4f3
The 0th generator becomes unnamed. Only internal requests can access it (zero length names are not allowed from outside). RDB$GENERATORS is no longer a reserved name.System generators cannot be changed by user requests, but can be queried with gen_id(g, 0) if the permissions (ACL) allow that. We don't track dependencies on sys generators, it's not necessary.
2014-04-04 06:39:09 +00:00
dimitr
0e7d43a7f9
Fixed CORE-4379: Poor performance of explicit cursors containing correlated subqueries in the select list.
2014-03-30 12:59:43 +00:00
asfernandes
2d330eb6ba
Fixed CORE-4374 - Truncation error when using EXECUTE STATEMENT with a blob.
2014-03-27 15:18:59 +00:00
dimitr
dcdfa9885d
Misc.
2014-03-26 16:42:13 +00:00
dimitr
b2df821da7
Cleanup.
2014-03-25 13:52:22 +00:00
asfernandes
3a87224281
Warnings and make Linux debug build compile.
2014-02-18 01:49:07 +00:00
robocop
5013cc4f16
Give names to the old and new streams in triggers.
2014-02-06 06:53:57 +00:00
dimitr
a149317d89
Improvement CORE-3881: Extend the error reported for index/constraint violations to include the problematic key value.
2014-01-10 07:49:51 +00:00
asfernandes
87389723d6
Fixed CORE-4234 - Error with IF (subfunc()) when subfunc returns a boolean.
2013-09-23 18:50:52 +00:00
dimitr
e5d1202048
Somewhat hackery fix for CORE-4201: Computed field returns null value inside BI trigger.
...
A better solution requires major changes and will be investigated in trunk later.
2013-09-20 08:28:41 +00:00
dimitr
befd3a3e60
Improved the error reporting.
2013-09-04 07:20:56 +00:00
asfernandes
bb86ab028a
Fixed CORE-4184 - Executing empty EXECUTE BLOCK with NotNull output parameter raised error.
2013-08-26 16:06:26 +00:00
dimitr
a4ec331d3d
On second thought, I'm removing the artifical message size limit.
2013-08-21 09:17:10 +00:00
asfernandes
de802194c4
Fixed (as possible) CORE-4160 - The parameterized exception does not accept not ASCII characters as parameter.
2013-08-19 15:31:00 +00:00
dimitr
54aabd005f
Fixed regression appeared in test functional.view.create_07.
2013-07-16 10:25:28 +00:00
dimitr
95bf7c51da
Misc adjustments.
2013-07-16 05:05:47 +00:00
dimitr
8eca48585c
Fixed assertion/crash appeared in test bugs.core_1910.
2013-07-11 06:00:59 +00:00
dimitr
81466c3768
1) Fixed XCP_MESSAGE_LENGTH to represent the real max length. We have the column defined as VARCHAR(1023), so there's no need to subtract the overhead.
...
2) Slightly refactored the message buffer management.
3) Fixed the buffer overrun in the release build.
2013-07-10 11:44:39 +00:00
dimitr
cb1975f13c
Attempted to fix a possible crash due to the wrong request pointer remaining in tdbb after sub-request execution. While being there, cleaned up some redundant code.
2013-06-19 06:26:57 +00:00
asfernandes
fc16bb34e4
Fixed crash when calling unimplemented packaged procedures.
2013-05-13 01:48:57 +00:00
asfernandes
e0567463bf
Revert external routines to request-based (*) code, but now using a totally different internal approach.
...
* This is not ideal IMO, but much more easier to currently support stack traces, and domain's defaults and validations.
2013-04-11 15:44:17 +00:00
asfernandes
d0c79a4508
Cleanup.
2013-03-31 18:23:54 +00:00
asfernandes
871c073279
Refactor.
2013-03-31 15:55:01 +00:00
dimitr
15e4367810
Small refactoring.
2013-03-17 17:35:53 +00:00
alexpeshkoff
5c0cec6d9f
Fixed CORE-3360: update ... returning ... raises -551 (no perm to update) for a column present only in the returning clause
2013-03-11 15:43:33 +00:00
asfernandes
6de58d0ccb
Cleanup.
2013-03-08 15:31:25 +00:00
dimitr
86f4b02ef3
1) Cleanup and renaming in the SCL code.
...
2) Reimplemented the USAGE privilege as a separate one.
3) Added USAGE permission checks for generators/sequences and exceptions.
4) Supported USAGE in GRANT/REVOKE for all object types.
5) Refactored SET GENERATOR and ALTER SEQUENCE as true DDL. blr_set_generator is supported only for backward compatibility, it's not generated by DSQL anymore.
6) Added START WITH clause for [RE]CREATE SEQUENCE and CREATE OR ALTER SEQUENCE.
7) Fixed a number of related errors.
2013-03-07 13:59:03 +00:00
asfernandes
48fd751c6e
Fixing FB_MESSAGE macro and external functions and procedures.
...
Isolate external routines them from request-based ones.
2013-03-04 01:42:58 +00:00
alexpeshkoff
fc12495d0e
Modified IStatement interface in our API:
...
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
asfernandes
fb01fe56fc
Fix SELECT FOR UPDATE problem related to r57615 change.
2013-02-09 01:51:27 +00:00
asfernandes
66ba00e124
Misc.
2013-02-08 01:48:28 +00:00
dimitr
a7a6a45ec2
Misc adjustments.
2013-01-24 07:05:34 +00:00
asfernandes
970677e8de
Get rid of dsql_str and fix metadata strings.
2012-12-25 17:34:50 +00:00
asfernandes
9b72aa53bc
Misc.
2012-12-19 00:56:57 +00:00
dimitr
fd24c3e3e0
Yet another complementary bugfix for CORE-4004.
2012-12-12 07:48:34 +00:00
dimitr
3971e49b30
Another bunch of changes for CORE-4004: Sometimes long-running operations cannot be interrupted by asynchronous shutdown / cancellation requests. The looper nodes should never ignore req_unwind and transform it to something else.
...
Review and testing would be appreciated, especially in regard to EXE_assignment.
2012-12-06 12:09:11 +00:00
asfernandes
1cfac2b169
Refactor dsql_fld, TypeClause and ParameterClause. Eliminate some warnings.
2012-12-05 02:07:37 +00:00
dimitr
60d8b9fd37
Additional fixes for CORE-3981 (Sub-optimal predicate checking while selecting from a view) that also resolve the regression CORE-3986 (GSEC couldn't change user password after fix for CORE-3981).
2012-11-20 10:39:37 +00:00
asfernandes
a31f48a6a2
Misc.
2012-11-19 23:32:44 +00:00
dimitr
74db9507c2
Fixed CORE-3979: Server crashes while unwinding changes in an autonomous transaction.
2012-11-17 15:31:21 +00:00
asfernandes
62ac6e3b31
Fixed CORE-3966 - Creating a stored procedure with an "update or insert" statement with MATCHING fails.
2012-11-04 02:28:33 +00:00
asfernandes
b7d87a6cfa
Misc.
2012-10-16 00:51:42 +00:00
hvlad
513ce5e1ce
Additional patch for improvement CORE-3362 : Cursors should ignore changes made by the same statement.
...
- SubQueryNode (sub-select's) and RseBoolNode (exists(), in\any\all) now knows if it is a part of some outer select (ForNode) or it is a standalone statement.
- VIO\get_undo_data was reworked to better fit undo-log implementation, corresponding changes in VIO_chase_record_version also done
- AV in VIO\get_undo_data was fixed
2012-09-24 14:26:33 +00:00
asfernandes
594bea6af3
Fixed CORE-3893 - Cannot restore tpcc database in FB 3.0.
2012-07-20 02:41:58 +00:00
dimitr
19eaa2f355
Wiped out the legacy compatibility option.
2012-07-11 12:54:08 +00:00
asfernandes
07747144f7
Unify DSQL/JRD sub-nodes.
2012-05-03 16:43:29 +00:00
asfernandes
a2b389f1db
Getting rid of dsql_nod.
2012-04-25 01:42:47 +00:00