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

221 Commits

Author SHA1 Message Date
robocop
7040d668fd Misc. 2006-05-25 08:40:23 +00:00
dimitr
006d5871b0 Restored my previous solution. The final decision is that NOT IN cannot be index-optimized reliably. 2006-05-24 13:19:33 +00:00
dimitr
211645e3dc Getting rid of the old allocator routines. 2006-05-23 10:17:00 +00:00
dimitr
d95ccf926d Ported the bugfix into HEAD for the time being. 2006-05-23 03:59:52 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
dimitr
65f2f69dd3 Just an extra protection from double pool reallocation. 2006-05-18 08:40:32 +00:00
asfernandes
b4c5f0ef21 Misc 2006-05-16 19:09:18 +00:00
asfernandes
f92e56a1b8 More corrections to TRIM and NULLs 2006-05-14 14:47:18 +00:00
dimitr
b0cb5b92cd Misc. 2006-05-13 05:00:21 +00:00
asfernandes
40bfb5f0f4 Make TRIM of blob work - returning a blob 2006-05-13 01:27:35 +00:00
asfernandes
669c6fe8cf Correct compute descriptor of SUBSTRING of non-string 2006-05-08 03:04:12 +00:00
asfernandes
960804adbc Correct compute descriptor for LOWER/UPPER of blob 2006-05-03 02:39:30 +00:00
asfernandes
f3251b285b Misc 2006-05-02 00:15:29 +00:00
dimitr
8814993472 Fixed memory corruption caused by aggregates whose map format exceeds the size limit.
As a side effect, it makes impossible to use more than one LIST function in the select list. What a cruel world.
2006-05-01 06:10:09 +00:00
dimitr
43d83fbd64 Prevent SUM from corrupting the impure area. 2006-04-30 04:59:09 +00:00
dimitr
fcfc2a4283 Fixed one of the bugs in the LIST code. 2006-04-27 11:50:02 +00:00
dimitr
bf1e56bff1 Fixed a bugcheck by restoring to the old nod_count processing.
Still clueless why it's done that way.
2006-04-25 12:54:12 +00:00
dimitr
54d4cc4ddf The core implementation of the LIST function. Unstable yet. 2006-04-24 16:56:58 +00:00
robocop
c5f2284b15 Style. 2006-04-06 08:18:53 +00:00
dimitr
d2f823b821 Fixed yet another bug in cursors. Will this ever end? :-) 2006-03-29 17:47:50 +00:00
alexpeshkoff
95911b4842 fixed memory leak - SF#1422471 2006-03-10 17:46:18 +00:00
dimitr
8da75613c4 Fixed yet another bug in explicit cursors.
Unfortunately, BLR compatibility is not provided, so users have to recompile their SPs/triggers.
2006-03-07 17:52:33 +00:00
robocop
58a1a5c098 We better do not have loop variables with the same name in nested loops.
:-)
2006-02-23 05:03:16 +00:00
dimitr
bccc5d5843 Sorry, the unused code has been committed. 2006-02-22 07:11:24 +00:00
dimitr
2100ef53bd Fixed imcomplete invariants tracking for subqueries.
Views are still a problem, so more to follow.
2006-02-22 05:30:30 +00:00
dimitr
77dafd90c3 More clever solution for bug #459059.
Deoptimization of NOT ANY is no longer necessary.
2006-02-15 13:34:35 +00:00
robocop
044c5841ad Misc. 2006-02-10 03:28:43 +00:00
robocop
3389149564 The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
Tenth step: some code was tagged PC_ENGINE but was for SCROLLABLE_CURSORS instead, hence restore it. Also, clean unused data members, obsolete BLR verbs and the like.
2006-02-07 08:08:49 +00:00
robocop
2b99e764e3 The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
Sixth step: remove the places protected by the macro PC_ENGINE. More to come. (I guess all of you who have pending functional changes to post will love this commit. <g>)
2006-02-02 07:32:07 +00:00
robocop
c2fe7385ab The files rng.cpp, rng.h, rng_proto.h, bookmark.cpp and bookmark.h belong exclusively to PC_ENGINE, that's obsolete functionality.
Second step: remove them from #include clauses in other files. More to come.
2006-02-01 08:55:43 +00:00
dimitr
7ce9802818 Fixed bug reported in fb-support - wrong permission checks for view columns. 2006-01-27 07:59:54 +00:00
robocop
1e6d89ebfc Comment excessive dependencies on license.h. 2006-01-07 00:31:37 +00:00
dimitr
e1e2dafa84 1) Replaced TEXT* with MetaName& in SCL.
2) Fixed SF #1396017.
2006-01-03 15:47:56 +00:00
dimitr
2204fe9624 Fixed the garbage trigger name (reported by Alex). 2006-01-03 11:28:24 +00:00
hvlad
5b8c4cd0a7 Missing assignment 2005-12-25 23:12:23 +00:00
robocop
e2f440a374 Finish Mike work after 3 years. :-) 2005-12-03 06:43:19 +00:00
robocop
f00fc0ff56 1.- Make "vec" type safe and get rid of several code contortions. Fix some small bugs meanwhile.
2.- Put inside PC_ENGINE several data members that belong to that feature.
3.- Put inside PC_ENGINE the code that does cleanup on those unused data members.
2005-12-02 07:35:34 +00:00
dimitr
02cc16029e Fixed corruption of the impure area introduced by myself a few months ago. 2005-11-08 12:49:52 +00:00
dimitr
cbf17d7a61 Fixed two bugs with PSQL cursors. 2005-09-30 11:40:52 +00:00
dimitr
15874a6ed9 Added optional seconds precision to CURRENT_TIME and CURRENT_TIMESTAMP
as agreed with Ann and others times ago.
2005-08-24 09:16:19 +00:00
dimitr
6494351243 Fixed a number of issues for Dialect 1 and Dialect 3 (string arithmetics) + some cleanup.
The issues are:
1) '1.5' / '0.5' doesn't work in Dialect 1
2) avg ('1.5') doesn't work in Dialect 1
3) 5 * '1.5' produces INT result instead of DOUBLE PRECISION in Dialect 1
4) sum ('1.5') produces NUMERIC(15, 2) result instead of DOUBLE PRECISION in Dialect 1
5) - '1.5' doesn't work in Dialect 1
6) '1.5' * '0.5' and '1.5' / '0.5' are not forbidden in Dialect 3
2005-08-06 05:29:31 +00:00
arnobrinkman
ae44349f26 Fix PLAN parsing inside VIEWs 2005-07-26 11:43:28 +00:00
hvlad
0bc1c4bf49 1. Allow to create FK constraints without exclusive database locking
2. Fix 'partner index not found' error when one process dropped FK and another trying to delete master record
3. misc changes in vio.cpp
2005-06-26 21:48:47 +00:00
dimitr
e3578f5912 Fixed reported issues with ROW_COUNT. 2005-06-24 12:56:34 +00:00
hvlad
6d1d2902ad Fixed unregistered bug :
AV when PLAN for VIEW is specified but no table alias was given

