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

578 Commits

Author SHA1 Message Date
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
fa8f456325 Fixed server crashes related to some plan buffer overflows. 2005-03-23 07:14:12 +00:00
arnobrinkman
eac753f709 Fix typos found by Tom Cole 2005-03-13 12:17:32 +00:00
robocop
2f752f36aa Totally misc. 2005-03-04 00:01:42 +00:00
alexpeshkoff
f4cd5a154f Changed name to security2.fdb 2005-02-24 12:24:38 +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
robocop
541e3054ac Put common code into functions. 2005-02-14 05:51:25 +00:00
asfernandes
42efc07a3a NULL literals should have DSC_nullable in dsc_flags 2005-02-13 00:37:18 +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
dimitr
d7e75a86b1 Fixed some metadata issues with views. 2005-02-05 12:48:33 +00:00
robocop
d39363ad73 Regenerate parse.cpp after Nickolay's changes. 2005-01-30 02:14:26 +00:00
robocop
816f54be2e Misc. 2005-01-30 02:13:23 +00:00
hvlad
9b809e2193 Allow EXECUTE BLOCK to work with blob parameters. 2005-01-26 14:52:38 +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
dimitr
3f3eb11ba4 Return relation alias via API. SQLDA stays untouched for the time being. 2005-01-23 15:53:36 +00:00
arnobrinkman
8147470e7f Fix alias usage in explicit PLAN 2005-01-21 14:09:02 +00:00
robocop
e567a0791c Regenerate parse.cpp after Dmitry's changes. 2005-01-21 08:54:07 +00:00
dimitr
84e104e7b7 More compatibility modes for the parser. 2005-01-20 12:33:54 +00:00
dimitr
8d6e675b75 Always zero blr/message memory before usage.
Otherwise a reused message may cause garbage to be copied to XDR
which in turn may cause asynchronous exceptions in the asymmetric protocol code.
2005-01-18 15:04:07 +00:00
robocop
72e54eb27d First attempt to fix SF Bug #512975.
Please let me know if the problem disappears or there's a bad side effect that I didn't detect.
2005-01-17 09:16:40 +00:00
robocop
6eabbaf772 Fix irrelevant SF Bug #512975.
CR-LF => blank. No trimming is made.
2005-01-12 05:09:42 +00:00
robocop
8b573aa0da Change the license with Mark's permission. 2005-01-12 04:22:32 +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
dimitr
3d826cc06c Minor corrections. 2005-01-05 12:15:51 +00:00
dimitr
f2d2ad2542 1. Allowed implicit NOT NULL declaration for a PRIMARY KEY constraint (per SQL-99)
2. Minor fixes and cleanup
2005-01-04 13:17:16 +00:00
robocop
b5317a413a Totally misc. 2004-12-31 10:41:43 +00:00
alexpeshkoff
dd2f879401 dsql_set_cursor_name cleanup 2004-12-26 15:32:49 +00:00
robocop
d65307b497 Style. 2004-12-24 08:52:39 +00:00
robocop
24742873ad fb_string.h is moved to common/classes. 2004-12-17 05:41:47 +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
3efa4c7648 Misc. 2004-12-12 02:03:58 +00:00
robocop
86fe265ff1 Put some variables in context. 2004-12-12 01:58:43 +00:00
robocop
5291dc6544 Restore checks for length. We don't need tokens bigger than 1KB. 2004-12-12 01:57:19 +00:00
robocop
430ad70ed4 Misc. 2004-12-11 00:08:55 +00:00
alexpeshkoff
387e678cca applied Clumplet* classes to dpb where possible 2004-12-09 19:19:47 +00:00
robocop
0dd1aced53 Misc. 2004-12-09 02:50:47 +00:00
robocop
5e8ed6c4d3 Prevent buffer overrun. 2004-12-08 05:59:42 +00:00
robocop
950216de4e Misc. 2004-12-08 05:58:41 +00:00
alexpeshkoff
637e5ed95a use new classes to preparse 'create database' statement 2004-12-05 11:57:25 +00:00
alexpeshkoff
991d78d626 a bit better approach to setup dsql thread context 2004-12-05 11:51:47 +00:00
dimitr
ab51816298 Fixed issues spotted by Claudio. 2004-12-03 07:07:15 +00:00
dimitr
882b8defe4 Restored datatype. 2004-12-03 06:49:01 +00:00
robocop
3ca7f5afb7 Misc. 2004-12-03 06:24:18 +00:00
dimitr
28ed1df100 1. Parser cleanup
2. SQL-99 synonyms for generators DDL/DML
3. Implemented REVOKE ADMIN OPTION FROM
2004-12-02 22:53:51 +00:00