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

207 Commits

Author SHA1 Message Date
asfernandes
75af3ccf65 Misc/cleanup 2010-06-22 00:53:35 +00:00
asfernandes
12079f5ece Created class BlrWriter and reorganization (move BLR generation from statement to scratch) 2010-06-17 01:18:40 +00:00
asfernandes
a9adf6d626 1) Refactor PSQL support in DSQL. This started as subprocedure implementation, but I'm now separating things.
2) Fix thrown of isc_bad_default_value
2010-06-15 16:07:58 +00:00
asfernandes
0c47a04538 1) Use RAII with the non-cached requests.
2) Change GPRE generated code to something that fits the future SMP-aware engine, replacing calls of "request = CMP_compile2(...)" by "request.compile(...)". Boot build required.
2010-04-19 22:49:18 +00:00
asfernandes
fc432dc572 Correction to my last commit 2010-03-21 02:27:54 +00:00
asfernandes
f2dcf72838 Fixed CORE-2923 - Problem with dependencies between a procedure and a view using that procedure. 2010-03-21 02:01:59 +00:00
asfernandes
e992be2595 Hope this fix the DDL problem reported by Ivan Prenosil 2010-03-06 19:10:48 +00:00
asfernandes
9c1bab1793 Feature CORE-1385 Identity columns - in its basic form 2010-01-13 19:14:15 +00:00
asfernandes
cdb6af0ba8 Misc 2010-01-10 17:35:11 +00:00
asfernandes
c3f9ef27e8 Refactor CREATE GENERATOR/SEQUENCE 2010-01-10 17:32:40 +00:00
asfernandes
37624273b6 Throw trigger creation exceptions like in previous versions 2010-01-10 16:39:56 +00:00
asfernandes
a2359fc3f2 Support for new types and support for getters in ResultSet 2010-01-03 20:56:39 +00:00
asfernandes
7ff112a901 Some syntactic sugar 2010-01-03 00:19:14 +00:00
robocop
a2f34c1dbc Put more strings into the msg db. 2010-01-02 09:42:09 +00:00
asfernandes
e13a0e3865 Misc 2010-01-01 20:23:52 +00:00
asfernandes
f7e2c38f14 1) Write the function return type as domain, like the parameters. 2) Fix storeGlobalField to always store RDB. 2009-12-31 14:58:12 +00:00
asfernandes
1cb7ba068e Try to collect function signatures like procedures. Not good yet. 2009-12-30 14:50:18 +00:00
asfernandes
29df794a24 Fixes and completions for packages 2009-12-29 15:27:58 +00:00
asfernandes
534b8c020e Misc 2009-12-25 19:29:58 +00:00
dimitr
2702907c88 We don't need an EOS slot for PSQL functions. 2009-12-25 11:16:20 +00:00
dimitr
e3a3594f12 Corrections. 2009-12-24 12:02:29 +00:00
robocop
cd4c00ab21 Misc. 2009-12-24 10:42:32 +00:00
dimitr
288956c8d0 Corrections. 2009-12-24 10:32:54 +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
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +00:00
dimitr
1f3694c903 Support for PSQL functions (only the DSQL part so far). Still work in progress. 2009-12-21 17:23:07 +00:00
asfernandes
985bc2db87 Separate the scratch, statement and request flags. Don't ask me why I didn't change them to bools. 2009-12-20 22:42:43 +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
0d0cecce90 Changed parameters to unsigned; Misc 2009-12-19 15:00:18 +00:00
asfernandes
e386c68e8e Misc 2009-12-17 23:59:07 +00:00
robocop
5f7d45be9b Make more error messages non-hardcoded. 2009-12-17 10:50:40 +00:00
robocop
12823de46d I'll put this code to test when I find a suitable syntax to push comments. 2009-12-16 09:34:25 +00:00
asfernandes
914ef4ca97 Front-port fix for CORE-2804 - Problems with COMMENT ON and strings using introducer (charset) 2009-12-14 15:16:55 +00:00
robocop
271560ff91 Make clearer that we are working with binary, untranslatable blobs. 2009-12-07 05:32:08 +00:00
asfernandes
fbcaf72adf Move and rename methods 2009-12-06 19:11:25 +00:00
asfernandes
43a6918fe3 Fix possible problem with the transliteration buffer size - thanks to Claudio 2009-12-06 13:51:03 +00:00
robocop
85540e5b0e Misc. 2009-12-06 11:21: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
robocop
f955568fc9 The architect created ODS12 and saw it was good, then he said "thy shall be the only one among your race", dropped the older ones and sent the developers to the four corners of the cyberspace to convert the masses to ODS12. 2009-11-27 02:33:40 +00:00
alexpeshkoff
0767839ae5 Fixed CORE-2768: ALTERING OR DROPPING PROCEDURE which has type of domain parameter leads to attempt to delete that domain 2009-11-26 15:54:54 +00:00
asfernandes
200a63b1b4 Reduce usage of legacy (and unsafe) nodes related to PSQL parameters and variables.
Use btyacc feature "inherited attributes" (kind of parameters for non-terminals).
2009-11-21 20:42:27 +00:00
robocop
9ce4040042 Replace the now obsolete dbb_minor_original by dbb_minor_version. 2009-11-18 12:02:00 +00:00
asfernandes
4a3d198ade Misc 2009-10-31 01:46:06 +00:00
robocop
b304b96224 Misc. 2009-10-30 10:43:42 +00:00
asfernandes
1960c5ce64 Misc 2009-10-27 14:58:54 +00:00
asfernandes
55449dfb6a Misc 2009-10-27 14:50:15 +00:00
asfernandes
7cf7defc37 Misc 2009-10-24 18:38:25 +00:00
asfernandes
36b42645bc Fix problem detected by Dmitry, were RDB$PROCEDURE_PARAMETERS.RDB$COLLATION_ID was not being written 2009-10-23 15:13:34 +00:00
asfernandes
8e2abd22e4 Be consistent and run AFTER ddl-triggers before release the savepoint. Should not change functionality, as there is already a savepoint created by DYN. 2009-10-23 14:41:40 +00:00
asfernandes
dc5edd5aed Misc 2009-10-23 00:42:40 +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
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
robocop
665c887e53 Style. 2009-01-05 08:48:32 +00:00
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +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