firebirds
aed9d9e5fc
nightly update
2010-11-23 03:14:35 +00:00
firebirds
334bd0eeef
nightly update
2010-11-22 03:14:14 +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
firebirds
6d8e6d1191
nightly update
2010-11-21 03:13:28 +00:00
firebirds
5e67e0c585
nightly update
2010-11-20 03:15:32 +00:00
asfernandes
4c02cfbd5a
Correction for CORE-3244
2010-11-20 00:43:16 +00:00
alexpeshkoff
49a677b1fd
cleanup
2010-11-19 17:32:21 +00:00
firebirds
9512f35159
nightly update
2010-11-19 03:14:40 +00:00
asfernandes
c95ee8c6be
Fixed CORE-3227 - ASCII_VAL() fails if argument contains multi-byte character anywhere
2010-11-18 15:06:37 +00:00
asfernandes
ca35503697
Fixed CORE-3228 - RIGHT() fails with multibyte text blobs > 1024 chars
2010-11-18 14:53:01 +00:00
asfernandes
c65f59768d
Fixed CORE-3244 - POSITION: Wrong result with '' if third argument present
2010-11-18 14:26:01 +00:00
firebirds
75a016eee9
nightly update
2010-11-16 03:15:58 +00:00
firebirds
adc18b33d6
nightly update
2010-11-15 03:14:56 +00:00
asfernandes
4dea3a42a1
Remove dependency of jrd_nod in ExprNode
2010-11-14 22:31:42 +00:00
asfernandes
3eb252ec5f
Refactored DSQL nodes: nod_derived_field, nod_map, nod_dbkey and nod_rec_version.
...
Refactored JRD nodes: blr_field (JRD side only), blr_dbkey, blr_record_version and blr_stmt_expr.
2010-11-14 17:25:48 +00:00
firebirds
b10404a57c
nightly update
2010-11-14 03:14:45 +00:00
dimitr
7eded400e8
Let's clearly distinguish between deterministic and invariant functions, they're not the same thing actually. Runtime optimization usage is to be re-considered, if necessary.
...
Warning: this includes an ODS change, please boot-build.
2010-11-13 15:03:44 +00:00
dimitr
0d0c7be57a
Implemented support for deterministic (invariant) functions.
2010-11-13 08:56:15 +00:00
firebirds
db774bcbf2
nightly update
2010-11-13 03:13:43 +00:00
firebirds
a779ffb016
nightly update
2010-11-12 03:15:34 +00:00
dimitr
a170738b10
Front ported fix for CORE-3207.
2010-11-11 07:41:33 +00:00
firebirds
f75f39d51d
nightly update
2010-11-11 03:15:55 +00:00
firebirds
35d85c14a3
nightly update
2010-11-10 03:15:34 +00:00
firebirds
d4db3eecd1
nightly update
2010-11-09 03:16:19 +00:00
asfernandes
0d19fe7688
Refactor blr_index (nod_scalar)
2010-11-08 23:17:01 +00:00
alexpeshkoff
1183e9c771
Fixed CORE-3220: isc_info_svc_get_users returns error message in the result cluster
2010-11-08 16:16:36 +00:00
asfernandes
447dffa7b1
Warnings
2010-11-08 14:43:11 +00:00
dimitr
2ed04ec8a9
Fixed CORE-3217: Server crashes inside the lock manager when multiple connections attaching/detaching simultaneously.
2010-11-08 10:21:04 +00:00
dimitr
8573d02653
Correction.
2010-11-08 09:23:40 +00:00
dimitr
cc1c1e8b20
Fixed CORE-3218: Statement cancellation request might be silently ignored by the currently running SQL code.
2010-11-08 09:16:50 +00:00
dimitr
bc3a797d4a
If we swallow the exception, let's zap it inside the status vector as well. This fixes the assertion in the debug build.
2010-11-08 07:23:32 +00:00
firebirds
e343419c44
nightly update
2010-11-08 03:14:35 +00:00
asfernandes
5ee982afb9
Refactor blr_derived_expr
2010-11-07 22:12:14 +00:00
asfernandes
a13dd3e6fe
Refactor nod_domain_validation
2010-11-07 20:26:11 +00:00
firebirds
443f0a64bd
nightly update
2010-11-07 03:14:08 +00:00
asfernandes
1d702dae81
Refactor blr_via, blr_from, blr_maximum, blr_minimum, blr_count, blr_average and blr_total
2010-11-07 02:18:58 +00:00
asfernandes
045c090a38
Misc
2010-11-06 18:56:46 +00:00
firebirds
dc9e1fa9b5
nightly update
2010-11-06 03:14:46 +00:00
asfernandes
d68e42b731
Cleanup: nod_average2 and nod_total2 was very broken
2010-11-05 15:05:50 +00:00
asfernandes
195e8e879c
Cleanup: nod_average2 and nod_total2 was very broken
2010-11-05 14:31:08 +00:00
firebirds
9121b7fb1d
nightly update
2010-11-05 03:14:43 +00:00
firebirds
33c59feac9
nightly update
2010-11-04 03:13:41 +00:00
asfernandes
f3277d0775
Fixed CORE-3211 - String truncation occurs when selecting from a view containing NOT IN inside
2010-11-04 01:03:40 +00:00
firebirds
2013dae658
nightly update
2010-11-03 03:14:03 +00:00
asfernandes
2b6106938e
Refactor variables
2010-11-02 17:05:01 +00:00
dimitr
c5f6f04726
Cleanup.
2010-11-02 11:30:57 +00:00
firebirds
2ebec66076
nightly update
2010-11-02 03:15:25 +00:00
asfernandes
e65fd8fea8
1) Refactor CAST.
...
2) Fixed CORE-3204 - Constraint violation error of CAST is not raised inside views
2010-11-01 23:57:31 +00:00
dimitr
b060fb4c67
Fixed CORE-3208: Significant memory leaks with recursive queries.
2010-11-01 19:32:17 +00:00
asfernandes
8df9d960a8
Correction
2010-11-01 15:09:22 +00:00
firebirds
3cdb744751
nightly update
2010-11-01 03:13:57 +00:00
asfernandes
51f4b27991
Simplify the internal "null replacement" logic
2010-11-01 00:42:12 +00:00
dimitr
708c0d50ca
Expose the fb_ping() API call to the external world.
2010-10-31 13:51:31 +00:00
firebirds
ad6f71da70
nightly update
2010-10-31 03:14:14 +00:00
firebirds
a63a336b38
nightly update
2010-10-30 03:14:04 +00:00
firebirds
cba02bc072
nightly update
2010-10-29 03:15:11 +00:00
alexpeshkoff
0ab6c4abf7
Avoid throwing C++ exceptions from authentication plugins
2010-10-28 08:02:42 +00:00
firebirds
e16bb6ef4b
nightly update
2010-10-28 03:15:13 +00:00
firebirds
449144a79b
nightly update
2010-10-27 03:14:40 +00:00
asfernandes
34fcf769dd
Misc
2010-10-27 00:52:32 +00:00
firebirds
806f3c061a
nightly update
2010-10-26 03:14:56 +00:00
firebirds
f0e4607598
nightly update
2010-10-25 03:13:59 +00:00
firebirds
46bd0a4630
nightly update
2010-10-24 03:13:20 +00:00
asfernandes
3317eeeebc
Refactor literal values.
2010-10-24 00:26:00 +00:00
firebirds
59fdc9ee89
nightly update
2010-10-23 03:14:55 +00:00
hvlad
2415148b7e
Engine always works in embedded mode
2010-10-22 20:48:26 +00:00
asfernandes
16ff0c51ce
Refactor NULL expression
2010-10-22 15:00:22 +00:00
firebirds
e8a5c02df9
nightly update
2010-10-22 03:14:28 +00:00
asfernandes
5c7e5ce634
Misc
2010-10-22 01:24:31 +00:00
firebirds
ce8a552a85
nightly update
2010-10-21 03:15:03 +00:00
firebirds
50e801319d
nightly update
2010-10-20 03:14:33 +00:00
alexpeshkoff
88e0503dc6
Fixed CORE-3148: possible segfault in SQZ_apply_differences
2010-10-19 13:05:19 +00:00
firebirds
5372b2b377
nightly update
2010-10-19 03:15:16 +00:00
hvlad
f223086fdd
Corrections for new build system. Work in progress...
2010-10-18 17:23:36 +00:00
firebirds
ab028ddef6
nightly update
2010-10-17 03:13:57 +00:00
asfernandes
2e0da292df
Refactor EXTRACT
2010-10-16 18:53:25 +00:00
asfernandes
2dcef5c7ce
Refactor *_LENGTH functions
2010-10-16 18:17:00 +00:00
asfernandes
aa78df6f91
Refactor SUBSTRING
2010-10-16 17:42:04 +00:00
asfernandes
38ba5852ae
Cleanup: remove blr_prot_mask and blr_lock_state support
2010-10-16 15:34:52 +00:00
firebirds
0ac7b3e9d9
nightly update
2010-10-16 03:15:24 +00:00
alexpeshkoff
8a8a95448f
warnings
2010-10-15 09:05:34 +00:00
firebirds
ffa9b70aa9
nightly update
2010-10-15 03:14:59 +00:00
asfernandes
7b652bcb9a
Misc
2010-10-15 01:55:57 +00:00
asfernandes
7b9dcd86cc
Correction
2010-10-15 00:52:33 +00:00
alexpeshkoff
db34472378
Frontported fix for CORE-3115: Bugs in the internal record compression routines
2010-10-14 12:28:58 +00:00
alexpeshkoff
3afd884f5b
Temporal quickfix for working engine shutdown
2010-10-14 11:13: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
firebirds
8dd8dbfb49
nightly update
2010-10-14 03:15:15 +00:00
alexpeshkoff
250a808107
Temporary disable suggested by me solution for request format check - needs better checks, as is breaks CREATE DATABASE
2010-10-13 13:35:40 +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
c6932824f7
Full fix for CORE-3024
2010-10-13 09:15:48 +00:00
alexpeshkoff
1c0a683249
More lost files
2010-10-13 05:50:53 +00:00
firebirds
6e072bed20
nightly update
2010-10-13 03:17:18 +00:00
asfernandes
91384eb587
Misc
2010-10-12 17:40:27 +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
firebirds
fdfcc4ed7e
nightly update
2010-10-10 03:13:00 +00:00
asfernandes
ac3c00d503
1) Refactored LOWER, UPPER and TRIM.
...
2) Fixed CORE-3174 - Expression index with TRIM may lead to incorrect indexed lookup
2010-10-09 18:39:45 +00:00
firebirds
f76961d639
nightly update
2010-10-09 03:12:58 +00:00
asfernandes
4d00fec2d6
Refactor parameters and GEN_ID.
2010-10-09 01:57:37 +00:00
asfernandes
9bf9ca4ef7
Misc
2010-10-09 01:50:18 +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
dimitr
df245ba88e
Fixed problems with recursive PSQL functions. Minor refactoring.
2010-10-08 09:40:14 +00:00
firebirds
d9975031b9
nightly update
2010-10-08 03:13:58 +00:00
firebirds
dde918ad71
nightly update
2010-10-07 03:13:17 +00:00
firebirds
9931395c98
nightly update
2010-10-06 03:14:27 +00:00
firebirds
79e42ead7d
nightly update
2010-10-05 03:13:47 +00:00
firebirds
439fac187a
nightly update
2010-10-03 03:15:10 +00:00
asfernandes
2227426f2e
Sub-task CORE-3147 - Fix SUBSTRING(SIMILAR) in regard to initial and final shortest matching specified in the standard
2010-10-03 00:50:17 +00:00
firebirds
5d7bd25c38
nightly update
2010-10-01 03:15:31 +00:00
asfernandes
58a7979097
Improve the debug log
2010-09-30 15:40:06 +00:00
firebirds
4e7ff222e5
nightly update
2010-09-28 03:15:12 +00:00
firebirds
9b9f26aa15
nightly update
2010-09-26 03:14:45 +00:00
asfernandes
b49391c8d0
Misc
2010-09-25 23:08:18 +00:00
asfernandes
1f8342a3a1
Fixed CORE-3141 - The last column in a view is returning as a null value even when it's not
2010-09-25 20:19:43 +00:00
firebirds
236b07a221
nightly update
2010-09-25 03:14:43 +00:00
robocop
98a2c6822d
Warnings.
2010-09-24 09:53:51 +00:00
robocop
c7abd52cea
Misc.
2010-09-24 09:23:12 +00:00
firebirds
44c21083d7
nightly update
2010-09-24 03:14:34 +00:00
asfernandes
bbd048fede
Make refactored code match original one, as see by Claudio.
...
The affected code is something that never executes.
2010-09-23 15:22:44 +00:00
robocop
25b691353e
Misc.
2010-09-23 09:53:50 +00:00
firebirds
cd75b18f00
nightly update
2010-09-21 03:14:24 +00:00
asfernandes
0eb26b8e97
Misc
2010-09-20 16:26:25 +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
firebirds
9e786f0c8a
nightly update
2010-09-19 03:13:18 +00:00
dimitr
34dd100554
Fixed CORE-3137: Partial rollback is possible for a selectable procedure modifying data.
2010-09-18 06:52:46 +00:00
firebirds
1c1b3abfa5
nightly update
2010-09-18 03:13:24 +00:00
asfernandes
c1b5abfdf2
1) Refactor all types of boolean nodes.
...
2) Remove the scratch from the nodes.
2010-09-17 03:15:32 +00:00
firebirds
dcdb4e4426
nightly update
2010-09-15 03:18:23 +00:00
firebirds
1009980967
nightly update
2010-09-14 03:06:00 +00:00
firebirds
f54e3120f5
nightly update
2010-09-10 03:14:38 +00:00
firebirds
21acb613f2
nightly update
2010-09-09 03:14:38 +00:00
dimitr
7083a2fff5
Corrections to the multi-key hashing. Thanks to Adriano.
2010-09-08 18:05:28 +00:00
firebirds
d5ce10e647
nightly update
2010-09-08 03:14:17 +00:00
firebirds
5bd3d2a43f
nightly update
2010-09-05 03:12:59 +00:00
asfernandes
b7b63becf3
Refactor a number of expression nodes: nod_add, nod_divide, nod_multiply, nod_negate, nod_user_name, nod_subtract, nod_current_date, nod_current_time, nod_current_timestamp, nod_add2, nod_subtract2, nod_multiply2, nod_divide2, nod_current_role, nod_internal_info
2010-09-04 21:36:41 +00:00
firebirds
4607360acf
nightly update
2010-09-02 03:13:54 +00:00
asfernandes
f42c9bd874
Fixed CORE-3101 - Cannot alter the domain after migrating from older versions
2010-09-01 15:55:32 +00:00
asfernandes
60bfdf264f
Fix warning
2010-09-01 15:54:54 +00:00
firebirds
6a7ae9708a
nightly update
2010-09-01 03:15:19 +00:00
firebirds
d33b2197e2
nightly update
2010-08-31 03:14:29 +00:00
asfernandes
ada671c034
Refactor nod_index and nod_bit_* to InversionNode
2010-08-31 00:20:33 +00:00
asfernandes
6b261f1b81
Misc
2010-08-31 00:12:20 +00:00
asfernandes
cadef3fbf0
Small cleanup
2010-08-30 15:39:50 +00:00
firebirds
1163bea5f1
nightly update
2010-08-30 03:14:08 +00:00
asfernandes
8f857a6deb
Refactor plan nodes to PlanNode
2010-08-29 20:20:19 +00:00
asfernandes
76ff0957fd
Cleanup
2010-08-29 18:25:55 +00:00
asfernandes
96f2829728
Refactor nod_map and nod_sort to type-safe MapNode and SortNode
2010-08-29 18:20:44 +00:00
firebirds
dde6bbcb53
nightly update
2010-08-29 03:13:47 +00:00
dimitr
523120f717
Fixed CORE-2155: Join of SP with view or table may fail with 'No current record for fetch operation'.
2010-08-28 12:41:51 +00:00