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

147 Commits

Author SHA1 Message Date
aafemt
e20a3a4304 Fix variables' scope 2004-03-30 10:26:55 +00:00
robocop
faa41f7b3b Cleanup 2004-03-30 04:10:52 +00:00
robocop
1824343930 Cleanup.
Fixed a linking error with MSVC6, too.
2004-03-28 09:10:30 +00:00
alexpeshkoff
1e6c7b18e9 fixed problem with loop in includes 2004-03-22 11:38:23 +00:00
dimitr
441e9fbbd9 Correction. 2004-03-21 09:35:27 +00:00
arnobrinkman
b355d3411e 1) Fix bug with LEFT JOIN ViewX and where clause with ViewX.FieldX IS NULL
2) When FIRST / SKIP is used in a sub-query it may not be affected by conjunctions in higher contexts.
  Example (should return 1 row instead of 5):
SELECT * FROM
  (SELECT FIRST 5 SKIP 2 cs.* FROM RDB$CHARACTER_SETS cs)
WHERE
  RDB$CHARACTER_SET_NAME starting with 'D'
2004-03-21 02:07:48 +00:00
alexpeshkoff
7007d6f2a4 1. introduced Jrd and Ods namespaces
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
8630547081 Cleanup. 2004-03-20 03:07:21 +00:00
aafemt
e2c3431671 Fix double const 2004-03-19 11:27:28 +00:00
robocop
958f9e31aa Cleanup
A few new[] - delete[] pairs fixed.
2004-03-19 06:14:53 +00:00
skidder
341c37033d Fix SF#918653, nulls placement ignored with queries using UNION, GROUP BY and DISTINCT clauses 2004-03-18 19:19:30 +00:00
robocop
f58c769c37 Cleanup. In geeky words:
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
alexpeshkoff
67f1740fea Various cleanup to make engine compile and work after mentioned earlier changes.
Mainly:
1) MemoryPool* => MemoryPool& in arrays' constructors
2) use Firebird::string to keep strings data
2004-03-14 13:40:14 +00:00
skidder
f015557545 GCC doesn't consider double const a valid C++ 2004-03-11 05:41:51 +00:00
robocop
2ab1f94dd2 Cleanup
Some minor corrections
Second step to rename
2004-03-11 05:04:26 +00:00
dimitr
9e5b3ef1a1 Added short-circuit optimization of user-supplied plans. Call find_best() exactly number-of-stream times. 2004-03-07 15:13:53 +00:00
robocop
e6187cecd2 Cleanup
Some bug fixes
Style
2004-03-07 07:58:55 +00:00
skidder
dc7aab8f9c Fix up exception handling. Handle (do not ignore) std::bad_alloc and generic exceptions, provide syscall and error information in system_call_failed 2004-03-01 03:35:23 +00:00
robocop
5c3c8abd9a Big cleanup.
God have pity on platform maintainers.
I only can compile/test Win32; sorry, folks.
2004-02-20 06:43:27 +00:00
robocop
663e3b16e7 Cleanup 2004-02-02 11:02:12 +00:00
robocop
2b295a9108 General cleanup. Sorry if I missed some occurrence. 2004-01-28 07:50:41 +00:00
skidder
08eee5ebaa Further AMD64 fixes. Given this fixes you may start playing with databases using isql_static. 2004-01-21 07:18:30 +00:00
robocop
b441cd9aef Cleanup 2004-01-13 09:52:19 +00:00
dimitr
64a481346f Fixed recently introduced regression. Never rely on vector data pointers after a grow() call. 2004-01-11 12:28:06 +00:00
skidder
f13d160aa5 Fix resource leak for recursive procedures when procedure request is closed at
SUSPEND statement. This leak prevented more then 1000 such operations for one connection.
This bug was reported by Claus Holst
2004-01-10 01:48:46 +00:00
skidder
09214e8669 Use backward-compatible default nulls ordering for old ODS as suggested by Dmitry Emanov to preserve backward compatibility 2004-01-08 21:29:34 +00:00
robocop
fd93837ec3 Cleanup:
const correctness
BOOLEAN -> bool
Vars in scope
Formatting
JRD_REQ -> jrd_req*
JRD_TRA -> jrd_tra*
JRD_REL -> jrd_rel*
JRD_FLD -> jrd_fld*
event -> event_t, EVENT_T dropped, EVENT should go in the future
Frank's corrections
alice's STR -> alice_str*
remote's STR -> rem_str*
etc.
It creates entities and backups and restores for me. :-)
2004-01-03 10:59:52 +00:00
skidder
d7fb2d6cb3 Integrate new LIKE/STARTING WITH/CONTAINING algorithms into the engine. This has following impact:
1. String functions now search BLOBs correctly
2. Their performace is improved
3. Fixed crash when NULL is passed as escape value to LIKE
2003-12-27 04:37:23 +00:00
robocop
ad0b5c4de3 General cleanup 2003-12-22 10:00:59 +00:00
skidder
e216f1f09d Implement MSSQL-like (standard conforming) behavior regarding default nulls placement.
Thanks to Arno changes we can map default placement to indices directly for ODS11+.
This should close SF#225218
2003-12-21 02:34:34 +00:00
arnobrinkman
bcaa8859d3 Fix some descending bugs i created 2003-12-11 23:06:36 +00:00
robocop
d020ea5ca1 ping-pong cleanup: change one place and you have to change several others 2003-12-11 10:33:30 +00:00
arnobrinkman
ce69dfce07 Fix bugs created by myself and the problem (finally ;-) why descending indices were slower as ascending in some cases. 2003-12-04 00:22:12 +00:00
robocop
84062732d8 More cleanup 2003-12-03 08:19:24 +00:00
arnobrinkman
710037031f Enhanced Index Structure.
1) NULLs on top when sorting on ASC index, DESC stays the same.
2) Support for larger index lengths, can be up to 1/4 page size.
3) Store record-number on non-leafpages for faster lookup in many duplicates.
4) Jump-nodes for faster key-lookup in index on larger page-sizes.
5) Segment selectivity calculation added.
2003-12-01 02:37:25 +00:00
dimitr
d0ad504f5e Minor protection against improper index locks reference. 2003-11-23 17:54:59 +00:00
dimitr
4c0ce86c24 1) Fixed server crashes when a SP is used as inner stream in left joins
2) Fixed conjuncts out-of-limits issue
2003-11-18 16:54:01 +00:00
dimitr
e255304619 Fixed new bug with explicit plans. 2003-11-12 18:30:25 +00:00
brodsom
4285bc623c Removing gdsold.h and gds.h 2003-11-08 16:40:17 +00:00
robocop
db77ffa605 const correctness, variables in scope, cleanup, etc. 2003-11-07 08:06:35 +00:00
dimitr
ef3c1183cb Correction. 2003-11-06 16:21:59 +00:00
arnobrinkman
22e26c7dbf bugfix: A user specified PLAN with MERGE and JOINS crashed the server, noted by Dmitry.
simplified : PLAN MERGE (JOIN ..., JOIN ...)
2003-11-06 00:25:48 +00:00
brodsom
ff070a16a8 Replacing assert with fb_assert 2003-11-03 23:59:24 +00:00
skidder
7b99b8a57b Basic INTL cleanup.
- Rework (mostly undo) John's changes
- Some function type safety
- Make INTL OO layer very thin (this should slightly improve performance)
2003-11-03 17:14:45 +00:00
dimitr
0856425a57 no message 2003-11-01 10:58:44 +00:00
skidder
908ae98a75 Return engine to compilable state on Win32 after Dmitry's cleanup 2003-10-30 21:17:16 +00:00
robocop
9ead7a37b4 const correctness
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
2003-10-29 10:53:47 +00:00
skidder
33ae7c50cb Make Linux SS engine compile. Noted by Blas 2003-10-20 12:27:00 +00:00
robocop
1e75492a50 Style: make the code more readable, keep spaces around operators 2003-10-20 10:18:41 +00:00
skidder
d7e24011b7 Clean up optimizer 2003-10-17 20:29:52 +00:00