asfernandes
8f202589e3
Fixed CORE-3306 - Invariant sub-query is treated as variant thus causing multiple invokations of a nested stored procedure
2011-01-10 15:41:33 +00:00
firebirds
a80f4469ab
nightly update
2011-01-10 03:17:09 +00:00
asfernandes
123aa675ab
Refactor nod_aggregate, nod_relation, nod_rse, nod_derived_table, nod_query_spec and nod_limit
2011-01-09 21:58:56 +00:00
firebirds
3c662a48c4
nightly update
2011-01-08 03:23:07 +00:00
dimitr
46b8ec1e14
Fixed CORE-3302: Distinct aggregates return wrong (duplicated) data.
2011-01-07 11:32:45 +00:00
firebirds
c571821492
nightly update
2010-12-29 03:20:33 +00:00
asfernandes
095c9b80d7
Misc
2010-12-29 00:49:21 +00:00
firebirds
731fab1f51
nightly update
2010-12-27 03:17:00 +00:00
firebirds
b049bab2e9
nightly update
2010-12-24 03:19:53 +00:00
firebirds
6d92010735
nightly update
2010-12-20 03:17:25 +00:00
firebirds
c1b8cf8ca8
nightly update
2010-12-19 03:19:26 +00:00
firebirds
fbed9b96f6
nightly update
2010-12-18 03:18:07 +00:00
asfernandes
c9ec26c0c3
Feature CORE-726 - Boolean data type
2010-12-18 02:17:06 +00:00
hvlad
f955808a51
Frontport better fix for bug CORE-3266 : Race condition between async service detach request and running user trace service
2010-12-17 22:32:35 +00:00
firebirds
845b902dc1
nightly update
2010-12-17 03:36:58 +00:00
firebirds
a5aaae4ee0
nightly update
2010-12-16 03:28:01 +00:00
asfernandes
1a1e892daf
Fixed CORE-3277 - Wrong result for RIGHT(UTF8 varchar)
2010-12-16 00:06:55 +00:00
firebirds
1a4dcbc53c
nightly update
2010-12-13 03:19:34 +00:00
asfernandes
6bdd01e49a
Missing pass1 on procedure message, seen by Claudio - not relevant currently, but do it as before.
2010-12-12 20:45:52 +00:00
firebirds
a0852cae07
nightly update
2010-12-06 03:26:47 +00:00
firebirds
5b761808fb
nightly update
2010-12-05 03:20:20 +00:00
asfernandes
83d74dc2b4
Rework on line/column info support to make it faster
2010-12-05 00:55:54 +00:00
asfernandes
acfea28169
Make expression evaluation faster
2010-12-05 00:54:54 +00:00
asfernandes
9c42d4e5af
Finish the statements refactor in the engine. Get rid of jrd_nod.
2010-12-04 22:15:03 +00:00
firebirds
3ea55dbbe5
nightly update
2010-12-03 03:36:00 +00:00
firebirds
5c7a951d23
nightly update
2010-12-01 03:53:48 +00:00
firebirds
3ee26ccd9d
nightly update
2010-11-30 04:06:03 +00:00
asfernandes
bcbc1ed46e
Move some previously static functions to StmtNodes.cpp
2010-11-29 14:54:07 +00:00
firebirds
30db7aecfa
nightly update
2010-11-29 04:01:21 +00:00
asfernandes
8af7ec0211
Refactored the support for blr_handler, blr_loop, blr_exec_sql, blr_exec_into, blr_exec_stmt,
...
blr_start_savepoint, blr_end_savepoint, blr_store, blr_store2, blr_erase, blr_modify,
blr_modify2, blr_exec_proc, blr_exec_proc2, blr_exec_pid, blr_dcl_cursor, blr_cursor_stmt,
blr_set_generator, blr_receive, blr_stall, blr_select, blr_block, blr_error_handler,
blr_label, blr_leave, blr_continue and the source info node.
2010-11-29 02:17:04 +00:00
skidder
3f6412d359
Port fix for frequent random lock conflict errors from RDB 2.1
2010-11-28 18:53:45 +00:00
asfernandes
594e390d42
Fixed segfault after EXECUTE STATEMENT with invalid SQL
2010-11-28 14:56:35 +00:00
firebirds
bea349ac31
nightly update
2010-11-28 03:45:52 +00:00
firebirds
f199b81281
nightly update
2010-11-27 03:47:52 +00:00
firebirds
eefbd00757
nightly update
2010-11-26 03:41:43 +00:00
alexpeshkoff
c8293cd935
Fixed CORE-3259: Deadlock and sefgault when processing ctrl-C in user code
2010-11-25 12:22:39 +00:00
hvlad
272adc246a
Frontport fix for bug CORE-3188 : page 0 is of wrong type (expected 6, found 1)
2010-11-25 10:53:48 +00:00
dimitr
c585c2a257
Fixed assertion when restoring a database having expression insides referencing non-existent UDFs.
2010-11-24 16:00:21 +00:00
dimitr
d0d58495c8
Fixed inability to restore privileges granted to roles.
2010-11-24 15:55:06 +00:00
firebirds
d32557fc94
nightly update
2010-11-24 03:15:37 +00:00
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