8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00
Commit Graph

233 Commits

Author SHA1 Message Date
alexpeshkoff
0bee401fc9 fixed interface usage 2013-09-09 09:14:38 +00:00
asfernandes
21b23ef28d Misc. 2013-06-28 02:03:10 +00:00
alexpeshkoff
d272748f29 no more need in plan here 2013-06-26 07:17:20 +00:00
alexpeshkoff
d0136fb54e Examples reworked, added, commented better 2013-06-25 13:37:03 +00:00
alexpeshkoff
a0c505eb05 A sample of running prepared update statement multiple times. Based on old sample api3 with appropriate license. 2013-06-24 13:40:04 +00:00
alexpeshkoff
d7b6b83dfa Make sample buildable after API changes. Make it look a bit like old sample api3. 2013-06-24 12:36:14 +00:00
alexpeshkoff
3ab9a6bacc Example on how to create database and table 2013-06-24 12:26:02 +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
6e4fbfdba7 Changed package routines syntax to not need (nor accept) a semi-colon after "END". 2013-05-13 01:49:34 +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
alexpeshkoff
c18bbe99a2 fixed sample 2013-03-12 12:37:17 +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
alexpeshkoff
33b4336028 Enhancements of IMetadataBuilder 2013-02-21 14:59:24 +00:00
alexpeshkoff
0099e61d67 misc 2013-02-18 11:42:45 +00:00
alexpeshkoff
cc4b4195bb A sample of using OO API 2013-02-18 11:07:38 +00:00
asfernandes
491fdd82b2 Unifying the external engines API with the new ones. 2013-02-15 02:48:54 +00:00
alexpeshkoff
5aa85c8bba Fixed employee build - avoid CHECK constraint errors 2013-02-07 12:51:56 +00:00
asfernandes
dc8e42e9bb Migrate external triggers to the new message-based style. 2013-01-29 01:21:32 +00:00
mapopa
8f918288a8 Update salaries and the currency in the intl version for employee db 2012-11-09 14:56:42 +00:00
mapopa
0f1d1f2e80 use dialect 3 2012-11-09 14:37:38 +00:00
mapopa
69fe81bdca update currency cross rates to current ones 2012-11-09 14:28:33 +00:00
alexpeshkoff
f9297d19f1 Make example runnable with dialect-3 employee database 2012-11-09 13:35:53 +00:00
mapopa
6798bd4d5f adjust salaries to the Euro 2012-11-08 23:07:09 +00:00
mapopa
b77aee90d7 Update the countries with current currencies in example database 2012-11-08 20:35:08 +00:00
alexpeshkoff
052ec47f04 make example posix 2008 compatible - thanks to marius 2012-11-08 06:09:58 +00:00
mapopa
5b42a1b301 Replace Windows 3.1 with just Windows reference in comments and readme 2012-11-03 14:11:26 +00:00
mapopa
8568d6ffdc Remove old examples makefiles from interbase era 2012-11-03 13:45:25 +00:00
mapopa
aa332679c7 Remove Windows 3.1 clients reference from the readme 2012-11-02 10:58:40 +00:00
alexpeshkoff
57e187ad1d misc 2012-10-12 08:26:11 +00:00
robocop
f601bbdb8b Misc. 2012-08-08 02:20:30 +00:00
asfernandes
87ea81df34 Improvements to the UDR engines. 2012-06-05 15:31:32 +00:00
asfernandes
1dcad0fe90 Misc. 2012-06-03 03:00:24 +00:00
alexpeshkoff
2a01e4bcf9 Implemented CORE-3861: Make it possible to encrypt database
Also some cleanups, the most important are:                                                                                                                   
- meaningful ctor on Jrd::Lock, helping to avoid code dup                                                                                                     
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +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
7545b8d172 Make Linux build faster.
It seems the usage of databases with FW=ON in ext4 filesystems mounted with barriers=1 (default) is very slow.

This change decreased build time in my machine from 2m41s to 1m21s.
2011-08-21 04:11:41 +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
c9b8938854 Package example 2009-11-14 20:17:30 +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
aafemt
d1ea23b97e Use right allocation method 2009-11-01 16:40:08 +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
makowski
e549d13fd3 fixed destbufferoverflow in empbuild.e 2009-08-25 15:27:17 +00:00
dimitr
090ca7adc3 Fixed compilation of empbuild. 2005-12-09 10:17:25 +00:00
paul_reeves
df145c9168 Bring the instructions up to date 2005-03-01 14:42:27 +00:00
paul_reeves
7de72dd72a Bring employee database up to dialect 3 2005-02-08 14:55:23 +00:00
robocop
1a17862ca2 Clean the examples.
When the build scripts are revised, it will be able to check the changes.
2005-01-27 03:10:30 +00:00
robocop
9c89e129b5 Fixing the indentation a bit 2004-09-23 07:41:35 +00:00
aafemt
678ce54bfc Conform new events API type safety 2004-08-04 10:08:45 +00:00
aafemt
c8eb6d30ed Rollback some Blas' rash cleanup 2004-08-04 10:07:08 +00:00
brodsom
c45f1656e1 c++ comment in c source 2004-05-16 01:46:21 +00:00
brodsom
c2defdb5f7 Replace remaining gds.h 2004-04-25 23:11:11 +00:00
skidder
c64f31b712 Fix some warnings from GCC/Linux build. Some of them were subtle errors 2004-03-12 07:00:52 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
robocop
1f4d61e7a5 clean a bit this old example 2003-09-09 11:08:04 +00:00
robocop
64de36a97a Let's hope the cure is not worse than the sickness
Took VARY from ibase.h
2003-08-13 11:06:02 +00:00
brodsom
02685f4729 Remove make_empbuild from user examples, the datbases are included in the examples. 2003-07-16 18:54:50 +00:00
brodsom
d8097dbaf0 Use isql option to set character set from command line, to connect with a command line specified database with non default charset. 2003-07-16 18:49:59 +00:00
brodsom
b4d964154d Corrections 2003-07-14 09:21:01 +00:00
brodsom
db32e179be Correction 2003-07-11 13:34:19 +00:00
brodsom
1b351afee9 Move examples builds to examples directory 2003-07-11 13:31:08 +00:00
brodsom
e2d92197ab Let winevent with api examples 2003-07-11 10:55:24 +00:00
brodsom
e303e5df98 Update. 2003-07-11 10:07:46 +00:00
brodsom
56c67b5571 Correction 2003-07-11 03:25:22 +00:00
brodsom
503235ab00 Remove generated source 2003-07-11 03:10:09 +00:00
brodsom
d4917a3c65 Change DATE to TIMESTAMP 2003-07-11 03:09:06 +00:00
brodsom
781f95f13b Win32 code patches 2003-07-11 03:08:44 +00:00
brodsom
1a2c5693ef Win32 examples build scripts 2003-07-11 03:05:27 +00:00
brodsom
947eefac27 Moving firebird/src/v5_examples to firebird/examples 2003-07-10 23:04:39 +00:00