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

486 Commits

Author SHA1 Message Date
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
8ed7e4a7c4 Postfix for CORE-4506: forgotten to release request 2014-08-20 09:26:47 +00:00
alexpeshkoff
0822c657d8 Fixed CORE-4506: Firebird server crashes when execute most of "show ..." commands after reconnect 2014-08-19 09:53:42 +00:00
alexpeshkoff
532181a7f9 Renamed as suggested by Nickolay and Dmitry 2014-07-28 13:01:10 +00:00
alexpeshkoff
4bdc2a3e19 Replaced macro FB_ALIGN with function fbAlign, minor related cleanup 2014-07-24 06:41:38 +00:00
asfernandes
86487fda92 Misc. 2014-07-20 02:19:06 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
alexpeshkoff
5bfe0dfa97 Fixed some errors in mapping code, reported by Vlad privately, when using serverwide auth plugin 2014-04-15 12:18:28 +00:00
robocop
08e41c696f - I was caught by a null pointer due to an error reported by the engine in embedded mode. I prefer the code generated by gpre to be redundant for now.
- When starting multiple txns, the code was printing the next, not the current in the loop.
2014-03-11 06:19:44 +00:00
robocop
8b8090027c Misc. 2014-03-11 06:12:13 +00:00
robocop
ae8f6d6b8f Misc. 2014-03-03 04:37:29 +00:00
robocop
fefc8f9d00 Corrections (PVS-Studio). 2014-02-22 07:09:47 +00:00
alexpeshkoff
26b090c93b Added access to configuration interfaces from IMaster and support for getting configured directories 2014-02-12 11:20:55 +00:00
robocop
5852ddbe2d Misc. 2014-02-06 06:53:12 +00:00
asfernandes
f3e7be12ba Misc. 2014-01-16 14:52:18 +00:00
hvlad
ac9e180d73 Adjusted MSVC10 build. 2014-01-16 11:41:46 +00:00
alexpeshkoff
949defe5e6 Implemented CORE-4317: Make ISQL use new object API with 32-bit length for object sizes (messages, SQL statements, etc.)
Implementation also includes changes in GPRE, but this utility is not complete - only commands, used in ISQL,
are working in code generator for new API.
New interface IUtl is added - it performs tasks, related with database objects (attachment, transaction, etc.),
but not requiring routing in YValve, i.e. client only tasks.
2014-01-15 13:02:08 +00:00
alexpeshkoff
d6297bebd4 Fixed some gcc warnings 2013-11-19 13:19:11 +00:00
alexpeshkoff
82f1524800 Fixed some more warnings 2013-11-18 14:56:14 +00:00
alexpeshkoff
3c564a1c0b Fixed warning "cast to pointer from integer of different size" 2013-11-18 13:44:35 +00:00
alexpeshkoff
8780552b94 Added support for changing configuration (client and embedded) from API 2013-04-04 13:17:57 +00:00
mapopa
54d714882c Cleanup commented code , was a wrong copy paste 2013-04-01 18:37:45 +00:00
mapopa
4d0d0317ea FLINT_CACHE was never used , dead leftover from ib 4.0 product years http://sourceforge.net/mailarchive/message.php?msg_id=5975155 (FLINSTONE is gone) 2013-04-01 17:54:03 +00:00
hvlad
166f168a6d Fixed boot build 2013-03-19 11:29:15 +00:00
alexpeshkoff
afa0770781 1. Fixed broken by me a few time ago server shutdown.
2. Implemented prototype of TLS-based debugging helper holding information about 'What does firebird do now?"
   Currently it's more or less ready for use with JAttachment::release().
2013-03-15 16:37:32 +00:00
asfernandes
1d1f81bdc9 Replaced ICoerceMetadata with IMetadataBuilder and add a builder creator method in IMaster.
This change is to make applications who define they own message format (without metadata inspection and coercion) to easily create its IMessageMetadata.
2013-02-20 19:41:01 +00:00
alexpeshkoff
6451897703 warnings 2013-01-08 16:03:41 +00:00
dimitr
3dd0507b96 Wiped out the code that never worked due to the missing support for native quads. 2012-11-01 01:36:27 +00:00
dimitr
9f2a992078 Implemented:
CORE-2780: Include client library version and protocol version in mon$attachments
CORE-2187: Return the Hostname in mon$attachments
CORE-3779: Report OS user name in MON$ATTACHMENTS
+ some cleanup.
2012-09-12 07:45:51 +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
robocop
9955049a0c Misc. 2012-04-10 01:41:32 +00:00
alexpeshkoff
4791e63ce2 MAC port. Also cleaned up one related place, where names of struct and variable were same (bstream) 2012-03-23 14:06:14 +00:00
asfernandes
1758b1fdbe Misc. 2012-03-10 15:37:52 +00:00
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
robocop
32712c2c40 Misc and cleanup 2012-01-27 09:10:12 +00:00
dimitr
08cff42833 Let's avoid duplication of shared constants. 2011-12-22 08:07:17 +00:00
alexpeshkoff
af4d1d87d6 Posix-only fix for CORE-3600: temp files fb_query_xxxx remains after ISQL has been closed 2011-10-05 09:59:34 +00:00
asfernandes
80f022faef Warnings. 2011-07-16 20:15:53 +00:00
alexpeshkoff
40348295e1 Used upgradeInterface() in a number of places.
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
asfernandes
5ffa6c77c8 Move v3 public include files to src/include/firebird. 2011-06-02 15:57:08 +00:00
asfernandes
19cbed237b Misc. 2011-05-21 18:56:02 +00:00
asfernandes
797d06f3ee Warnings. 2011-05-21 01:02:33 +00:00
mapopa
a3ddf4639d fix warning: using the result of an assignment as a condition without parentheses
note:place parentheses around the assignment to silence this warning
2011-05-20 09:13:23 +00:00
alexpeshkoff
ad7c2e8809 warnings 2011-05-19 17:09:44 +00:00
alexpeshkoff
4641d2de68 Better interfaces hierarchy: all of them are derived from IVersioned 2011-05-19 16:24:46 +00:00
alexpeshkoff
85b3b5cf95 Interface for 2PC (distributed transactions coordinator) 2011-05-19 11:38:38 +00:00
asfernandes
69dc52ba48 Integrate IAttachment and ITransaction in the external engines API. 2011-05-07 19:52:44 +00:00
alexpeshkoff
4c3f87d6bd Continued renaming interfaces. Added comments 2011-04-08 15:18:50 +00:00
alexpeshkoff
5c88e478f6 Use better names for a number of objects according to Vlad's suggestion 2011-04-07 17:16:00 +00:00
asfernandes
20bfe736bb New YValve implementation. 2011-04-02 19:38:50 +00:00