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

97 Commits

Author SHA1 Message Date
asfernandes
49d1a73994 Get rid of upgradeInterface API method and some adjustments. To be continued. 2014-11-10 14:45:40 +00:00
alexpeshkoff
f2193f088e Fixed build errors 2014-10-16 10:36:23 +00:00
asfernandes
c642ddca82 Misc. 2014-10-12 02:25:02 +00:00
alexpeshkoff
153de0f271 Language independent API 2014-09-29 11:03:47 +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
alexpeshkoff
94f9a7e6e2 Make a dbCrypt sample a little more interesting 2014-08-25 14:04:50 +00:00
alexpeshkoff
900fb824fe Fixed CORE-4505: Use of named cursor fails if statement was not executed. Should also fix CORE-4489, but I cannot check. 2014-07-31 11:43:38 +00:00
asfernandes
fa0c3dd11c Misc. 2014-07-10 02:21:18 +00:00
alexpeshkoff
a9721f18e0 Added first parameter IStatus* to a lot of functions in API interfaces 2014-07-02 12:57:12 +00:00
mapopa
2adce12d57 FB_ALIGN is always defined in src/include/types_pub.h ((n+b-1)&~(b-1)) 2014-05-07 15:14:41 +00:00
mapopa
654c3562a3 cleanup VMS FB_ALIGN define 2014-05-07 14:51:49 +00:00
robocop
2810026363 Misc and warnings. 2013-12-29 00:35:50 +00:00
alexpeshkoff
9efc7cb4d2 It's better to always check isql return code 2013-11-20 12:03:22 +00:00
alexpeshkoff
b15fd23511 Very strange that it compiled and worked as expected with 2 unused and unneded lines of code 2013-10-17 13:22:32 +00:00
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