arnobrinkman
e2a664a6a2
Fix and simplify PLAN alias lookup
2005-07-26 11:54:37 +00:00
arnobrinkman
22ac7c9cdc
Fix derived table issues with NEW/OLD contexts (Triggers/check-constraints)
...
Also adjust IN predicate behaviour to derived table.
PLAN parsing for derived tables will be fixed later.
2005-07-25 14:43:28 +00:00
asfernandes
d524eec86f
Fixed SF #1242379 - Collation changes VARCHAR's length
2005-07-22 02:08:14 +00:00
dimitr
1a3218625d
Added DSQL support for ROLLBACK RETAIN.
2005-07-20 10:05:57 +00:00
arnobrinkman
21c839b45a
Send annoying unemployed code out of the door
2005-07-13 20:07:13 +00:00
robocop
e28ed6b27c
Try to indicate position of incomplete commands.
...
Some casts because statuses are fixed 32 quantities, not natural int types.
2005-06-16 05:11:08 +00:00
asfernandes
890494ac7c
1) Fixed SF #1016040 Missing external libraries causes engine exception
...
2) Use better error messages
2005-06-14 03:16:54 +00:00
dimitr
40b5c1d6bb
RETURNING implementation.
2005-06-13 12:45:42 +00:00
asfernandes
4efb74fc51
Removed some compiler messages
2005-06-13 02:12:14 +00:00
asfernandes
3d93cdf69c
Fix possible problems with larger columns sizes noted by Claudio
2005-06-10 02:03:08 +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
dimitr
d9294d7938
Added new error message.
2005-06-06 13:37:31 +00:00
robocop
b8d1f00f94
- Corrections and changes to Adriano's commit, subject to his inspection.
...
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30:03 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
arnobrinkman
1e539b16c1
fixed missed return, thanks to Claudio
2005-05-23 23:16:49 +00:00
robocop
3aaa840483
Misc.
2005-05-22 03:11:41 +00:00
robocop
b490df3a41
ALTER EXTERNAL FUNCTION: be able to change the entry_point or the module_name when the UDF cannot be dropped to correct the declaration because it's used in some view, procedure, trigger or check.
2005-05-22 02:42:17 +00:00
robocop
95d8b36260
Misc.
2005-05-19 23:41:17 +00:00
arnobrinkman
0132e696f2
Fix mapping problem when derived table was used as sub-query.
...
This was only possible since pass1_any() behaviour has been changed.
Normally a derived table cannot access fields outside the derived table context.
2005-05-18 18:55:57 +00:00
robocop
0285f6bf76
- Implement the proposed COMMENT keyword to allow descriptions in database objects. Subject to change or withdrawal.
...
- Enhance some messages. Reuse some msg numbers that were duplicate.
- Fix some issues found in Alex recent MetaName-related commits.
2005-05-17 07:17:25 +00:00
arnobrinkman
0f07677e46
Fix errors generated by IN-predicate due pass1_any() change
2005-05-04 19:38:47 +00:00
arnobrinkman
6a73b87b62
Fix bug SF #1191006 Using where params in SUM return incorrect results
...
parameters weren't checked on equality in node_match()
2005-05-04 09:53:37 +00:00
dimitr
e288d2ac49
Fixed bug found by Arno.
2005-05-04 08:44:35 +00:00
dimitr
27340d7daf
1) Fixed buggy behaviour of IN vs FIRST/SKIP.
...
2) Allowed UNIONs in ANY/ALL/IN subqueries.
Subject of Arno's review.
2005-05-02 12:41:02 +00:00
dimitr
65588a5003
Optimized NOT conditions when possible.
2005-05-02 09:47:27 +00:00
arnobrinkman
0a5c47ca6b
Remove non-sense comment
2005-04-26 13:32:15 +00:00
arnobrinkman
9f929f2527
Fix SF bug #1016969
...
-804 Data type unknown with searched CASE and parameters in results
2005-04-26 11:46:07 +00:00
arnobrinkman
4f7123010c
Fix bug with VALUE keyword in check constraint and
...
bug Found by Tom Cole with VALUE keyword where VALUE represents a column
2005-04-24 18:26:12 +00:00
arnobrinkman
0aea42263e
Second fix for items-list where NULLs default descriptor shouldn't be used to determine the final output descriptor.
...
Only UNIONs were affected by this bug.
2005-04-20 13:06:42 +00:00
dimitr
aeaa8b2290
Removed the feature that was never used for the last years.
...
An intention was to disallow batch fetches from procedures,
but this code never worked due to recursion in PASS1_rse().
Accidentally, I've fixed the reason in FB2 and now users
observe noticable performance degradation. To keep the
performance, let's do batch fetches again. Those who are
not sure what their procedures do between suspends may
use a FOR UPDATE clause anyway.
2005-03-31 15:27:12 +00:00
dimitr
d25fcdc0c4
Implemented RECREATE EXCEPTION and CREATE OR ALTER EXCEPTION.
2005-03-26 16:11:52 +00:00
dimitr
7307d7f490
More parameter checks in the PSQL case.
2005-03-26 14:05:44 +00:00
dimitr
b8e5350158
Parser simplification and minor cleanup.
2005-03-26 13:32:29 +00:00
dimitr
e3a9d86662
Simplify code paths a bit.
2005-02-21 13:18:49 +00:00
dimitr
37f3266bb0
Simplify code paths a bit.
2005-02-21 12:48:39 +00:00
robocop
5490b60181
Do not make a new branch if the code is the same but with a different variable.
2005-02-14 05:54:45 +00:00
arnobrinkman
a15c361120
1) Make ordinal working on select list which contain an asterisk
...
Examples:
SELECT * FROM RDB$RELATIONS ORDER BY 9
SELECT R.* FROM RDB$RELATIONS R ORDER BY 9
2) Add ORDER BY <alias> and GROUP BY <alias>
Examples:
SELECT RDB$RELATION_ID AS ID
FROM RDB$RELATIONS ORDER BY ID
SELECT
RDB$RELATION_NAME AS ID,
Count(*)
FROM
RDB$RELATION_FIELDS
GROUP BY
ID
2005-02-10 21:14:52 +00:00
asfernandes
97e2c81aff
Fixed SF #1116809 - Incorrect data type conversion
2005-02-06 13:15:22 +00:00
robocop
816f54be2e
Misc.
2005-01-30 02:13:23 +00:00
arnobrinkman
c8785f03cd
fix derived table issue with derived column list and columnname from sub-select
2005-01-24 23:02:08 +00:00
arnobrinkman
8147470e7f
Fix alias usage in explicit PLAN
2005-01-21 14:09:02 +00:00
robocop
7e306b86a8
Misc.
2005-01-12 04:20:17 +00:00
arnobrinkman
383926e046
Fix another check constraint and ambigous field problem.
...
Are there any more options left?, sigh: tablename, NEW, OLD, TEMP
2005-01-06 18:17:10 +00:00
arnobrinkman
0dca8c738d
Fix sub-select in derived table issue (context already in used error)
2005-01-06 13:14:38 +00:00
robocop
d65307b497
Style.
2004-12-24 08:52:39 +00:00
arnobrinkman
ff9070d8e5
remove optimization in DSQL, this is now done in the optimizer (the place where it belongs)
2004-12-15 20:15:20 +00:00
robocop
3ca7f5afb7
Misc.
2004-12-03 06:24:18 +00:00
arnobrinkman
8a079ca3d7
Fix check constraint bug with "ambigous fieldname" error
2004-12-02 18:57:01 +00:00
robocop
de3c7670dd
Misc.
2004-11-29 09:08:02 +00:00
arnobrinkman
664dddc827
bugfix: Making a derived field on a mapping failed when the mapping was mapping to another derived field.
...
Make also a derived field from a derived field node.
2004-11-28 22:38:45 +00:00