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

224 Commits

Author SHA1 Message Date
Dmitry Kovalenko
a6feb96f7d
[FB4] New OO-API example for restoring a database through server service. (#7871)
* New OO-API example for restoring a database through server service.

This example is based on one for backuping database through service created by Alexander Peshkoff.

* 14.restore.cpp was described in examples\readme file
2024-03-12 10:20:56 +03:00
AlexPeshkoff
5f2197f58e Fixed #8006: Int128 datatype not supported in UDR 2024-02-18 16:11:45 +03:00
AlexPeshkoff
2550bf5176 Misc 2022-06-27 18:51:01 +03:00
AlexPeshkoff
a4c675342f Fixed #7113: Wrong path in object pascal readme.md 2022-01-27 13:27:37 +03:00
Vlad Khorsun
95dc28709d Fixed build issues on win32 with ext auth samples 2021-12-31 17:00:40 +02:00
Vlad Khorsun
5d6b9c3557 Fixed build issues with ext auth samples 2021-12-31 17:00:40 +02:00
Adriano dos Santos Fernandes
bc4107c9c2 Fix MacOS UDR and Legacy_UserManager plugins not working due to not exported entry point. (#7088)
Add FB_DLL_EXPORT to public headers.

Use default visibility also for Linux/Unix (in addition to MacOS) as
user application can also be compiled with -fvisibility=hidden.
2021-12-27 08:29:04 -03:00
Adriano dos Santos Fernandes
a687278eb4 Use SDK 10.0 for VS >= 2019.
See https://developercommunity.visualstudio.com/t/windowstargetplatformversion-makes-it-impossible-t/140294#T-N548052
2021-11-14 20:59:32 -03:00
Adriano dos Santos Fernandes
e547eb6a10 Add support for VS 2022 build. 2021-11-14 20:56:28 -03:00
Adriano dos Santos Fernandes
c7d87029c3 Add support for VS 2019 build. 2021-11-14 20:56:28 -03:00
AlexPeshkoff
37b74081b0 Implemented #6959: IBatch::getInfo() 2021-09-20 18:46:19 +03:00
Adriano dos Santos Fernandes
cbeb526804 Fix error in batch example. 2021-08-19 15:08:20 -03:00
Adriano dos Santos Fernandes
b76a05ee5f Fix memory leaks in external triggers examples. 2021-05-05 11:22:22 -03:00
AlexPeshkoff
054431fce7 Implemented Batch::cancel() over the wire 2021-05-05 13:24:33 +03:00
AlexPeshkoff
d46b5182b2 Added dedicated method to close Batch interface with errors check 2021-05-04 14:20:32 +03:00
AlexPeshkoff
ebaf7d4dc9 This include is not needed any more 2021-01-08 17:44:25 +03:00
AlexPeshkoff
2adaef9aa0 Finished with warnings cleanup 2020-12-30 17:16:08 +03:00
AlexPeshkoff
c851e3d421 Make sample of key holder plugin partially usable when chaining plugins 2020-10-26 19:43:20 +03:00
1677359553
Replication plug (#280)
* Support for replication plugins + sample plugin
* Renamed TDBB flag
* Configurable replication errors handling
* Commit in two phases
* Move call to dispose() out of commit/rollback for code simplification
* A comment and manual fix for constant wrongly generated by CLOOP
* Log replication warnings as well
2020-09-18 11:45:51 +03:00
f222127d4f Be sure to actually use the tpb we have just declared. 2020-08-19 10:00:36 +02:00
e2842a1afd Add some object pascal examples of the OO API 2020-08-18 18:57:02 +02:00
e8fba1e1b5 Be sure to attach via localhost so that the example actually works 2020-08-17 17:02:09 +02:00
4df1cf4723 Use correct signature for ast_routine
Be sure to attach via localhost so that the example actually works
2020-08-17 17:01:54 +02:00
46838a8d32 Use single quotes 2020-08-17 17:00:43 +02:00
c88a2f3b19 Add script to remove blob filter created by api9f 2020-08-17 17:00:16 +02:00
928d508285 Restore (and update) makefile to build deprecated api examples 2020-08-17 16:59:30 +02:00
AlexPeshkoff
d9a6fa2aaa Fixed sample 2020-08-13 16:05:08 +03:00
31ca307fc8 Add makefile to build the OO API examples 2020-08-12 15:42:39 +02: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
Alex Peshkoff
a9cef6d9ae Implemented CORE-6320: Replace Util methods to get interface pointer by legacy handle with plain functions 2020-05-29 15:44:54 +03:00
Adriano dos Santos Fernandes
8ab6775b2d Fix AppVeyor x86 Linux build (x86 build in x64 OS). 2020-05-12 13:02:58 -03:00
hvlad
dfe7549efc MSVC14 build 2020-05-07 21:51:06 +03:00
hvlad
425eb5c6a4 Renamed exauth sample plugins\app.
Windows build for dbcrypt sample plugins\app.
Fixed dbcrypt sample app to compile on Windows.
make_examples.bat updated.
2020-05-07 18:41:27 +03:00
AlexPeshkoff
0fefff1944 Name change missed in my previous commit - thanks to D.Sibiryakov 2020-05-07 16:17:26 +03:00
AlexPeshkoff
0839d1c200 Reflect changed sample plugin names in posix built&install scripts 2020-05-07 13:22:19 +03:00
AlexPeshkoff
fae3ecb93e New names of plugins 2020-05-07 11:31:55 +03:00
AlexPeshkoff
1723b61ec0 An attempt to fix appveyor build 2020-04-27 14:24:24 +03:00
AlexPeshkoff
1b6b717f78 Place precompiled samples of plugins into binary package according to new rules 2020-04-21 18:58:37 +03:00
hvlad
5433b32d20 Windows build for ExtAuth sample plugin and its keygen 2020-04-18 19:26:55 +03:00
AlexPeshkoff
5d041851a0 Misc comment 2020-04-15 19:32:08 +03:00
AlexPeshkoff
4dffa04237 Added sample of changing returned by engine metadata and using changed metadata in Statement::execute() 2020-04-15 19:29:55 +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
92fbd23039 Fixed example - thanks to DS 2020-02-25 09:02:24 +03:00
AlexPeshkoff
8d32de94be Misc 2020-02-13 11:14:05 +03:00
AlexPeshkoff
57e7035411 Added a sample of authentication plugin based on shared secret key 2020-02-07 20:36:20 +03:00
Adriano dos Santos Fernandes
b2b5f9a87c Improvement CORE-6239 - Procedures and EXECUTE BLOCK without RETURNS should not be allowed to use SUSPEND. 2020-02-04 15:42:02 +00:00
AlexPeshkoff
460c7a9649 Fixed example 2019-11-15 14:44:01 +03:00
Adriano dos Santos Fernandes
fce84939b7 Revert events example to usable version. 2019-11-07 12:56:21 -03:00