asfernandes
a8496bc551
Fixed FETCH CURSOR <c> (without INTO) after changes for CORE-4929.
2015-09-27 19:39:52 +00:00
asfernandes
10d3c38b68
Fixed CORE-4928 - It is not possible to save the connection information in the ON CONNECT trigger, if the connection is created by the gbak.
2015-09-10 17:06:47 +00:00
dimitr
5b57c1438a
This should fix CORE-4929: Cannot compile source with ELSE IF () THEN and commands to manipulate explicit cursor.
2015-09-09 21:38:24 +00:00
asfernandes
64f82e1682
Improvement CORE-4923 - Add ability to track domains rename in DDL triggers.
2015-09-02 16:24:31 +00:00
asfernandes
35397f8c05
Fixed CORE-4870 - SET COUNT ON: issuing UPDATE on view which was created WITH CHECK OPTION produces wrong number of affected rows (doubled ?).
2015-08-25 15:22:40 +00:00
asfernandes
9a2a88b560
Fixed CORE-4884 - Crash on pasring of script containing execute block
with lot of nested begin..end statements.
2015-08-05 16:44:48 +00:00
asfernandes
551dbdba6d
Fixed CORE-4848 - MERGE ... WHEN NOT MATCHED ... RETURNING returns wrong (non-null) values when no insert is performed.
2015-07-01 17:10:07 +00:00
asfernandes
f9bc6e1736
Add code to print the parser/executable tree to XML for debugging purposes.
2015-06-05 18:26:36 +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
f86a15c90b
Fixed CORE-4819 - EXECUTE PROCEDURE's RETURNING_VALUES and EXECUTE STATEMENT's INTO does not check validity of assignments targets leading to bugcheck.
2015-05-30 19:01:02 +00:00
asfernandes
dd2411e576
Fixed CORE-4755 - Parameterized exception: wrong output when number of arguments greater than 7.
2015-04-29 15:59:46 +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
alexpeshkoff
e7663b6bc0
Use status interface instead plain status vector when working with exceptions.
...
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +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
dimitr
4fd0614875
Misc code simplification.
2015-02-19 19:52:28 +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
asfernandes
47f64b0da4
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54
Revert my last change after it broke the Windows build.
2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
dimitr
ab81e4c1a3
Misc.
2015-02-15 10:38:01 +00:00
dimitr
c8d6349c77
Replace a verb-cleanup bugcheck with regular error + transaction invalidation.
2015-02-03 16:31:05 +00:00
dimitr
9a402f4921
Removed the redundant code (accidental copy-paste remaining), thanks to Adriano.
2015-01-29 10:47:11 +00:00
dimitr
0707f3a747
Fixed CORE-4675: Conditions like WHERE <field> = <cursor>.<field> don't use existing index.
2015-01-29 10:26:27 +00:00
asfernandes
93b35c7cc7
Fixed problem with subfunction parameters related to CORE-4572.
2015-01-06 22:40:20 +00:00
dimitr
0b46869515
Fixed CORE-4161: User can not insert records into table with column "generated by default as identity" in its DDL.
2014-12-17 10:38:36 +00:00
dimitr
2cd3863201
Fixed CORE-4572: Incorrect error for PSQL function when the number of actual arguments does not match the number of formal arguments.
2014-12-16 19:12:18 +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
309b494102
Improvement CORE-3526: Support for WHEN SQLSTATE.
2014-10-16 16:35:18 +00:00
asfernandes
c642ddca82
Misc.
2014-10-12 02:25:02 +00:00
alexpeshkoff
5ccc32e0ed
Better place for trace-related constants, thanks to Vlad
2014-09-30 15:04:14 +00:00
alexpeshkoff
ba62ee9947
Make it build on windows, work in progress - boot build is working
2014-09-29 17:24:30 +00:00
alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
dimitr
6d77447723
Minor refactoring.
2014-08-28 15:53:43 +00:00
alexpeshkoff
532181a7f9
Renamed as suggested by Nickolay and Dmitry
2014-07-28 13:01:10 +00:00
alexpeshkoff
4bdc2a3e19
Replaced macro FB_ALIGN with function fbAlign, minor related cleanup
2014-07-24 06:41:38 +00:00
asfernandes
a73629afc8
Tweaks to CORE-4488.
2014-07-21 16:13:49 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
dimitr
ec07db9882
Fixed CORE-4447: Positioned UPDATE statement prohibits index usage for the subsequent cursor field references.
2014-06-04 09:51:26 +00:00
asfernandes
db035386c4
Fixed the problem reported in CORE-4403 comment.
2014-05-26 23:10:10 +00:00
asfernandes
3f8de25fcc
Feature CORE-4403 - Allow referencing cursors as record variables in PSQL.
...
Improvement CORE-4434 - Extend the use of colon prefix for read/assignment OLD/NEW fields and assignment to variables.
2014-05-19 19:06:47 +00:00
alexpeshkoff
9bd0939f09
Implemented CORE-1377: Add an ability to change role without reconnecting to database
2014-04-30 15:12:12 +00:00
robocop
2d1c89c134
Misc.
2014-04-09 02:35:34 +00:00
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