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

46 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
80e7651261 Fix warnings. 2021-12-24 11:57:57 -03:00
Adriano dos Santos Fernandes
00218503d6 Revert "Fix warnings."
This reverts commit 850e21a34c.
2021-12-24 11:55:23 -03:00
Adriano dos Santos Fernandes
850e21a34c Fix warnings. 2021-12-24 11:29:37 -03:00
Adriano dos Santos Fernandes
b76a05ee5f Fix memory leaks in external triggers examples. 2021-05-05 11:22:22 -03:00
hvlad
c4f67c04c2 This should fix non-MSVC builds 2020-07-13 13:19:44 +03:00
hvlad
204eb60fe7 Fixed bug CORE-6364 : Wrong reference counting in UDR trigger sample 2020-07-13 11:59:49 +03:00
Adriano dos Santos Fernandes
5de3c1f5a4 Misc. 2020-06-17 13:54:34 -03:00
Alexander Peshkov
2d2df601a3
None gmt fallback (#260)
Added new form of set bind: SET BIND OF TIME ZONE TO EXTENDED
2020-03-04 19:14:58 +03:00
AlexPeshkoff
460c7a9649 Fixed example 2019-11-15 14:44:01 +03:00
Adriano dos Santos Fernandes
de1c8e4aad Misc. 2018-03-09 00:07:14 -03:00
AlexPeshkoff
f989c6226b An example of accessing DECFLOAT data in UDR 2018-03-07 20:22:33 +03:00
asfernandes
e02bf841ad Move Helper class from UDR to the main interface header. Use proper (argh) ref. counting in the ExternalContext::get* methods. 2015-02-11 15:12:18 +00:00
asfernandes
69ccf374b7 Fix Windows (cmake only) build. Linux build currently is not using udr_plugin.vers when linking examples/udr. 2015-02-03 14:56:20 +00:00
asfernandes
157d5c4eb1 Split the UDR examples in multiple files to demonstrate how it should be done. 2015-01-26 14:52:54 +00:00
asfernandes
e9f74f04d1 Improvements to the UDR plugin. 2015-01-25 20:27:46 +00:00
asfernandes
c697a0268a Fixed problem of local templates being not allowed in pre-C++-11 code. 2015-01-18 14:53:06 +00:00
asfernandes
7f7887e895 Make UDR StatusType customizable. 2015-01-13 14:43:24 +00:00
asfernandes
b99311dd1e Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException). 2015-01-12 00:21:38 +00:00
asfernandes
49d1a73994 Get rid of upgradeInterface API method and some adjustments. To be continued. 2014-11-10 14:45:40 +00:00
alexpeshkoff
d513daa574 Divide IStatus information into 3 parts: errors, warnings and completion code.
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.

Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
asfernandes
768b79c361 Improvements and corrections to message builder and UDR. 2013-06-18 15:50:48 +00:00
asfernandes
fc9b47b63d UDR C++ interface and examples improvements. 2013-06-06 16:05:02 +00:00
asfernandes
4caf8d0d5b RAII improvements and better usage of initializer in UDR examples. 2013-06-03 15:24:44 +00:00
asfernandes
6aa9a5bf6c RAII usage in UdrCpp example. 2013-05-27 15:51:21 +00:00
asfernandes
cf42eaf4d5 Make the master interface available in UDR. 2013-05-23 15:53:06 +00:00
asfernandes
bdbd54b81e Improve external triggers messages to work by field name (instead of field order). 2013-05-22 15:44:05 +00:00
asfernandes
1e373aa1a7 Corrections. 2013-04-12 15:20:31 +00:00
asfernandes
e0567463bf Revert external routines to request-based (*) code, but now using a totally different internal approach.
* This is not ideal IMO, but much more easier to currently support stack traces, and domain's defaults and validations.
2013-04-11 15:44:17 +00:00
asfernandes
b9bc308a72 Work in progress fixing external triggers. 2013-03-23 21:12:27 +00:00
asfernandes
48fd751c6e Fixing FB_MESSAGE macro and external functions and procedures.
Isolate external routines them from request-based ones.
2013-03-04 01:42:58 +00:00
asfernandes
491fdd82b2 Unifying the external engines API with the new ones. 2013-02-15 02:48:54 +00:00
asfernandes
dc8e42e9bb Migrate external triggers to the new message-based style. 2013-01-29 01:21:32 +00:00
asfernandes
87ea81df34 Improvements to the UDR engines. 2012-06-05 15:31:32 +00:00
asfernandes
4a431dd696 1) Change UdrCpp triggers macros to match procedures and functions - first phase.
2) Adjustments to procedures and functions.
2012-05-29 16:02:39 +00:00
asfernandes
cd7c8dee95 Use the BLR message definition of external procedures and functions. 2011-07-10 01:23:53 +00:00
asfernandes
4f5dd005ac Work in progress on message-based external functions and procedures. 2011-06-26 15:57:55 +00:00
robocop
5ad96271e6 Misc. 2011-06-24 06:34:16 +00:00
asfernandes
5ffa6c77c8 Move v3 public include files to src/include/firebird. 2011-06-02 15:57:08 +00:00
asfernandes
7ad98cd292 Work in progress on the external engines API changes. 2011-06-01 01:44:54 +00:00
alexpeshkoff
4641d2de68 Better interfaces hierarchy: all of them are derived from IVersioned 2011-05-19 16:24:46 +00:00
asfernandes
983686d71c Added IRoutineMetadata to external engines.
Not well tested:
1) EE is broken after shared page cache.
2) Semantics of addRef/release still keeps changing in developers minds.
2011-05-15 15:37:11 +00:00
asfernandes
69dc52ba48 Integrate IAttachment and ITransaction in the external engines API. 2011-05-07 19:52:44 +00:00
asfernandes
d6fb4233c1 Fix memory leak found by Claudio 2009-11-02 14:47:09 +00:00
robocop
98d9ab7534 Correction. 2009-11-02 09:31:15 +00:00
asfernandes
80a1b659b1 New example/test function 2009-11-01 05:39:56 +00:00
asfernandes
0145996fb6 - 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:50:07 +00:00