CREATE VIEW V1 AS
SELECT D.RDB$RELATION_ID, C.RDB$CHARACTER_SET_ID
  FROM RDB$DATABASE D JOIN RDB$CHARACTER_SETS C
    ON D.RDB$CHARACTER_SET_NAME = C.RDB$CHARACTER_SET_NAME

SELECT * FROM V1
PLAN (V1 NATURAL)
2005-06-20 08:53:23 +00:00
robocop
a867f700d0 Substring evolved and the error message was never updated. Now I've done two messages, although I think we need three in the long term. 2005-06-12 23:45:15 +00:00
asfernandes
559ce29c51 1) Replace length_ to strlen as noted by Claudio and Dmitry
2) Change USHORT to ULONG in intl.cpp
2005-06-06 18:14:10 +00:00
asfernandes
59213efe7e Merge INTL branch into HEAD 2005-05-27 22:45:31 +00:00
robocop
23f6de156e Fix crash with views in expand_view_nodes caused by Alex' recent cleanup: unlike VaryingString (aka str) that inherits from pool_alloc_rpt, plain dynamic allocation of UCHAR[n] isn't memset to zero by our allocator, causing us to walk random garbage. 2005-05-22 06:18:51 +00:00
alexpeshkoff
5729790ed6 1. Applied class MetaName
2. Small generic cleanup
2005-05-12 18:28:04 +00:00