robocop
19bc83be9d
When I tried to modify a system domain, I got the confusing message "create domain failed", so I tried to improve the feedback to the user.
2014-04-04 20:30:03 +00:00
asfernandes
2e400de3a2
Misc.
2014-04-04 16:10:01 +00:00
asfernandes
2512cb866b
Fixed CORE-4381 - Incorrect line/column information in runtime errors.
2014-04-04 16:05:20 +00:00
alexpeshkoff
20e846369e
Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names)
2014-04-04 15:57:18 +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
fa2f26b645
A bit less repetitive code.
2014-04-04 07:51:24 +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
robocop
acde43cf94
Misc.
2014-04-02 02:22:13 +00:00
robocop
43a7df27ae
Shortcut.
2014-04-02 02:20:00 +00:00
asfernandes
30b0b5227b
Misc.
2014-03-31 02:04:26 +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
robocop
daae978a9c
Misc.
2014-03-26 19:10:08 +00:00
asfernandes
6d3e7f295e
Fixed CORE-4373 - Duplicate names in package are not checked.
2014-03-26 16:55:57 +00:00
asfernandes
d1dbfe77ce
Fixed CORE-4376 - Preparation of erroneous DDL statement does not show the main command failed.
2014-03-26 16:55:21 +00:00
dimitr
dcdfa9885d
Misc.
2014-03-26 16:42:13 +00:00
dimitr
b2df821da7
Cleanup.
2014-03-25 13:52:22 +00:00
robocop
66af445e2e
Misc.
2014-03-22 20:51:24 +00:00
robocop
e4e6de7ebf
Misc.
2014-03-21 23:03:56 +00:00
hvlad
6ca0cbb78a
Additional patch for CORE-3362 : Cursors should ignore changes made by the same statement:
...
- fixed error when "NOT IN" expression is turned into (better optimized) equivalent expression:
new RseBoolNode's lost parentForNode member (required later to [not]set stable cursor savepoint)
- replaced pointer to outer ForNode (parentForNode) by boolean flag (ownSavepoint) - it simplifies cloning of nodes
2014-03-19 22:31:50 +00:00
dimitr
c0361bc609
Fixed CORE-4366: Wrong result of WHERE predicate when it contains NULL IS NOT DISTINCT FROM (select min(NULL) from ...)
2014-03-15 18:43:45 +00:00
dimitr
523f1ea2c8
Reworked one of my prior commits that caused regression CORE-4360: Select from derived table which contains GROUP BY on field with literal value returns wrong result.
2014-03-09 09:33:35 +00:00
dimitr
2cc62d9a4b
Fixed what I believe was a mistake.
2014-03-09 09:30:49 +00:00
robocop
ae8f6d6b8f
Misc.
2014-03-03 04:37:29 +00:00
hvlad
d125f5617a
Fixed warning by PVS-Studio
...
Review is appreciated
2014-02-25 14:18:32 +00:00
robocop
10a253d613
Make comparisons return plain int (PVS-Studio).
2014-02-25 06:20:09 +00:00
asfernandes
beae5e3915
Warnings (conflict with MSVC math.h defines).
2014-02-23 02:01:11 +00:00
hvlad
65a1f44442
Improvement CORE-4345: Ability to trace stored functions execution
2014-02-19 23:16:47 +00:00
asfernandes
3a87224281
Warnings and make Linux debug build compile.
2014-02-18 01:49:07 +00:00
asfernandes
66ed15f026
Warnings.
2014-02-16 21:52:14 +00:00
dimitr
58691273d2
Slightly changed the invariant handling code for functions.
2014-02-11 09:28:23 +00:00
dimitr
e869780df7
Renamed a few methods for better readability.
2014-02-09 18:28:33 +00:00
dimitr
bd410d08aa
Fixed refactoring errors that caused some optimizer regressions. Also, simplified code a little.
2014-02-09 15:58:33 +00:00
robocop
5013cc4f16
Give names to the old and new streams in triggers.
2014-02-06 06:53:57 +00:00
asfernandes
56ed22998d
Misc.
2014-02-06 00:37:30 +00:00
asfernandes
49fa42fc5e
Fixed CORE-4330 and CORE-4331.
...
CORE-4330 - Not correct result function LAG, if OFFSET value are assigned from a table.
CORE-4331 - LAG, LEAD and NTH_VALUE raise error when the second argument is NULL.
2014-02-03 15:07:13 +00:00
alexpeshkoff
264f939718
Fixed CORE-4326: Keyword SET should not be required in ALTER USER statement
2014-01-30 09:11:06 +00:00
asfernandes
2ad2765d8e
Misc.
2014-01-29 15:35:48 +00:00
asfernandes
9350f941dc
Fixed CORE-4322 - Engine crashes when use aggregate or window functions in recursive query. Vlad, please review.
2014-01-27 01:09:32 +00:00
dimitr
b91a120a52
Misc.
2014-01-25 09:05:04 +00:00
alexpeshkoff
411c3718ca
Fixed CORE-4286: "Statement already has a cursor assigned" error when trying to execute another SQL statement using different cursor name. Moved method setCursorName() from IStatement to IResultSet - it was my fault when splitting cursor from statement.
2014-01-17 12:33:23 +00:00
dimitr
cad838ba02
Fixed CORE-4318: Predicates involving PSQL variables/parameters are not pushed inside the aggregation.
2014-01-17 12:19:52 +00:00
asfernandes
fc6110da59
Fixed CORE-4315 - Usage of field's alias in view WITH CHECK OPTION leads to incorrect compile error or incorrect internal triggers.
2014-01-14 15:03:22 +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
980cc3edf0
Fixed CORE-4307 - Fields present only in WHERE clause of views WITH CHECK OPTION causes invalid CHECK CONSTRAINT violation.
2014-01-09 15:42:49 +00:00
asfernandes
f85f43ae9c
Change type of user flags from int to bool.
2014-01-06 00:57:10 +00:00
dimitr
15113ae2dd
Resolved CORE-1482: Make optimizer to consider ORDER BY optimization when making decision about join order.
...
Also, improved (hopefully) cost calculation for navigational retrievals.
2014-01-05 19:40:07 +00:00
robocop
2810026363
Misc and warnings.
2013-12-29 00:35:50 +00:00
alexpeshkoff
35c23e7086
Misc enhancements in user management - thanks to Adriano
2013-12-26 10:59:25 +00:00
asfernandes
7bb6f550ee
Misc.
2013-12-25 23:36:56 +00:00
alexpeshkoff
dacbc27616
Implemented CORE-3365: Extend syntax for ALTER CURRENT USER
2013-12-17 16:24:49 +00:00
alexpeshkoff
64b4f89d43
Changed syntax of user definition operators according to discussion in devel
...
Added virtual table sec$user_attributes with parsed user's attributes
Implemented CORE-2004: Ability to alter user inactive/active
Implemented CORE-2063: Added CREATE OR ALTER USER operator
Implemented CORE-3931: Ability to set comment for the user
2013-12-17 14:20:25 +00:00
asfernandes
e280fc27c7
Remove two introduced reduce/reduce conflict in the parser.
2013-12-15 01:19:39 +00:00
asfernandes
8e73b1cb28
Misc.
2013-12-14 23:59:55 +00:00
asfernandes
2aa3e8dd4d
Working in progress on the fix for CORE-4271: unify as possible the handling of procedures and functions.
2013-12-12 14:42:31 +00:00
dimitr
bd1429c8ba
Fixed the issue with recursive CTEs reported by Philippe in firebird-devel.
2013-12-11 11:04:08 +00:00
alexpeshkoff
72bfd909e6
Fixed CORE-4290: added SQL support to set/drop unlimited list of user's properties
2013-12-10 13:03:39 +00:00
dimitr
39befb8a68
Fixed my yesterday's mistake.
2013-12-06 12:57:30 +00:00
dimitr
d9c0e9548c
Fixed three issues together represented in CORE-4261:
...
- non-existent result of the window function (in outer joins) is reported as 0 instead of NULL
- derived constant is processed wrongly in windowed streams
- deeper-than-root partitions are not "nullified" in outer joins
Adriano, please review.
2013-12-05 13:59:12 +00:00
alexpeshkoff
d6297bebd4
Fixed some gcc warnings
2013-11-19 13:19:11 +00:00
alexpeshkoff
190ff0ad45
Fixed warning "deleting object of abstract class type" where possible
2013-11-18 13:28:47 +00:00
alexpeshkoff
83db69c849
Fixed new gcc 4.7 warning "deleting object of polymorphic class" in many places. Adjusted use of interface types (reference counted vs just vesrioned). Avoided some hacks caused by badly chosen interface type.
2013-11-18 12:20:23 +00:00
dimitr
8dbe038cab
Fixed CORE-4262: Context parsing error with derived tables and CASE functions.
2013-11-14 17:10:46 +00:00
alexpeshkoff
120b10a78a
Implemented CORE-4263: Database linger
2013-11-14 16:16:24 +00:00
asfernandes
08e6588fcd
Fixed CORE-4258 - Wrong boundary for minimum value for BIGINT/DECIMAL(18).
2013-11-13 15:46:10 +00:00
dimitr
92fca585d7
Fixed CORE-4240: Recursive query in SQL query returns incorrect results if more than one branch bypass. The new code should work equally good with both binary and wide union trees.
2013-11-12 14:04:10 +00:00
asfernandes
5296e616d3
Fixed CORE-4237 - FB3 vs FB2.5. Different metadata for UDF return argument.
...
The is a case showing a difference between 2.5 and 3.0 in the first comment. The second comment does not show difference between versions.
2013-10-04 15:58:03 +00:00
asfernandes
56c2a5fc66
Fixed CORE-4237 - FB3 vs FB2.5. Different metadata for UDF return argument.
2013-10-03 15:38:58 +00:00
asfernandes
0b51caa5f4
Fixed CORE-4145 - Memory leak when preparing Execute Block which uses domains.
2013-09-25 15:49:43 +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
asfernandes
39bccae728
Fixed CORE-4227 - Wrong evaluation of BETWEEN and boolean expressions due to parser conflict.
2013-09-18 16:33:59 +00:00
hvlad
8611366e5f
Fixed bug CORE-4214 : GTT should not reference permanent relation
2013-09-10 14:37:06 +00:00
asfernandes
eae91e94a9
Improvement CORE-4206 - Add RESTART [WITH] clause for alter identity columns.
2013-09-05 15:58:30 +00:00
asfernandes
4789ba1672
Improvement CORE-4199 - Add optional START WITH clause to identity columns.
2013-09-04 15:54:19 +00:00
dimitr
befd3a3e60
Improved the error reporting.
2013-09-04 07:20:56 +00:00
dimitr
0a1d0fb0db
Fixed CORE-4202: Backup/Restore from old version to v3.0 fails with BLR error.
2013-09-04 06:01:55 +00:00
asfernandes
7c0ce8ccc2
Fixed CORE-4203 - Cannot create packaged routines with [VAR]CHAR parameters.
2013-09-03 15:46:46 +00:00
asfernandes
8e6a973957
Simplificate representation of 64-bit numbers and sequences in the parser.
2013-08-29 16:05:37 +00:00
asfernandes
682d6092fb
Fixed CORE-4198 - Incorrect "token unknown" error when the SQL string ends with a hex number literal.
2013-08-29 15:51:14 +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
dimitr
ab8bbef3df
Impure offsets must be 32-bit.
2013-08-21 07:16:28 +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
asfernandes
f6d78556be
Fixed CORE-4180 - CREATE COLLATION does not verify base collation charset.
2013-08-15 15:42:57 +00:00
asfernandes
a34a77d923
Fixed CORE-4177 (last part) - Problem with some boolean expressions not being allowed.
2013-08-14 02:20:17 +00:00
asfernandes
ba923bcadd
Fixed CORE-4177 (only the simple test case reported in fb-devel) - Problem with some boolean expressions not being allowed.
2013-08-12 02:20:12 +00:00
dimitr
b7372ba47e
Front ported CORE-3989: Bad performance / slow response when many concurrent sorts are executed.
2013-08-06 09:37:44 +00:00
dimitr
0a982811f0
Simplest solution for CORE-4165: Replace the hierarchical union execution with the plain one.
2013-08-05 14:48:30 +00:00
asfernandes
c3589a0ef2
Fixed CORE-4155 - External routines in packages wrong removed the necessity of termination with a semi-colon.
2013-08-02 15:35:56 +00:00
asfernandes
2485ccfa12
Improvement CORE-4148 - Increase ISQL buffer size from 64 KB to 10 MB, as the engine.
2013-07-28 01:10:35 +00:00
alexpeshkoff
537be70445
gcc warning - init order
2013-07-23 11:41:37 +00:00
hvlad
0e9ff225b8
Fixed bug CORE-4005 : wrong error message with recursive CTE
2013-07-19 12:09:29 +00:00
asfernandes
0ca870699d
Fixed reintrodution of CORE-2660 noted by Dmitry.
2013-07-16 16:18:22 +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
20d9fd1d76
Fixed regression appeared in test bugs.core_1715.
2013-07-16 03:53:58 +00:00
asfernandes
7863b0d80a
Fixed problem with COALESCE and IIF seen by Dmitry. Reintroduce the implicit casts removed in v3.
2013-07-13 20:50:58 +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