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

35 Commits

Author SHA1 Message Date
asfernandes
768b79c361 Improvements and corrections to message builder and UDR. 2013-06-18 15:50:48 +00:00
asfernandes
ddc4d4eac3 Misc. 2013-02-17 23:06:40 +00:00
alexpeshkoff
fc12495d0e Modified IStatement interface in our API:
1. Never allocate empty statement - always use att->prepare() to create statement interface
2. Separated IStatement into 2 parts - statement itself and resultset.
3. Added stmt->openCursor() (and att->openCursor() for unprepared statements) to create IResultSet.
4. Always use IMessageMetadata (former IParametersMetadata) to pass message fromat info from client,
   therefore avoiding need in BLR generation in client applications.
2013-02-17 12:08:53 +00:00
hvlad
670587f63b Use InlineStorage to avoid (costly) memory allocation. 2012-11-27 11:08:15 +00:00
asfernandes
595bc63f5b Improvements and correction to external routines. 2012-05-23 15:39:27 +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
robocop
d944111a47 I want to be able to pass const input params. 2010-01-06 12:53:23 +00:00
asfernandes
a2359fc3f2 Support for new types and support for getters in ResultSet 2010-01-03 20:56:39 +00:00
asfernandes
32baf214bb Always use the dialect 3 for system SQL queries 2010-01-03 18:23:22 +00:00
asfernandes
674c7293e3 Tweaks to PreparedStatement::Builder and support for output parameters (without "demo" code yet) 2010-01-02 21:46:11 +00:00
asfernandes
fc370c986e A new way to use PreparedStatement. That one preserves code readability and is very like the preprocessed code. 2009-12-31 17:08:07 +00:00
robocop
06a4224d0b Put class Attachment in its own files by brute force. 2009-12-25 09:55:05 +00:00
asfernandes
8968888820 Getters and setters for DsqlCompiledStatement and consts 2009-12-22 15:36:10 +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
robocop
61218fc348 Misc. 2009-12-20 09:19:15 +00:00
asfernandes
20ed875d57 Replaced linked list of dsql parameters by array 2009-12-19 18:50:38 +00:00
asfernandes
0d0cecce90 Changed parameters to unsigned; Misc 2009-12-19 15:00:18 +00:00
asfernandes
7a78601ef2 1) Use metadata character set in DSQL cache
2) Make exceptions in metadata charset and convert them to the client charset - this should fix CORE-2431
3) Support for "internal" (engine) DSQL statements and use in COMMENT ON
2009-12-05 14:21:52 +00:00
asfernandes
94f301541e Misc 2009-10-31 22:35:48 +00:00
robocop
07dc116ed2 Misc. 2009-10-30 10:50:59 +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
robocop
3343776e96 More unused params. 2009-04-28 14:13:46 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
hvlad
0b428d9b1b Fixed bug CORE-2036 : Parameters order of EXECUTE BLOCK statement is reversed if called from EXECUTE STATEMENT 2008-08-10 22:11:17 +00:00
robocop
c093ccd05b Little cleanup. 2008-04-10 13:06:34 +00:00
asfernandes
0e8febd6e3 Misc 2008-04-10 02:35:30 +00:00
hvlad
7688b2797a dsql_msg::msg_parameters was walked in wrong (reverse) order in PreparedStatement. This leads to "SQLDA missing or incorrect version" error. 2008-04-09 15:56:49 +00:00
asfernandes
2ca3d8b652 Use PermanentStorage as per Alex recomendation 2008-04-01 15:41:09 +00:00
asfernandes
d11b683899 Fix the pool usage 2008-03-31 01:51:18 +00:00
asfernandes
262dbadc4f Misc 2008-03-15 17:55:27 +00:00
robocop
b5e103c3f5 Misc. 2008-03-15 10:25:30 +00:00
asfernandes
44ec4fa0e3 Release the request when prepare throws 2008-03-14 15:59:12 +00:00
asfernandes
51990b2928 Correction 2008-03-14 14:39:48 +00:00
asfernandes
c7ec88bee4 1) Created classes PreparedStatement and ResultSet
2) Changed EXECUTE STATEMENT to use these classes
3) Fixed CORE-1784 - Error with EXECUTE PROCEDURE inside EXECUTE STATEMENT
2008-03-13 16:37:20 +00:00