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

122 Commits

Author SHA1 Message Date
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
asfernandes
9fbee6b719 Misc. 2015-10-13 02:22:57 +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
dimitr
6ae3e2cbaf 1) Fixed CORE-4383: Index and BLOBs garbage collection doesn't work for update_in_place().
2) Applied the same approach to temporary GC records.
3) Refactored the Record class to avoid reallocations, to improve encapsulation and to simplify the code.
4) Slightly refactored UndoItem to isolate its logic from the Record class.
5) Reduced the in-memory size of the undo log.
6) Slightly better alternative to the legacy NULL reporting for outer joins.
7) Minor fixes and adjustments in BufferedStream.
2015-02-19 14:15:00 +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
asfernandes
40b38014e4 Misc. 2014-05-08 23:26:40 +00:00
alexpeshkoff
10346ce4bc Fixed CORE-2119: Use entries in restrict list of ExternalFileAccess parameter to mangle filenames with relative path, also fixed assertion and diagnostics related to EXTERNAL FILE tables 2014-04-22 13:37:14 +00:00
dimitr
111f71db83 Misc. 2013-08-21 07:19:43 +00:00
dimitr
8b0d65ca66 Fixed CORE-4168: Backup containing procedures or triggers that select from external tables cannot be restored with ExternalFileAccess=None. 2013-08-06 18:49:49 +00:00
dimitr
15e4367810 Small refactoring. 2013-03-17 17:35:53 +00:00
robocop
70d5ebdfdf - Got rid of the fixed array that kept the stream count in the first element and 255 streams after it.
- Changed streams from UCHAR to ULONG as Dmitry wanted
- Got rid of some redundant flags to indicate BLR level
- Misc changes (for example, converted to test for DBB_read_only in Database to a function)
- BLR v6 is left commented (waiting for a better solution to appear, if any exists)
- This change is not going to raise the engine limits until a solution is found to express more than 255 streams in BLR.
2012-04-12 09:02:13 +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
hvlad
fef1f49c94 Shared page cache implementation 2011-05-09 10:15:19 +00:00
alexpeshkoff
7ccb8e73c7 Better logic when working with flags in case of i/o error. Enhanced diagnostics. 2011-01-21 16:35:24 +00:00
asfernandes
3317eeeebc Refactor literal values. 2010-10-24 00:26:00 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
83d6a2f88c Restored a lot of changes, rolled back by me unintentionally 2010-10-12 11:36:51 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
robocop
98a2c6822d Warnings. 2010-09-24 09:53:51 +00:00
asfernandes
e9e3b57bc1 Fix Linux build 2010-05-22 02:19:01 +00:00
asfernandes
e37d097240 Misc 2010-05-22 02:00:45 +00:00
dimitr
d3f7b43c7e Let's calculate the exact cardinality for external tables. 2010-05-21 06:14:25 +00:00
robocop
be3660d221 Misc. 2010-03-07 04:30:35 +00:00
asfernandes
77a2706b73 Misc 2010-03-01 02:14:36 +00:00
alexpeshkoff
e5017f1a12 Extend format of firebird configuration file with a set of additional parameters for any parameter.
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
dimitr
11495a55fb Refactored the whole RSB stuff into classes. They're inside the /recsrc sub-directory now.
Fixed the layering for WITH LOCK and (partially) ANY/ALL predicates.
Cleaned up the outdated code that never worked (mapping DISTINCT to an index, some VMS remainings).
Wiped out a lot of the pre-ODS11 optimizer logic. Some minor adjustments there.
Re-implemented the full outer join from scratch. This resolves CORE-2678 (full outer join cannot use available indices).
Resolved CORE-2796: DB_KEY is always zero for external tables.
Implemented the core part of the scrollable PSQL cursors. Implementation is still incomplete, but ready for testing.
Some other changes I don't recall at the moment ;-)

WARNING! The engine may be unstable. Please email me about any issues found.
2009-12-09 18:45:44 +00:00
robocop
43962281d4 Misc and isolate the win9x code even more. 2009-09-02 04:23:02 +00:00
skidder
aca5a83a46 Fixed CORE-2609: Update support for Windows 98/ME and NT4.0 2009-08-30 19:00:46 +00:00
robocop
55a61db547 Style. 2009-08-23 07:31:48 +00:00
robocop
97c384d984 Comments. 2009-08-22 12:16:47 +00:00
robocop
d82f063395 Style. 2009-06-26 04:12:20 +00:00
asfernandes
e536cdbdb8 Use system constants 2009-06-06 18:28:29 +00:00
asfernandes
f8eb935eb7 Misc 2009-06-06 18:13:57 +00:00
robocop
c6106603df Misc. 2009-06-05 10:24:39 +00:00
hvlad
7c9a94b391 Implement sub-task CORE-1647 : Close external table's file even if it used by some cached (inactive) requests.
It also fixed bug CORE-2475 : External table data not visible to other sessions in Classic.
2009-06-03 09:59:45 +00:00
hvlad
903df425fc Implement improvement CORE-2492 : Work correctly with external tables larger then 2GB 2009-06-03 09:56:29 +00:00
robocop
2d7cb94844 Unused params
Some BLR checks
2009-04-28 13:08:04 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
robocop
e44a99f339 Style and minor cleanup. 2008-05-10 03:44:57 +00:00
robocop
ccaf157b4d Since all usages cast ext_filename to char*, I switched to it. 2008-04-22 11:27:42 +00:00
asfernandes
9a19c76ce1 Misc 2008-03-11 02:05:09 +00:00
robocop
b4091ac9a6 Make them explicit. 2008-03-10 08:16:57 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
alexpeshkoff
eea9070f48 Optimized RuntimeStaticstics (and related part of ThreadDb) for performance - some tests run 25faster 2007-12-03 15:46:39 +00:00
hvlad
c07e9c0f4c Misc 2007-03-22 09:26:08 +00:00
hvlad
9e34738813 Misc (replace 0 by NULL when necessary) 2007-03-20 14:26:10 +00:00