8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 08:03:03 +01:00
Commit Graph

170 Commits

Author SHA1 Message Date
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
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
dimitr
eac5ac337b The merge continued. 2008-01-16 06:52:43 +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
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
8c202cdd61 Fixed CORE-1378 - Domain names and charset issues 2007-07-24 16:28:08 +00:00
hvlad
671e59e993 Fixed bug CORE-1373 : Incorrect result of recursive CTE query when recursive member's SELECT list contains expression using self-referenced fields 2007-07-21 21:28:56 +00:00
robocop
5c152e5cfe Misc. 2007-07-08 08:43:30 +00:00
asfernandes
379ebc9ab6 Misc 2007-07-01 02:40:15 +00:00
hvlad
77a5e7498c Improve implementation of nod_src_info to avoid generation of additional blr_begin\blr_end pair 2007-06-29 10:22:50 +00:00
asfernandes
410b2809a1 Fixed CORE-1332 - Put the connection charset in sqlscale of blobs when appropriate 2007-06-28 15:27:28 +00:00
alexpeshkoff
86fa05c192 Misc 2007-05-28 12:46:15 +00:00
asfernandes
3431784b92 Misc 2007-05-27 00:37:39 +00:00
asfernandes
e705b335f8 Fix non-ASCII object names in:
1) aliases in PLANs
2) EXECUTE PROCEDURE
3) SELECTs inside procedures/triggers
2007-05-26 22:08:13 +00:00