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
robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
asfernandes
c627005a89
Feature CORE-3626 - Subfunctions in PSQL and EXECUTE BLOCK.
...
Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBFUNC_1.output .
Also did:
- Refactor to share more code/data between procedures and functions.
- Fixed some PSQL functions problems.
2011-10-16 20:36:07 +00:00
hvlad
3e9577bcd8
Port forward fix for bug CORE-3549 : Database corruption after end of session : page xxx is of wrong type expected 4 found 7
2011-07-17 09:49:46 +00:00
asfernandes
f14ec26183
Misc.
2011-06-04 02:18:55 +00:00
dimitr
a09ca42e8e
Cleanup.
2011-06-01 17:29:51 +00:00
dimitr
df893a708d
Better (I hope) solution for CORE-3058: New generators are created with wrong value when more than 32K generators was previously created. It also resolves the [temporary] inability to restore generator values.
2011-06-01 16:58:55 +00:00
hvlad
190abcf635
Fixed related bugs
...
CORE-3502 : DROP VIEW ignores the existing non-column dependencies, and
CORE-3503 : ALTER VIEW crashes the server if the new version has an artificial (aggregate or union) stream at the position of a regular context in the older version.
// Name REL_view is already used in DSQL so i introduced ugly REL_jrd_view flag
2011-05-30 14:26:15 +00:00
hvlad
99c9c8e2db
Enabled background threads (garbage collector and cache writer).
...
Introduced special kind of system attachments used in this threads and show its activity in monitoring.
2011-05-27 07:57:16 +00:00
hvlad
fef1f49c94
Shared page cache implementation
2011-05-09 10:15:19 +00:00
dimitr
7a405a4eea
Fixed CORE-3058: New generators are created with wrong value when more than 32K generators was previously created.
2011-02-17 06:05:16 +00:00
asfernandes
f1ac2b2ab5
Simplified fix for problem with default values in formats.
2011-02-11 00:43:15 +00:00
dimitr
69e6fdd8d3
Corrections, thanks to Adriano.
2011-02-04 07:45:01 +00:00
dimitr
6de88387c7
Simplification. Adriano, please review.
2011-02-03 09:35:57 +00:00
asfernandes
681c542480
Fixed CORE-3330 - Server crashes while recreating the table with a NULL -> NOT NULL change.
2011-02-02 14:41:28 +00:00
hvlad
e04bd813f8
Fixed bug CORE-3095 : Client receive event's with count equal to 1 despite of how many times EVENT was POSTed in same transaction
2011-01-31 10:40:00 +00:00
dimitr
e0f5a68da0
More work on enlarging the message buffers. To be continued.
2011-01-28 18:50:27 +00:00
asfernandes
c9ec26c0c3
Feature CORE-726 - Boolean data type
2010-12-18 02:17:06 +00:00
asfernandes
9c42d4e5af
Finish the statements refactor in the engine. Get rid of jrd_nod.
2010-12-04 22:15:03 +00:00
asfernandes
a3064848d6
Make ExprNodes and RecordSourceNodes reference others directly instead of via jrd_nod.
...
Store ValueExprNodes instead of jrd_nod in the metadata cache.
Make RecordSourceNode child of ExprNode as they share most operations.
Get rid of the JRD visitors in favor of direct calls.
Convert assignments statement lists created inside expressions to separate source and targets ValuesExprNodes.
2010-11-21 03:47:29 +00:00
dimitr
af23581244
Front ported my recent changes. I'm unable to verify the compilation now, sorry.
2010-10-14 05:27:08 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
alexpeshkoff
83d6a2f88c
Restored a lot of changes, rolled back by me unintentionally
2010-10-12 11:36:51 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
hvlad
6a37e8c261
Fixed bug CORE-3170 : Engine could enter infinite loop if EVENT's are posted but no subscribers exists
2010-10-08 11:57:57 +00:00
robocop
98a2c6822d
Warnings.
2010-09-24 09:53:51 +00:00
asfernandes
9b8171d5c1
1) Refactor nod_value_if.
...
2) Created ExprNode::expressionEqual method to replace a new big and ugly switch.
3) Make boolean referencers use BoolExprNode instead of jrd_nod, except nod_validate for now. This includes BinaryBoolNode and NotBoolNode working without jrd_nod references.
4) Rework in the impure allocation code (replace "csb_impure += ..." by CMP_impure calls).
2010-09-20 16:07:50 +00:00
asfernandes
96cd57ba83
Better error reporting and adjustments
2010-07-29 00:36:31 +00:00
asfernandes
36f092fe0e
Improvement CORE-3085 - Add clause ALTER DOMAIN <name> [NOT] NULL
2010-07-28 16:14:20 +00:00
hvlad
4495a7ce16
Fixed bug CORE-3079 : Strong slowing down inserts with EVENT-s in a single transaction
2010-07-26 10:51:00 +00:00
asfernandes
08bbc59f03
Fixed CORE-3056 - Problems may happen when issuing DDL commands in the same transaction after CREATE COLLATION was issued
2010-06-18 12:49:31 +00:00
alexpeshkoff
f28f040e0f
Fixed CORE-3024: Error "no current record for fetch operation" after ALTER VIEW (and a lot of other possible inconsistencies)
2010-06-15 12:27:33 +00:00
asfernandes
d6e4b53865
Misc
2010-05-08 02:25:58 +00:00
skidder
5b3486586c
Fix CORE-2985: The new 2.5 feature to alter COMPUTED columns doesn't handle dependencies well. Also fix the similar situation for ALTER TRIGGER statement
2010-05-02 12:49:14 +00:00
skidder
f0733c2dc7
Add comments (hopefully helpful)
2010-05-02 08:41:37 +00:00
robocop
9eaa31856a
Cleanup.
2010-04-29 05:15:57 +00:00
asfernandes
c1ac5ddc87
Misc
2010-04-23 01:59:21 +00:00
asfernandes
ef4fa156f2
Misc
2010-04-21 15:47:18 +00:00
asfernandes
0c47a04538
1) Use RAII with the non-cached requests.
...
2) Change GPRE generated code to something that fits the future SMP-aware engine, replacing calls of "request = CMP_compile2(...)" by "request.compile(...)". Boot build required.
2010-04-19 22:49:18 +00:00
asfernandes
4763533669
Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
...
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
asfernandes
39498cb65b
Use AutoCacheRequest in all cacheable system requests. Fixes some request leakages.
2010-04-18 15:04:52 +00:00
dimitr
307c3be080
Fixed evaluation of default arguments for PSQL (and, supposedly, external) functions.
...
Improved error handling.
2010-04-14 09:45:27 +00:00
dimitr
1c9adc5300
Cleanup.
2010-04-06 16:26:27 +00:00
robocop
ac551e2b71
Cleanup.
2010-04-04 08:52:10 +00:00
asfernandes
e1ba33a2ae
Fix problem of the system transaction storing pointer to random or already deallocated attachment. Full build (or kind of) required.
2010-04-02 21:48:15 +00:00
robocop
7a4640366d
Misc.
2010-01-30 09:58:01 +00:00
robocop
0da76615ab
Fix misinterpretation of MET_get_dependencies's parameters done years ago with Alex' conversion to MetaName class.
2010-01-26 08:29:03 +00:00
asfernandes
9c1bab1793
Feature CORE-1385 Identity columns - in its basic form
2010-01-13 19:14:15 +00:00
asfernandes
32baf214bb
Always use the dialect 3 for system SQL queries
2010-01-03 18:23:22 +00:00