8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 06:43:04 +01:00
Commit Graph

253 Commits

Author SHA1 Message Date
Adriano dos Santos Fernandes
d8fea3ec91 Avoid method calls in NULL objects.
It's undefined behavior even with non-virtual methods not accessing *this.
2017-06-09 17:10:46 +00:00
3897136029 Fixed deadlock introduced by me half-a-year ago 2017-05-19 17:29:17 +03:00
028248b194 Merged changes from master branch 2017-02-16 17:56:23 +03:00
Ilya Eremin
fb18e52fe8 Hiding password in fbtracemgr arguments from ps (#79) 2017-02-08 14:05:30 +04:00
hvlad
415fdc4273 Fixed bug CORE-5476 : Trace shows info only after 2nd (repeated) .sql run (FB must be restarted before this) 2017-02-04 00:50:59 +02:00
4da3997b49 Fixed CORE-5472: Problems with dbcrypt key transfer 2017-01-31 17:38:53 +03:00
d88c5ac3cb Fixed CORE-5452: Segfault when engine's dynamic library is unloaded right after closing worker threads (GC and/or cache writer) 2017-01-13 14:29:27 +03:00
5aede150e3 Decimal floating point numbers - first draft 2016-11-11 17:59:55 +03:00
70912f2d1f Postfix for CORE-5269, fixed SS case, thanks to Pavel 2016-08-05 14:01:20 +03:00
9d8b20a77e Fixed CORE-5269: FBTRACEMGR should understand "role <name>" command switch (needed to explicitly connect with role with "TRACE_ANY_ATTACHMENT" privilege) 2016-08-03 16:35:38 +03:00
1c920ac578 Fixed CORE-5278: A number of SPB parameters fail in FB 3 & 4 2016-06-15 19:16:29 +03:00
hvlad
e37cea3e6a Fixed bug CORE-5273 : Crash when attempt to create database with running trace 2016-06-15 18:10:12 +03:00
7ad99b795e Added support for system privileges 2016-05-31 20:07:08 +03:00
Dmitry Starodubov
6347882209 Simplified passing variables to sub-make. Move functions from "fb_io" namespace to "os_utils" (#30) 2016-05-30 17:50:02 +03:00
Dmitry Starodubov
c3722be6de Added LSB compliance (#28) 2016-05-25 15:14:01 +03:00
cee67bffae misc 2016-04-25 18:38:18 +03:00
asfernandes
85cae875bf Misc. 2015-11-18 01:10:08 +00:00
hvlad
af286a2520 Additional means to avoid crash\hangup when application unload fbclient.dll not calling fb_shutdown.
Fixed reason of 500 ms delay experienced by such applications (described by Arno in fb-devel).
Fixed missing assignment of thread priorities.
2015-11-03 09:12:12 +00:00
dimitr
4e4d8002e5 CORE-4965: Extend the transaction ID space beyond 2^32 transactions. Initially developed in the v2.5 custom branch, then reworked and now merged into v3.0. 2015-10-19 13:32:02 +00:00
alexpeshkoff
139331c7e3 Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
hvlad
363c0fae9b Fixed bug CORE-4889 : FBSVCMGR with action_trace_start prevents in 3.0 SuperServer from connecting using local protocol 2015-08-12 08:58:41 +00:00
asfernandes
e973c86bc6 Misc. 2015-07-12 20:10:49 +00:00
alexpeshkoff
b692e85f56 Implemented CORE-4851: Apply methods, used for cross security database authentication, to the trace 2015-06-30 16:01:10 +00:00
asfernandes
336456d140 Misc. 2015-03-28 00:36:04 +00:00
alexpeshkoff
16768b177d Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry 2015-03-27 17:51:19 +00:00
alexpeshkoff
e7663b6bc0 Use status interface instead plain status vector when working with exceptions.
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
asfernandes
b7b3fe4718 Corrections. 2015-03-21 18:38:48 +00:00
alexpeshkoff
c4c9daf132 Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods. 2015-03-20 18:02:30 +00:00
robocop
939feab036 Misc. 2015-03-13 15:26:22 +00:00
alexpeshkoff
7fed9ff78c cleanup 2015-03-05 16:18:46 +00:00
asfernandes
47f64b0da4 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.

(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54 Revert my last change after it broke the Windows build. 2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
hvlad
a0cee158a0 Make shared memory header same size independent on OS.
Introduce shared memory header version.
2015-01-22 10:35:57 +00:00
asfernandes
2a857cb415 Misc. 2015-01-15 01:17:27 +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
starodubov
13c911f47e Revert fix for CORE-4654, because it depends on unsupported compiler 2014-12-29 12:00:05 +00:00
starodubov
a8c8f22de0 Fixed POSIX build (CORE-4654) 2014-12-29 10:56:35 +00:00
asfernandes
d8a0ff5f4b Generate interfaces with I-prefix. 2014-12-19 15:24:44 +00:00
alexpeshkoff
c14a1210b0 Work in progress on CORE-3632: make all file descriptors, opened by firebird, close on exec() 2014-12-17 14:31:02 +00:00
hvlad
d5c08a9fd0 Move ConfigRoot from common to the yvalve. Add its methods to the public interface ConfigManager.
Now all plug-ins have the same root\install folders.
It should fix CORE-4581 and related issues.
MSVC10 and MSVC12 builds are updated, Posix and Darwin builds will follow.
2014-11-26 09:45:42 +00:00
asfernandes
dddfb50e19 Misc. 2014-10-12 18:47:08 +00:00
hvlad
b6b26d0091 Warnings. Misc. 2014-09-30 19:38:35 +00:00
alexpeshkoff
5ccc32e0ed Better place for trace-related constants, thanks to Vlad 2014-09-30 15:04:14 +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
dimitr
36af3d8cb2 Cleanup and small refactoring to avoid redundancy. 2014-08-15 14:19:02 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00
alexpeshkoff
a9721f18e0 Added first parameter IStatus* to a lot of functions in API interfaces 2014-07-02 12:57:12 +00:00
alexpeshkoff
f1e3ba674b Fixed CORE-4475: attempt to create lock files directory fails during cleanup 2014-06-30 11:45:53 +00:00