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
71bd20b209
Fixed CORE-1910 - Not valid fields in MERGE's insert clause are allowed
2008-05-23 01:37:19 +00:00
asfernandes
bdf999ddef
Slight more correct usage of scope level in MERGE
2008-05-23 00:38:06 +00:00
asfernandes
36e7ddd38c
Corrections
2008-05-22 23:19:09 +00:00
asfernandes
ffe554acc1
Misc
2008-05-21 16:04:10 +00:00
asfernandes
d84c1c1d2f
Misc
2008-05-21 16:02:25 +00:00
asfernandes
725a100324
Correction - thanks to Claudio
2008-05-21 15:22:22 +00:00
robocop
83f77468a0
Misc.
2008-05-21 13:00:37 +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
asfernandes
e469bd562a
Cleanup on the "proc_flag" logic: store it on the request and changes when necessary.
2008-05-17 16:51:07 +00:00
robocop
e44a99f339
Style and minor cleanup.
2008-05-10 03:44:57 +00:00
asfernandes
90b3b08ca0
Fixed the problematic assert
2008-05-06 15:20:18 +00:00
hvlad
02f2cef2db
Update DSQL_pretty to print nod_src_info contents even more correctly :) Noted by Adriano. Also make DSQL_pretty to not loop endlessly on nod_return.
2008-05-01 07:26:53 +00:00
hvlad
7667d6e88f
Update DSQL_pretty to print nod_src_info contents correctly
2008-04-30 20:03:40 +00:00
asfernandes
882e71fa81
Put nod_auto_trans in DSQL_pretty - noted by Claudio
2008-04-15 15:19:20 +00:00
asfernandes
77e97a47c0
Feature requests CORE-1737 and CORE-1803:
...
1) ALTER CHARACTER SET <charset> SET DEFAULT COLLATION <collation>
2) CREATE DATABASE ... [ DEFAULT CHARACTER SET <charset> [ COLLATION <collation> ] ]
2008-04-15 02:18:38 +00:00
robocop
73093a8889
Mark dead code.
2008-04-14 13:01:54 +00:00
asfernandes
0ca6d7c20f
Use the collation defined in RDB$DEFAULT_COLLATE_NAME in strings constants
2008-04-12 22:26:24 +00:00
robocop
4de9c4050b
Use array notation.
2008-04-12 11:54:42 +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
robocop
cd9ede5768
Delete obsolete comment, fix indentation and style.
2008-04-09 13:47:15 +00:00
robocop
ee46acd6bc
Misc.
2008-04-03 13:17:32 +00:00
hvlad
2b7f14dc69
Fixed CORE-1817 : The RelaxedAliasChecking parameter has no effect concerning RDB$DB_KEY
2008-04-02 14:27:17 +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
21a13650eb
More problematic cases of CORE-1798 - thanks to Dmitry
2008-03-21 19:05:24 +00:00
asfernandes
3aca6f92b1
Misc
2008-03-21 02:42:24 +00:00
dimitr
13f5cc92e1
Major cleanup of the old-style blk and allocator-based blk_type.
2008-03-19 16:09:00 +00:00
robocop
3e724a9286
Misc.
2008-03-18 13:02:21 +00:00
dimitr
2c722e5854
Fixed the build.
2008-03-17 17:17:33 +00:00
hvlad
0170deaff3
Fixed bug CORE-1793 : AV at prepare of query with unused parametrized CTE
2008-03-17 10:27:01 +00:00
asfernandes
88b6f39f82
1) Restore logic of not handled exceptions
...
2) Initialize some status vectors
2008-03-03 00:47:04 +00:00
asfernandes
2e8bd421dc
Cleanup: do not replicate attachment charset info in DSQL
2008-03-01 19:32:16 +00:00
asfernandes
35688cd5d9
Cleanup: remove y-valve functions DSQL_CACHE and INTL_FUNCTION
2008-03-01 19:14:46 +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
asfernandes
ed51d0728b
DSQL sync. changes
2008-02-01 20:18:11 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
asfernandes
05b90fa684
Eliminate some warnings
2008-01-16 14:37:26 +00:00
dimitr
eac5ac337b
The merge continued.
2008-01-16 06:52:43 +00:00
alexpeshkoff
0a1e5de41c
Applied patch from Dmitry Kovalenko - some constness in DSQL
2007-12-11 15:17:35 +00:00
asfernandes
ad13b126d1
Misc
2007-11-30 00:35:44 +00:00
hvlad
c2800e66e8
Implement CORE-1625 : Implement new setting to relax strict SQL standard's alias checking rules
2007-11-29 17:53:38 +00:00
asfernandes
d8ab6f4b23
Fixed CORE-1624 - MERGE not correctly worked with parameters in MATCHING clause
2007-11-29 15:15:23 +00:00
hvlad
2b47bbe55b
Revert files back after wrong commit
2007-11-19 00:21:18 +00:00
hvlad
86f1141328
Execute statement with support of external data source
2007-11-18 22:59:20 +00:00
asfernandes
5d22a267ea
Fixed warning - thanks to Dmitry
2007-11-16 13:47:14 +00:00
alexpeshkoff
407cf7e1d8
Changes suggested by Claudio and Adriano. Further cleanup
2007-10-19 11:51:58 +00:00
alexpeshkoff
e4271ba6fa
Fixed CORE-1501: Wrong access to SLONG data in dsql_nod
2007-10-17 14:35:31 +00:00
asfernandes
944108171e
Use const in SysFunction as suggested by Dmitry Kovalenko
2007-10-12 20:25:04 +00:00