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

213 Commits

Author SHA1 Message Date
dimitr
5ac5b45d7a Updated parse.cpp. 2003-05-30 12:29:31 +00:00
skidder
bdb55e8283 Oops. Forgot to commit sed-script for parse.y 2003-05-24 17:27:59 +00:00
skidder
d8bae3c569 Add comment 2003-05-24 15:18:35 +00:00
skidder
b9480b21e1 Make FIRST/SKIP keywords non-reserved 2003-05-23 16:55:40 +00:00
dimitr
43aaa45d42 Enabled BREAK/LEAVE and EXITcommands in non-system triggers. 2003-05-14 08:15:25 +00:00
skidder
f16736b802 Use explicit pessimistic locks only if WITH LOCK clause is specified 2003-05-11 19:32:41 +00:00
skidder
7904fcd7ee Cleanup 2003-05-09 16:05:24 +00:00
arnobrinkman
192ba388d4 1) bugfix RC1: Aggregates from a different parent_context where not allowed in the HAVING clause.
2) Enabled aggregate-functions from different parent_context (with lower scope_level) to be used inside another aggregate-function

Example:
SELECT
  MAX((SELECT COUNT(*) FROM RDB$RELATIONS))
FROM
  RDB$RELATIONS
2003-05-07 01:57:18 +00:00
arnobrinkman
962b5e21a3 fixed a typo and changed some comments 2003-05-04 22:02:42 +00:00
alexpeshkoff
8a6430c352 Fixed server crash in EXECUTE STATEMENT combined with exceptions handling block 2003-05-02 15:20:17 +00:00
dimitr
90278add21 Damn, what I was thinking about that time? 2003-04-28 07:41:29 +00:00
arnobrinkman
a819ccb060 bugfix: stored procedure with input parameters and aggregate tracking/validating methods failed 2003-04-17 20:58:36 +00:00
arnobrinkman
975638783a bugfix: Parameters from stored procedures in a sub-select where not remaped to the good context in a aggregate query.
example:
SELECT
  (SELECT sp.x FROM SP_TEST(T1.ID) sp)
FROM
  Table1 T1
GROUP BY
  T1.ID
2003-04-16 22:49:41 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
aafemt
b3436b5cd7 STATUS -> ISC_STATUS 2003-04-10 06:32:58 +00:00
dimitr
1205d8c4e5 Misprint. 2003-04-09 10:51:42 +00:00
dimitr
566516464c no message 2003-04-09 10:18:54 +00:00
dimitr
f9849a9534 Fixed migration rule in the parser which allows columns to be renamed. 2003-04-09 10:14:19 +00:00
brodsom
42ef1314ec DSQL warning fixes. 2003-04-08 00:31:20 +00:00
dimitr
7d7cef5157 no message 2003-04-06 11:34:31 +00:00
dimitr
be5247dc1c 1. Cleanup
2. ROWS_AFFECTED is renamed to ROW_COUNT
(see SQL2002 specification)
3. CONNECTION_ID/TRANSACTION_ID are renamed to CURRENT_CONNECTION/CURRENT_TRANSACTION
(see SQL2002 recommendations for context functions)
4. Solved most of the shift/reduce conflicts and all reduce/reduce conflicts in the grammar
5. Fixed ambiguity in ORDER BY clause, when both the value and the clause itself could contain COLLATE word
(now explicit collation sequence of the value is used in the ordering logic)
6. Some of newly introduced tokens are made non-reserved
7. Added code to enable ORDER/GROUP BY ordinal when asterisk is used in the select list
(not sure which version it should go, so it's commented out so far)
2003-04-06 11:20:24 +00:00
dimitr
1268d5f7aa Cleanup. 2003-04-06 10:09:38 +00:00
skidder
d8b76fbbe0 Make PROD_BUILD compile again 2003-04-03 21:36:46 +00:00
brodsom
b674d5ac89 Avoid signed unsigned comparisons 2003-04-03 18:43:08 +00:00
eku
8446116d28 Fixed a compilation error with code generated by the SVR4 yacc. 2003-04-03 12:41:52 +00:00
brodsom
2c329ec811 - Spli macro to avoid not used warnings
- Minor code formatting
2003-04-03 09:29:10 +00:00
eku
53367847f5 SVR4 yacc doesn't like C++ style comments! 2003-04-03 06:55:32 +00:00
brodsom
927e886d81 Correct formats 2003-04-03 01:51:03 +00:00
brodsom
9784aedc80 - Update parser (with byacc 1.9) 2003-04-03 01:36:52 +00:00
brodsom
a399bf764d Changes to allow use of bison to create parse.cpp 2003-03-31 23:40:53 +00:00
arnobrinkman
f83a6084ed bugfix:
1) bug with sub-selects inside COALESCE function.
2) bug with parameter ordering.
2003-03-31 19:11:55 +00:00
dimitr
a6b7f7c3ef Cleanup. 2003-03-16 12:04:13 +00:00
dimitr
9acd919add Cleanup. 2003-03-16 10:54:29 +00:00
dimitr
5e5803d6ff Fixed another bug with RECREATE VIEW. 2003-03-15 08:14:54 +00:00
arnobrinkman
b099026cdc corrected mistake in previous commit. 2003-03-10 23:30:53 +00:00
arnobrinkman
f1ca8aed80 bugfix: A bug left with using a aggregate sub-query inside a IN clause. 2003-03-10 21:38:22 +00:00
dimitr
718af8c8c9 Fixed bug in RECREATE/ALTER VIEW. 2003-03-03 19:10:23 +00:00
brodsom
18ccbd5688 Put unused functions declaration and definition inside NOT_USED_OR_REPLACED ifdef. 2003-03-03 08:29:18 +00:00
alexpeshkoff
133865b4cb Fixed EXECUTE STATEMENT to support INTO clause 2003-03-01 19:32:03 +00:00
alexpeshkoff
878b0b6091 Fixed EXECUTE STATEMENT to support INTO clause 2003-03-01 19:19:23 +00:00
alexpeshkoff
dac7dfc866 Fixed macro redefinition warnings 2003-03-01 15:59:08 +00:00
brodsom
165023d329 Remove FAR_VARIABLE 2003-02-28 12:57:13 +00:00
hippoman
5c5551eb0c * Changed comments to point to used code 2003-02-27 16:38:33 +00:00
arnobrinkman
61ca1ca76e comment added 2003-02-26 23:41:00 +00:00
arnobrinkman
267195bd6c bugfix: With a large amount of SQL the server crashed on generating blr. Due a USHORT was used for str_length. 2003-02-26 23:28:26 +00:00
brodsom
89702f3e88 Restore inlines 2003-02-25 00:05:06 +00:00
dimitr
7d4444165b Cleanup. 2003-02-24 09:37:52 +00:00
arnobrinkman
f890eca4ea bugfix: DISTINCT with sub-selects (context already in use (BLR error)). Distinct items are now correctly parsed and not just copied from the select-list. 2003-02-23 01:36:22 +00:00
hippoman
3643e9d8d6 * changed function comment to new forrmat 2003-02-21 00:27:16 +00:00
brodsom
230cd1aa19 Remove lint and LIBC_SCCS defines (dummy) 2003-02-20 01:59:10 +00:00