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

636 Commits

Author SHA1 Message Date
dimitr
f73ca8885d Fixed regression CORE-4108: Server crashes when executing sql query "delete from mytable order by id desc rows 2". 2013-05-30 08:20:53 +00:00
robocop
99c21b988d Misc. 2013-05-21 21:46:28 +00:00
asfernandes
821dbb4977 Fixed CORE-4083 - Full outer join in derived table with coalesce (iif). 2013-05-05 22:59:39 +00:00
asfernandes
66ba00e124 Misc. 2013-02-08 01:48:28 +00:00
asfernandes
970677e8de Get rid of dsql_str and fix metadata strings. 2012-12-25 17:34:50 +00:00
asfernandes
1cfac2b169 Refactor dsql_fld, TypeClause and ParameterClause. Eliminate some warnings. 2012-12-05 02:07:37 +00:00
asfernandes
e8d1710d95 Warning. 2012-06-06 14:50:53 +00:00
robocop
844b15bd13 Misc and style. 2012-05-20 10:00:52 +00:00
asfernandes
07747144f7 Unify DSQL/JRD sub-nodes. 2012-05-03 16:43:29 +00:00
asfernandes
a2b389f1db Getting rid of dsql_nod. 2012-04-25 01:42:47 +00:00
robocop
afcbd0054e Misc. 2012-04-10 02:37:34 +00:00
asfernandes
f098e9a3d8 Refactored nod_order. 2012-04-08 04:15:09 +00:00
asfernandes
2f3d4918da Refactored nod_rows. 2012-04-07 04:21:46 +00:00
asfernandes
617ef670ed Refactored nod_select_expr, nod_with and nod_list (union). 2012-04-07 03:03:28 +00:00
asfernandes
fc2527be96 Make column_select a SubQueryNode instead of nod_select_expr directly. 2012-03-25 18:21:21 +00:00
asfernandes
38083d12dc Refactored nod_field_name, nod_var_name, nod_array and nod_collate. 2012-03-25 01:08:55 +00:00
asfernandes
456af220a8 Refactor nod_def_index. 2012-03-18 22:22:14 +00:00
asfernandes
3e81925010 Refactor DDL nodes removing references to non-value/-rse dsql_nod. 2012-03-18 21:37:13 +00:00
asfernandes
b522566474 Remove legacy statements residuals. 2012-02-20 02:02:04 +00:00
asfernandes
df31dac958 Refactor GRANT and REVOKE commands. This eliminates the DYN subsystem. 2012-02-19 02:17:27 +00:00
asfernandes
6b5a322e8b Refactor SELECT. 2012-02-10 03:06:57 +00:00
asfernandes
9a85f4f48b Refactor SET TRANSACTION command. 2012-02-06 20:10:50 +00:00
asfernandes
cf0cf42288 Refactor COMMIT and ROLLBACK commands. 2012-02-06 20:10:07 +00:00
asfernandes
27bb1f8bc1 1) Removed READ/WRITE BLOB sql commands. 2) Refactored request operations to fix server crashes. 2012-02-03 19:01:36 +00:00
asfernandes
e51ddc7a38 Misc. 2012-01-29 02:53:44 +00:00
robocop
21cd78a0fd Cleanup: unused functions, parameters & variables. 2012-01-24 03:37:43 +00:00
dimitr
69cede6f1a Refactored CREATE/ALTER USER. Untested at runtime. 2012-01-08 18:33:59 +00:00
hvlad
6a8a920840 Fixed bug CORE-3690 : Wrong warning message for ambiguous query 2011-12-05 13:06:30 +00:00
asfernandes
016ddf41dc Refactored CREATE FILTER and CREATE INDEX. 2011-11-27 19:08:06 +00:00
asfernandes
19735c1e44 Misc. 2011-11-24 00:17:29 +00:00
asfernandes
b956356922 DDL refactor: ALTER EXTERNAL FUNCTION, ALTER INDEX, SET STATISTICS, CREATE SHADOW, ALTER ROLE, CREATE/ALTER DATABASE. 2011-11-22 16:33:25 +00:00
asfernandes
193f9379b9 Refactor DDL commands: DROP INDEX, DROP FILTER, DROP SHADOW, CREATE/DROP ROLE and DROP USER. 2011-11-13 21:32:12 +00:00
asfernandes
e090671523 Apply CORE-3114 patch (Attempt to drop non-existing generator produces bad error) with some modifications. 2011-11-09 15:30:00 +00:00
asfernandes
ba36a29f9d 1) Refactored legacy (UDF) function creation.
2) Extend ISQL' SHOW FUNCTION to take packages and parameter's datatype of non-legacy functions into account.
2011-11-08 14:54:48 +00:00
asfernandes
9ae117e388 Fixed CORE-3611 - Wrong data while retrieving from CTEs (or derived tables) with same column names. 2011-10-27 23:53:15 +00:00
asfernandes
c627005a89 Feature CORE-3626 - Subfunctions in PSQL and EXECUTE BLOCK.
Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBFUNC_1.output.

Also did:
- Refactor to share more code/data between procedures and functions.
- Fixed some PSQL functions problems.
2011-10-16 20:36:07 +00:00
asfernandes
7c1a04ea83 This check appears to do nothing good. Let the error always be thrown in DSQL. 2011-10-03 15:35:49 +00:00
asfernandes
5ae632cf0b Feature CORE-1288 - Sub Procedures.
They're very simple for now. No access to parent variables nor to call neighbour procedures.

Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBPROC_1.output.
2011-10-02 22:11:41 +00:00
asfernandes
0f39f04308 Fixed crash with nested unions, reported by Vlad.
SELECT 'a' FROM RDB$DATABASE
UNION ALL
SELECT X FROM
 (
   SELECT 'b' AS X FROM RDB$DATABASE
   UNION ALL
   SELECT 'c' FROM RDB$DATABASE
 ) AS T;
2011-05-14 02:49:02 +00:00
dimitr
8809493e98 Fixed incorrect type evaluation for unions.
Example:
SELECT NULL AS PRICE FROM rdb$database
union all
SELECT 1.0 AS PRICE FROM rdb$database
2011-04-05 14:23:15 +00:00
robocop
ddef541fc9 Misc, style, etc. 2011-04-02 04:51:27 +00:00
asfernandes
9dd82235f7 Replace some nod_list by array of nodes and change implementation of nod_returning to ReturningClause. 2011-03-07 03:15:07 +00:00
asfernandes
5ffa89e0c7 Reference DML statements in DSQL with StmtNode instead of dsql_nod. 2011-03-06 02:48:34 +00:00
dimitr
07a6d70da3 Cleanup. 2011-03-05 17:29:13 +00:00
asfernandes
8d6c054d87 Refactored nod_src_info. 2011-03-05 02:47:22 +00:00
asfernandes
1c6e990926 Refactor DSQL INSERT, UPDATE, DELETE, MERGE, UPDATE OR INSERT and assignment statements. 2011-03-04 01:47:49 +00:00
asfernandes
97da335f60 Removed the legacy DSQL hash table module (HSHD). 2011-02-26 21:52:47 +00:00
asfernandes
0e58483989 Refactor nod_cursor. 2011-02-26 21:51:45 +00:00
asfernandes
2096bd7239 Refactor DSQL exceptions: nod_on_error, nod_sqlcode, nod_gdscode, nod_exception and nod_default. 2011-02-25 02:52:51 +00:00
asfernandes
0ab05bd41c Refactor nod_start_savepoint and nod_end_savepoint. 2011-02-22 16:06:08 +00:00