dimitr
6de88387c7
Simplification. Adriano, please review.
2011-02-03 09:35:57 +00:00
dimitr
d5b24b77fb
Removed the supposedly wrong checkout (it was added in v2.0), as theoretically it can lead to race conditions in the page cache.
2011-02-03 08:01:22 +00:00
dimitr
e3831d1061
Fixed the cache logic (manifested itself as infinite loops) after Alex's SLONG->ULONG changes for page numbers. There's still room for further changes. While being there, performed some related cleanup.
2011-02-02 17:47:11 +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
dimitr
6449c942e7
Implemented CORE-3332: Provide more detailed information about the query execution plan. Some details are still to be worked on.
2011-02-02 11:31:04 +00:00
alexpeshkoff
491ce86c72
Fixed CORE-3329:Windows administrator gets RDB$ADMIN role when this is not expected
2011-02-02 11:30:55 +00:00
hvlad
12ada43e38
Front ported improvement CORE-3323 : Ability to cancel waiting in lock manager
...
LM part will be changed to not rely on engine internals.
2011-02-02 11:20:52 +00:00
firebirds
b6e62c016a
nightly update
2011-02-02 03:15:58 +00:00
firebirds
5e57ccc0d8
nightly update
2011-02-01 03:16:41 +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
asfernandes
f27d60369e
Refactor nod_relation_name and nod_rel_proc_name.
2011-01-30 00:25:46 +00:00
asfernandes
a85ff223b1
Correction
2011-01-29 17:30:30 +00:00
asfernandes
ccaaca7c72
Misc
2011-01-29 17:24:29 +00:00
dimitr
6e6d341d4f
Front ported CORE-3312: Sub-optimal join plan when the slave table depends on the master one via the OR predicate.
2011-01-29 11:34:25 +00:00
dimitr
e0f5a68da0
More work on enlarging the message buffers. To be continued.
2011-01-28 18:50:27 +00:00
dimitr
fcf42108da
Refactoring. Mostly short->long replacements for various buffer sizes.
2011-01-28 17:12:22 +00:00
dimitr
20eb1c8bfc
Finalize my prior commit.
2011-01-28 16:07:08 +00:00
dimitr
cdeed9d652
Favor a direct call instead of dealing with information buffers.
2011-01-28 15:54:28 +00:00
hvlad
b512958a44
Fixed bug CORE-3315 : Audit plugin records a sencond *FAILED* EXECUTE_STATEMENT_FINISH after a "normal" one
2011-01-28 10:27:11 +00:00
firebirds
818d5a691b
nightly update
2011-01-28 03:17:09 +00:00
asfernandes
248ddfa04a
Misc
2011-01-28 00:58:32 +00:00
alexpeshkoff
742b308173
Avoid to early shutdown of engine
2011-01-26 18:06:01 +00:00
dimitr
4a8b34fef7
Misc.
2011-01-26 11:20:01 +00:00
alexpeshkoff
eb11598570
Implement Thread::kill for posex threads. Do not support separate Thread::closeHandle - move it inside kill and waitForCompletion
2011-01-24 16:36:29 +00:00
hvlad
1e6135ec40
Fixed main reason of AV at engine DLL unload time. More fixes will follow soon.
2011-01-24 13:20:25 +00:00
hvlad
dca44e309d
Make it compiles on Windows after Alex's changes. MSVC10 build will follow later.
2011-01-24 12:51:32 +00:00
hvlad
8e47db4154
Warning
2011-01-24 12:43:04 +00:00
asfernandes
f0586b01eb
Refactor DSQL's nod_join and nod_union.
2011-01-22 20:40:04 +00:00
asfernandes
ffb28dfc3d
Misc
2011-01-22 17:15:52 +00:00
firebirds
5f1c19f539
nightly update
2011-01-22 03:26:36 +00:00
alexpeshkoff
f89ac854ef
Getting ready to use 32 (not 31) page and transaction numbers
2011-01-21 17:55:04 +00:00
alexpeshkoff
7ccb8e73c7
Better logic when working with flags in case of i/o error. Enhanced diagnostics.
2011-01-21 16:35:24 +00:00
asfernandes
1a2710c153
Fix recursive query with ORDER BY.
...
It was broken since Aug-2010 with commit "Refactor nod_rse, nod_relation,
nod_procedure, nod_union, nod_aggregate and nod_window."
2011-01-21 15:06:26 +00:00
firebirds
7130421c45
nightly update
2011-01-21 03:28:15 +00:00
firebirds
c50d7459fc
nightly update
2011-01-20 03:20:31 +00:00
dimitr
def057b0e2
Fixed a small regression caused by myself.
2011-01-19 05:47:11 +00:00
firebirds
20b3d67eb0
nightly update
2011-01-19 03:17:13 +00:00
firebirds
1366d72e62
nightly update
2011-01-18 03:32:00 +00:00
alexpeshkoff
86df15917b
Fixed calling conventions in interfaces - thanks to Dmitry Kovalenko
2011-01-17 14:13:57 +00:00
alexpeshkoff
ddaddccb97
Fixed bug, found by Adriano - destructor of statically allocated factory should better never be called
2011-01-17 12:17:24 +00:00
firebirds
5a8ef6a5ab
nightly update
2011-01-17 03:17:16 +00:00
dimitr
46ef6561a4
Misc.
2011-01-16 08:42:42 +00:00
firebirds
b0c2d609bf
nightly update
2011-01-16 03:17:11 +00:00
asfernandes
233093cee4
Misc
2011-01-16 02:16:15 +00:00
firebirds
469c770b2f
nightly update
2011-01-15 03:18:57 +00:00
alexpeshkoff
d6fcde387b
New plugin manager. Use it for all types of plugins.
2011-01-14 17:31:40 +00:00
dimitr
1f5e2c7d4e
Tuned the code a little in order to avoid redundant retrievals. As a side effect, it downgrades three-way joins to two-way ones, thus helping the optimizer to choose a good plan in the worst (zero selectivity) cases. This should resolve CORE-2933 (Very slow execution of a script that creates a lot of metadata) and CORE-3237 (Slow compilation of stored procedures) without tweaking the optimizer constants.
2011-01-14 06:51:51 +00:00
firebirds
a4796cfb84
nightly update
2011-01-13 03:17:35 +00:00
firebirds
542a6e2898
nightly update
2011-01-12 03:17:17 +00:00
firebirds
9dbdcbbbd2
nightly update
2011-01-11 03:18:01 +00:00
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