asfernandes
88495f2e92
Fixed CORE-2584 - Wrong results for CASE used together with GROUP BY
2009-08-06 02:32:56 +00:00
hvlad
9a749a272f
Implement improvement CORE-2452 : Add Role Name in input parameters for EXECUTE STATEMENT
2009-05-14 10:21:47 +00:00
asfernandes
c986de33a2
Misc
2009-04-22 01:58:40 +00:00
robocop
74537636b9
Comments.
2009-04-18 14:13:26 +00:00
robocop
b627ad2a39
Style.
2009-01-07 09:30:57 +00:00
robocop
8dca837420
Style.
2009-01-06 05:53:34 +00:00
asfernandes
41b4b3ab8d
Fixed CORE-2227 - Problem with column names with Accents and triggers.
...
Thanks to Alex for makefile fixes!
2008-12-08 23:45:23 +00:00
asfernandes
db82e7cd6b
Misc
2008-11-06 00:23:21 +00:00
alexpeshkoff
d8ea120ded
AIX port - use FB_ prefix for alignment constants
2008-11-05 11:26:23 +00:00
asfernandes
774635c3a9
Fixed another case for CORE-1246 - Incorrect column values with outer joins and derived tables:
...
select t2.n
from rdb$database t1
left join (
select 11 n
from (
select 0 a
from rdb$database
) x1
) t2
on 1 = 0
;
was returning 11.
2008-10-04 02:48:35 +00:00
robocop
0c85fac2d4
CORE-1799: improve the almost useless "expression evaluation not supported" error message.
...
Did the DSQL part for now.
2008-09-27 09:51:53 +00:00
asfernandes
b550749a47
Fixed CORE-1246 - Incorrect column values with outer joins and derived tables
2008-09-07 19:44:48 +00:00
robocop
a6d4e3de82
Misc.
2008-09-03 12:18:59 +00:00
asfernandes
139e4f8ca9
Misc
2008-09-03 02:26:45 +00:00
asfernandes
9150e6f4f2
This should fix regressions related to fixes of:
...
CORE-501 - Optimization problem with COALESCE
CORE-1343 - Bug with a simple case and a subquery
CORE-2041 - update or insert with gen_id() with wrong generator value
And should fix this one (snapshot build bug):
CORE-2051 - don't work subquery in COALESCE
2008-09-01 13:18:02 +00:00
robocop
92f2d1dc1b
Misc.
2008-08-26 10:28:58 +00:00
asfernandes
e54682efa0
Fixed CORE-1343 - Bug with a simple case and a subquery
2008-08-21 01:58:53 +00:00
asfernandes
b910161f82
Fixed CORE-501 - Optimization problem with COALESCE
2008-08-20 01:54:45 +00:00
asfernandes
736659c1a1
Misc
2008-08-16 15:42:38 +00:00
asfernandes
5d4084d30c
Fixed CORE-2041 - update or insert with gen_id() with wrong generator value
2008-08-15 16:32:42 +00:00
alexpeshkoff
1785fb6ee3
fixing CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid
...
finished cleanup of vararg in error diagnostics in DSQL
2008-08-15 11:21:47 +00:00
asfernandes
45786da3bc
Misc
2008-07-06 16:42:52 +00:00
robocop
1d7bc9916b
Misc.
2008-07-03 07:12:36 +00:00
robocop
1ffc7a2291
Misc.
2008-07-02 09:46:44 +00:00
asfernandes
ce4bf91533
Misc
2008-07-01 01:12:02 +00:00
alexpeshkoff
a2e416210b
Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
...
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
asfernandes
d30d6410ea
Misc
2008-06-13 01:42:58 +00:00
robocop
30b5480c66
Move the new EXEC STMT functionality to a separate function.
2008-06-12 09:02:54 +00:00
hvlad
66fd7d5488
Make blr_exec_stmt extensible in the future.
...
Sorry, recompile of stored objects using new EXECUTE STATEMENT is necessary. Hope the last time ;)
2008-06-10 22:43:30 +00:00
dimitr
c639285420
Fixed the Linux build.
2008-06-10 03:31:19 +00:00
hvlad
5d9c430674
Implemented improvement CORE-1928 : Allow EXECUTE STATEMENT to inherit access privileges of caller stored procedure or trigger.
...
Allow to specify EXECUTE STATEMENToptional clauses in any (not fixed) order.
Use INTERNAL_PROVIDER for access to the current database by another user too.
2008-06-08 20:42:27 +00:00
asfernandes
552f58dd48
Misc
2008-06-06 02:25:35 +00:00
robocop
07c087094d
Mostly remove useless parentheses.
2008-06-03 06:14:59 +00:00
asfernandes
0d979e5b92
Misc
2008-05-28 02:11:00 +00:00
robocop
88859fdc51
Make operations a bit faster by enabling the vector to add an array of values in a single pass (the same idea as insert's overloaded version).
2008-05-25 12:16:20 +00:00
asfernandes
d4bf9ab246
Split dsql_req into dsql_req and CompiledStatement. This should be my last refactoring to 2.5:
...
- dsql_req becomes a running request;
- CompiledStatement is derived from dsql_req. The compilation state previously in dsql_req comes to here;
- Rename many "request" parameters to "statement" where type is changed from dsql_req to CompiledStatement.
This changes makes easy the path to support compiled statement cache.
2008-05-24 03:19:52 +00:00
asfernandes
d52dc96278
1) Move the new Node classes to appropriate files
...
2) Creation of StmtNode
3) Conversion of IN AUTONOMOUS TRANSACTION to InAutonomousTransactionNode (inherited from StmtNode) - it makes this feature almost self-contained
Please do a boot build or at least run blr_table.
2008-05-19 13:47:48 +00:00
hvlad
48f8d0ff80
Correct my mistake
2008-04-17 10:47:31 +00:00
hvlad
23dad7416f
Generate old blr codes (blr_exec_sql or blr_exec_into) if given EXEC STMT statement is compatible with old syntax. Per Adriano request.
2008-04-16 13:08:51 +00:00
robocop
4580126101
Do not use flags for values that are exclusive (can't be combined).
2008-04-16 10:38:08 +00:00
asfernandes
6e59d736df
1) Fix Linux build
...
2) Misc
2008-04-11 01:38:50 +00:00
asfernandes
0e8febd6e3
Misc
2008-04-10 02:35:30 +00:00
hvlad
fe3f8c184b
New EXECUTE STATEMENT with support of external data source implementation
2008-04-09 20:18:47 +00:00
dimitr
580544fbd7
More changes targeted to a better error diagnostics.
2008-04-04 10:01:06 +00:00
dimitr
e0feb6e228
Misc.
2008-04-01 12:56:30 +00:00
dimitr
30f7cce178
Fixed CORE-1811. A solution is to move the validation code from GEN to PASS1 in order to catch bad things earlier. This differs from the SAS solution, but hopefully it's more generic.
2008-04-01 06:11:29 +00:00
asfernandes
2e8bd421dc
Cleanup: do not replicate attachment charset info in DSQL
2008-03-01 19:32:16 +00:00
asfernandes
f49017d2ff
Misc
2008-03-01 15:08:11 +00:00
dimitr
99caa91b85
DSQL integration into the engine.
2008-02-28 13:48:16 +00:00
dimitr
c7db4d6a64
Get rid of DsqlMemoryPool.
2008-02-20 15:24:21 +00:00