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

167 Commits

Author SHA1 Message Date
robocop
582cdf185b Style. 2009-01-14 09:19:00 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
asfernandes
ccb27f8537 Misc 2008-12-21 20:06:02 +00:00
robocop
e63b46bb9c There's no need to check whether a pointer is null before applying delete or delete[]. 2008-12-21 03:50:29 +00:00
robocop
e0bc2dd4f5 Style. 2008-12-19 11:12:28 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
dimitr
4c81bd57bc Rolled back my yesterday's fix as totally wrong. Solution is to be re-considered. 2008-11-21 18:38:07 +00:00
dimitr
c77de9d428 Fixed CORE-2200: Extremely slow executing a cross join of 3 tables in Firebird 2.x. 2008-11-20 12:12:51 +00:00
dimitr
0a98a21456 Correction for one of my recent commits. 2008-11-15 09:30:35 +00:00
asfernandes
db82e7cd6b Misc 2008-11-06 00:23:21 +00:00
alexpeshkoff
d8ea120ded AIX port - use FB_ prefix for alignment constants 2008-11-05 11:26:23 +00:00
dimitr
a2eee6c085 Fixed CORE-2101: Bugcheck 249 when attempting to fetch outside the end-of-stream mark for the open PSQL cursor. 2008-10-08 11:59:56 +00:00
asfernandes
ac0bf90ad9 Improve my last changes 2008-09-15 00:07:43 +00:00
asfernandes
e4b67b05d7 Fixed CORE-2081 - RDB$DB_KEY in subselect expression incorrectly returns NULL 2008-09-14 02:56:35 +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
asfernandes
84da641b55 Fixed CORE-2034 - Problems related to CORE-1254 (Problem with DISTINCT and insensitive collations) re. UNICODE insensitive collations with DISTINCT or GROUP BY. 2008-08-08 01:44:42 +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
dimitr
310b59173e Misc. Let's handle req_rpb's consistently across the module. 2008-05-06 09:42:56 +00:00
alexpeshkoff
f0a837e63f Fixed CORE-1839: AV when sorting by field, calculated using resursive CTE 2008-04-16 12:11:29 +00:00
asfernandes
312a391d78 Misc 2008-02-26 02:23:28 +00:00
dimitr
306bda2dc4 Misc. 2008-02-24 11:37:05 +00:00
robocop
f8007f4071 Misc. 2008-02-24 03:23:40 +00:00
robocop
4c3381ef6b Style, constness and macro cleanup. 2008-02-03 10:41:44 +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
dimitr
6666fd1e4a The merge continued. 2008-01-16 09:48:41 +00:00
hvlad
d3c2482800 Fixed bug CORE-1649 : AV when recursive query used MERGE JOIN in execution plan 2007-12-12 09:01:52 +00:00
asfernandes
41faeba3cc Misc 2007-12-05 00:03:15 +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
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
dimitr
33fb126a74 Fixed CORE-1436. 2007-08-31 10:14:09 +00:00
dimitr
8aaef3c82e Fixed CORE-1419. 2007-08-27 10:18:40 +00:00
hvlad
671e59e993 Fixed bug CORE-1373 : Incorrect result of recursive CTE query when recursive member's SELECT list contains expression using self-referenced fields 2007-07-21 21:28:56 +00:00
hvlad
8ff8037331 Fixed bug CORE-1370 : Memory leak when using CTE within procedure 2007-07-21 20:47:02 +00:00
hvlad
385507c6e4 Restored accidentally broken alignment rules 2007-04-03 13:06:08 +00:00
hvlad
4ec502a7f6 a) Refactor sort module. All related sort_work_file management moved into TempSpace class now. Former sort_work_file is now TempSpace::Segment
b) Add parameter names to declarations of TempSpace methods. It make sources much more readable, i believe, and allow IntelliSense to make useful hints
c) Reworked sort module to use more memory for merge buffers. It significantly increased speed of large sorts. Memory mostly reused from TempSpace memory blocks
2007-04-03 12:57:32 +00:00
alexpeshkoff
9068d7787f Frontported alignment and endianess fixes from 2.0 2007-03-25 16:09:00 +00:00
hvlad
b3dcfede36 Close external table's file when relation is not used by the engine.
This is simplest fix for bug CORE-132 (Restore fails on external table) and CORE-961(Free external tables)
2007-03-19 21:34:52 +00:00
robocop
b94c6d20e5 Misc:
- DSC_EQUIV is no longer a macro; no need to wrap arguments in extra parenthesis.
- Make reinterpret's explicit.
- No need to cast dsc_address to UCHAR* since it's already of this type.
Hope I didn't screw someone.
2007-03-12 09:13:15 +00:00
dimitr
1b44f36eda Front-ported RISC-specific fixes. 2007-03-09 08:11:10 +00:00
asfernandes
2100a06c84 Make MOV_move know how to move blobs.
This fixes CORE-1147: Blobs are not converted to string in UDF parameters.
2007-03-02 00:46:03 +00:00
hvlad
af5ef6ad73 Fixed CORE-1146 : AV in rse\invalidate_child_rpbs for recursive queies 2007-03-01 13:34:44 +00:00
hvlad
2e343c74ef Implement improvement CORE-1069 : Optimize index scan when more than one index scanned and ANDed 2006-12-27 21:01:02 +00:00
dimitr
543fc5e0d1 Enabled rescheduling points for classic. It allows to shutdown database or cancel operation timely for a heavy loaded attachment. 2006-10-31 15:59:23 +00:00
asfernandes
feea41adb4 Misc 2006-10-18 20:25:26 +00:00
hvlad
6d7acf880b Fixed bug in recursive CTE implementation 2006-10-18 09:21:34 +00:00
hvlad
ba2836868f Fixed broken handling of recursive CTE's 2006-10-18 08:41:03 +00:00
robocop
870b1a0363 Misc. 2006-10-08 06:43:59 +00:00
dimitr
988782a96a 1) A new class to handle aggregated multi-level performance counters.
2) Cleanup and minor fixing.
3) A few monitoring changes.
2006-10-07 10:53:01 +00:00
asfernandes
5c26d54f02 1) Fixed CORE-899 - Problems with explicit cursors in unwanted states
2) Make RDB$DB_KEY in outer joins returns NULL when appropriate
2006-09-07 01:55:49 +00:00