Adriano dos Santos Fernandes
45d5e3aa7a
Refactor public include files ( #205 )
...
Refactor include files.
2019-06-03 11:45:00 -03:00
Dmitry Yemanov
4534a64791
Frontported and refactored PR #202 (CORE-5074)
2019-05-23 18:55:06 +03:00
Adriano dos Santos Fernandes
e438bdeb60
Fixed CORE-6033 - SUBSTRING(CURRENT_TIMESTAMP) does not work.
2019-03-22 12:45:06 -03:00
Dmitry Yemanov
8bb1ea9522
This workaround should fix MSVC12 build issues (ambiguous call to overloaded function for std::function and SomeNode* overloads)
2018-11-28 13:52:18 +03:00
Adriano dos Santos Fernandes
4ce50c0503
Fix CORE-5395 - Invalid data type for negation (minus operator).
2018-11-25 10:45:52 -02:00
Adriano dos Santos Fernandes
c5f8e6ca46
Avoid calls to JRD_get_thread_data.
2017-11-26 18:58:25 -02:00
Adriano dos Santos Fernandes
63a03dfc8f
Remove pool reference and children lists in each node.
...
Children lists will be created and destroyed on demand.
2017-11-26 18:58:25 -02:00
Adriano dos Santos Fernandes
d8fea3ec91
Avoid method calls in NULL objects.
...
It's undefined behavior even with non-virtual methods not accessing *this.
2017-06-09 17:10:46 +00:00
028248b194
Merged changes from master branch
2017-02-16 17:56:23 +03:00
Dmitry Yemanov
4f7843d5b5
Bugfix CORE-5414: Error restoring on FB 3.0 from FB 2.5: bugcheck 221 (cannot remap)
2017-01-05 21:32:44 +03:00
5aede150e3
Decimal floating point numbers - first draft
2016-11-11 17:59:55 +03:00
Adriano dos Santos Fernandes
8a4b7e3b79
Fixed CORE-5367 - Regression: (boolean) parameters as search condition no longer allowed.
2016-10-04 11:50:43 -03:00
Dmitry Yemanov
118a78e6e6
Bugfix CORE-5236: IN/ANY/ALL predicates may cause sub-optimal (late
...
filtering) execution of joins.
2016-07-09 01:14:50 +03:00
Adriano dos Santos Fernandes
d7eb6fe4d0
Fixed CORE-5167 - Allow implicit conversion between boolean and string.
2016-04-04 14:49:44 -03:00
asfernandes
152b6bdc01
Fixed CORE-5130 - Compiler issues message about "invalid request BLR" when attempt to compile wrong DDL of view with both subquery and "WITH CHECK OPTION" in its DDL.
2016-03-09 18:45:38 +00:00
hvlad
2dc879afca
This should fix known issues with MERGE and stable cursor (see CORE-3362).
...
Thanks to Dmitry for idea
2016-02-25 09:20:01 +00:00
alexpeshkoff
139331c7e3
Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
...
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
dimitr
7857160480
Misc.
2015-10-08 13:24:21 +00:00
asfernandes
ce80938834
Fixed possible similar problems to CORE-4497.
2015-09-01 15:55:10 +00:00
dimitr
fe24642bc2
Fixed invariants handling in independent subqueries (seems to be related to CORE-4497).
2015-08-31 15:11:06 +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
asfernandes
ba03a8c71e
1) Improvement CORE-4791 - Make INSERTING/UPDATING/DELETING reserved words to fix ambiguity with boolean expresions.
...
2) Fixed CORE-4735 - Expression 'where bool_field IS true | false' should also use index as 'where bool_field = true | false' (if such index exists).
2015-05-15 16:10:39 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +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
30b0b5227b
Misc.
2014-03-31 02:04:26 +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
robocop
ae8f6d6b8f
Misc.
2014-03-03 04:37:29 +00:00
robocop
10a253d613
Make comparisons return plain int (PVS-Studio).
2014-02-25 06:20:09 +00:00
asfernandes
3a87224281
Warnings and make Linux debug build compile.
2014-02-18 01:49:07 +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
dimitr
d11d3be507
Sync'ed with v2.5 and fixed wrong stream comparison checks.
2013-07-07 16:11:28 +00:00
dimitr
3dd0507b96
Wiped out the code that never worked due to the missing support for native quads.
2012-11-01 01:36:27 +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
d684e4a2f5
Fixed assert reported by Vlad more some related problem.
2012-09-24 01:40:44 +00:00
alexpeshkoff
2a01e4bcf9
Implemented CORE-3861: Make it possible to encrypt database
...
Also some cleanups, the most important are:
- meaningful ctor on Jrd::Lock, helping to avoid code dup
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
asfernandes
ed9ec009ba
Fix CORE-2697 again after refactoring problems.
2012-05-05 15:38:13 +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
robocop
70d5ebdfdf
- Got rid of the fixed array that kept the stream count in the first element and 255 streams after it.
...
- Changed streams from UCHAR to ULONG as Dmitry wanted
- Got rid of some redundant flags to indicate BLR level
- Misc changes (for example, converted to test for DBB_read_only in Database to a function)
- BLR v6 is left commented (waiting for a better solution to appear, if any exists)
- This change is not going to raise the engine limits until a solution is found to express more than 255 streams in BLR.
2012-04-12 09:02:13 +00:00
asfernandes
617ef670ed
Refactored nod_select_expr, nod_with and nod_list (union).
2012-04-07 03:03:28 +00:00
asfernandes
38083d12dc
Refactored nod_field_name, nod_var_name, nod_array and nod_collate.
2012-03-25 01:08:55 +00:00
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00
robocop
eed418a89e
Make blb resemble more a class: private data members, convert some functions into methods, add methods with code that was in other files, etc.
2012-02-15 03:34:21 +00:00
robocop
186c817caa
Playing with fire: converting some static functions into member functions. I tried to check every change I did.
2012-02-07 03:17:52 +00:00
dimitr
08cff42833
Let's avoid duplication of shared constants.
2011-12-22 08:07:17 +00:00
asfernandes
03ae638440
Fixed the bug with NOT IN (list) reported by Ivan Prenosil in fb-devel.
2011-07-25 02:19:34 +00:00
robocop
9d980c7e88
Misc, style, etc.
2011-04-02 04:24:20 +00:00
asfernandes
0193d90f6c
Fix definition and usages of fb_assert.
2011-02-26 16:03:36 +00:00
dimitr
fc43516b21
Reworked my yesterday's change. Hopefully, it should resolve the found regressions.
2011-02-26 09:31:46 +00:00