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
robocop
45d4cd976a
Silence warning.
2004-11-28 03:44:24 +00:00
dimitr
36e0f1449a
Fixed bug introduced some time ago by myself.
2004-11-27 21:19:58 +00:00
dimitr
05dd909c6c
Fixed my SEGV, thanks to Adriano.
2004-11-24 13:33:05 +00:00
robocop
ab23729381
Misc.
2004-11-23 04:05:49 +00:00
skidder
c40eb08a27
Remove CURRENT_DATABASE keyword
2004-11-22 20:50:34 +00:00
arnobrinkman
d599c8f945
Fix bug in aggregate-functions which burried EXISTS/SINGULAR predicate.
...
See bug #1063254
2004-11-17 22:01:44 +00:00
dimitr
d40cf9430d
Some corrections and cleanup.
2004-11-17 18:27:48 +00:00
dimitr
c1cab92cab
1) Reworked error reporting
...
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 14:50:33 +00:00
skidder
1e26d6c80d
CURRENT_DATABASE implementation. Established identity may also be used for isc_info_db_id datum
2004-11-11 05:37:52 +00:00
robocop
628b088d2c
Treat string literals and string constants with more respect.
2004-11-10 04:26:45 +00:00
robocop
5a33aeef91
Misc: extra semicolons do not help. :-)
2004-11-07 10:38:13 +00:00
arnobrinkman
4d2a4f6925
bugfix: still were some ambiguous queries possible.
...
fe: select rdb$database.rdb$relation_id from rdb$database, rdb$database
2004-11-02 23:07:09 +00:00
dimitr
42c929cfb1
Ported UPDATE/DELETE extentions from Yaffil.
2004-10-27 09:33:08 +00:00
dimitr
cd413c9b8a
Added the equivalence operator. The major index optimizations are done.
...
Notes:
1) Some optimizations will follow after more deep analysis.
2) The syntax "==" is not yet agreed on. I'd prefer it to be changed.
2004-10-14 18:54:54 +00:00
dimitr
a9772bd861
Restored the old code layout, as suggested by Claudio.
2004-10-14 16:35:13 +00:00
dimitr
a1bbad7ccf
The entire RSE handling in the parser is slightly rewritten. New join syntax is introduced.
...
Notes:
1) Some features are disabled (via isc_wish_list) yet due to their incomplete implementation.
2) The parser may become unstable or cause regressions. It will be fixed ASAP.
2004-10-13 18:37:53 +00:00
robocop
a8da598248
Redundant casts.
2004-10-08 11:08:42 +00:00
robocop
ed17cfafbf
Style:
...
if<space>(
for<space>(
switch<space>(
while<space>(
2004-10-04 08:15:00 +00:00
robocop
840bf14b36
If we are using namespace fb_utils, it doesn't make sense to prefix functions in it with fb_ again. Mechanical replacement made one by one (no bulk automatic changes).
2004-09-26 01:49:52 +00:00
dimitr
e58ba55a55
Solved issues with literal NULLs in the CASE-based functions.
...
To be reviewed by Arno.
2004-09-05 07:23:42 +00:00
dimitr
f45dc04f6a
Allowed EXTRACT(<part> FROM NULL) to return NULL of SMALLINT/INT (depending on <part>) datatype.
2004-09-04 18:43:11 +00:00
dimitr
cf89467735
Let's describe literal NULLs correctly in expressions.
2004-09-04 18:24:12 +00:00
arnobrinkman
ce97981b91
Fix unneeded error-message with simple CASE and NULL (NULL as text in SQL)
...
CASE NULL WHEN NULL THEN 1 END
2004-08-22 00:53:04 +00:00
skidder
a294b74cb8
Fix one more possible random crash noted by Valgrind. This particular problem is old and happens when UNION DSQL construct is used. Fix is the result of consultations with Arno Brinkman
2004-08-18 18:33:21 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
dimitr
d6151c2d8f
Fixed minor issue.
2004-08-01 18:01:54 +00:00
skidder
5494b34caa
size_t is more correct type for container sizes and indices
2004-07-16 23:06:31 +00:00
arnobrinkman
8cde3d2aee
1) Fix FB2 problem with union-auto-cast and losing field-name as column-name
...
2) Fix FB2 problem with WITH CHECK OPTION
2004-06-29 22:15:10 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
robocop
5b282ef4b5
Misc: keep comment in sync with code
2004-05-29 04:36:09 +00:00
alexpeshkoff
9a34ce553c
make bool (isEmpty/hasData) checks for string and stack safe
2004-05-27 16:26:52 +00:00