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

99 Commits

Author SHA1 Message Date
robocop
9f687c39c4 Misc. 2010-04-29 05:13:03 +00:00
asfernandes
4763533669 Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
hvlad
fcbd9482f0 Fixed bug CORE-2907 : Exception handling with EXECUTE STATEMENT 2010-03-18 11:51:21 +00:00
hvlad
fd04d5f776 Fixed bug CORE-2920 : Incorrect execution of volatile SQL statements inside EXECUTE STATEMENT 2010-03-12 15:39:06 +00:00
robocop
446097fe8e Be explicit, change "qualifier" to "package" in QualifiedName (needed anyway if/when schemas are added). 2010-01-27 04:32:27 +00:00
alexpeshkoff
443f261abf Introduce isc_dpb_version2 - format is WideTagged. 2009-12-30 15:24:16 +00:00
asfernandes
82ccb81d3b Unify even more procedure and function handling. While at it, fix a wrong access to req_procedure when validating function. 2009-12-30 01:40:39 +00:00
asfernandes
d8c99a9be2 1) Make procedures and functions member of the same hierarchy (Routine class)
2) Some completion for external functions
2009-12-27 22:05:22 +00:00
asfernandes
d3ac9ac6cc More refactoring: name changes, accessors, consts, removed not good references (statement referencing scratch and metadata indirectly) 2009-12-23 00:57:08 +00:00
asfernandes
8968888820 Getters and setters for DsqlCompiledStatement and consts 2009-12-22 15:36:10 +00:00
dimitr
debe65bcfb Support for PSQL functions (other JRD changes). Still work in progress. 2009-12-21 17:43:01 +00:00
asfernandes
50542e3f00 Make dsql_req::statement constant 2009-12-21 14:56:12 +00:00
asfernandes
74972f5913 Consts 2009-12-20 23:41:48 +00:00
asfernandes
488eb40fe0 Refactor DSQL, continuing the work I started in 2.5:
- Renamed CompiledStatement to DsqlCompilerScratch and removed inheritance to dsql_req.
- Introduced DsqlCompilerStatement, moving things from dsql_req - not completelly shareable yet.
- Make dsql_req reference a DsqlCompilerStatement. DsqlCompilerScratch may be discarded in the future.
- Replaced AlterCharSetNode usage by PreparedStatement for the default collation in database creation.
- Changed METD API.
2009-12-20 21:01:10 +00:00
asfernandes
3f5aded4e3 Misc 2009-11-28 01:44:42 +00:00
robocop
d8a012014b Comments. 2009-11-27 08:34:34 +00:00
robocop
405d008606 Comments. 2009-11-25 09:34:43 +00:00
asfernandes
f2cd6b7ec2 Misc 2009-11-12 01:38:48 +00:00
robocop
94f1a728d6 Misc. 2009-11-06 05:58:57 +00:00
asfernandes
87e274b76a Misc 2009-11-06 01:21:14 +00:00
hvlad
bc9ad95c82 Fixed bug CORE-2731 : Recursive EXECUTE STATEMENT works wrong 2009-11-05 22:42:46 +00:00
robocop
55d60892ca Warnings. 2009-11-05 08:29:33 +00:00
hvlad
e079a00e67 Sorry, it was nedeed 2009-11-04 15:01:34 +00:00
hvlad
c6c7e64ed2 Remove uneeded Jrd:: 2009-11-04 14:52:32 +00:00
hvlad
b18ffff50c Fixed bug CORE-2729 : Current connection may be used by EXECUTE STATEMENT instead of creation of new attachment 2009-11-04 14:49:15 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
hvlad
9071ff2465 Use volatile for better thread-safety, noted by Adriano 2009-09-10 06:40:52 +00:00
asfernandes
3d4aec86e9 Misc 2009-09-10 01:31:49 +00:00
hvlad
738a3cd5d3 Fixed bug CORE-2600 : Server deadlocks while running a few remote EXECUTE STATEMENTs concurrently 2009-09-08 16:37:38 +00:00
robocop
98a5f2e6a4 Misc. 2009-09-03 11:17:46 +00:00
hvlad
41896eeba1 Fixed bug CORE-2252 : EXECUTE STATEMENT on EXTERNAL SOURCE does not check the status of the transaction 2009-09-02 10:46:43 +00:00
robocop
8ce0cf3e79 Style. 2009-08-16 05:25:30 +00:00
robocop
d19fd95de3 Style. 2009-08-05 06:35:01 +00:00
hvlad
88ba7de4f8 Use UCHAR instead of char for EDS::Blob, as Claudio suggest 2009-06-08 14:57:58 +00:00
asfernandes
8595742987 Misc 2009-05-20 00:45:45 +00:00
robocop
4d468895ea Misc & style. 2009-05-17 11:20:43 +00:00
asfernandes
c991e7d5cf Misc 2009-05-15 00:51:21 +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
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
asfernandes
e707efaa1d Misc 2009-04-16 01:09:12 +00:00
hvlad
2821d805da More correct fix for bug CORE-2420 : Parsing error in EXECUTE STATEMENT with named parameters. 2009-04-13 07:48:56 +00:00
hvlad
3d79776aed Fixed bug CORE-2420 : Parsing error in EXECUTE STATEMENT with named parameters 2009-04-12 19:52:41 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
robocop
a730fbf074 Get rid of more typedefs. 2009-04-03 10:07:55 +00:00
robocop
4480c7c405 Misc. 2009-04-01 10:49:54 +00:00
asfernandes
ed2536461d Misc 2009-03-14 19:17:34 +00:00
hvlad
4e0807690f Better fix for CORE-2183 : Error in ExtDS when server shutdown started with opened Execute Statement.
Make EDS handle broken connection properly
2009-03-13 13:17:20 +00:00
hvlad
a86decefb1 Remove wrong assertion. Correct error message 2009-03-01 10:22:49 +00:00
asfernandes
ad26f7a1e5 Misc 2009-02-11 15:24:03 +00:00
asfernandes
7ba3e7d0e5 Misc 2009-02-11 01:32:09 +00:00