8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00
Commit Graph

2179 Commits

Author SHA1 Message Date
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