michael
01b946706b
* Fix bug ID #32625 : added several firebird constructs
...
git-svn-id: trunk@43139 -
2019-10-06 11:20:20 +00:00
reiniero
951d128042
- fcl-db: sql parser
...
- remove support for SET TERM/SET AUTODDL as it does not fall within Firebird SQL
git-svn-id: trunk@27961 -
2014-06-15 09:10:24 +00:00
reiniero
81548f0e9c
* fcl-db: sql parser:
...
- fix parsing scripts containing SET AUTODDL and SET TERM statements
- SET TERM/SET AUTODDL will be output as SQL comments when regenerating SQL so thethe commands work with e.g. sqldb
git-svn-id: trunk@27923 -
2014-06-10 10:01:22 +00:00
reiniero
0782f4f853
* fcl-db: sql parser:
...
- support reading (and ignoring) SET AUTODDL statements generated by isql.
This allows the parser to read isql-generated metadata extraction scripts from Firebird databases
- tests
git-svn-id: trunk@27921 -
2014-06-10 08:47:56 +00:00
reiniero
a2ce52963a
* fcl-db: sql parser tests: correct SET TERM/CREATE PROCEDURE tests
...
- One test currently fails indicating the need for more support for variables in select statements
git-svn-id: trunk@27917 -
2014-06-10 06:39:00 +00:00
reiniero
575a082272
* fcl-db: fix set terminator tests when run within suite/all tests instead of single test
...
git-svn-id: trunk@27916 -
2014-06-10 05:51:51 +00:00
reiniero
ebb2f38e08
* fcl-db: sql parser:
...
- simplify code, thanks Michael & Laco.
- Tests for STARTING WITH
- Work in progress on SET TERM+CREATE PROCEDURE test
git-svn-id: trunk@27915 -
2014-06-10 05:27:56 +00:00
reiniero
c7a045af49
* fcl-db: sql parser: basic set term/create procedure test
...
git-svn-id: trunk@27914 -
2014-06-09 13:09:04 +00:00
reiniero
37e44f52eb
* fcl-db:: sql parser: deal with table.column notation introduced in previous commit
...
git-svn-id: trunk@27913 -
2014-06-09 12:52:38 +00:00
reiniero
c63b31c839
* fcl-db: sql parser: support table.column notation for fields like
...
- SELECT A.B FROM A
- SELECT B FROM A ORDER BY C.D
- tests
Note: failing test due to needed implementation of parsing table.field into table and field references
git-svn-id: trunk@27912 -
2014-06-09 12:34:52 +00:00
reiniero
125845fe52
* fcl-db: sql parser/generator:
...
- Correct OUTER join: there is no separate OUTER JOIN; the syntax is FULL JOIN or FULL OUTER JOIN
- Support for optional OUTER in LEFT OUTER and RIGHT OUTER JOIN
git-svn-id: trunk@27910 -
2014-06-09 09:21:44 +00:00
reiniero
1e21d66b89
* fcl-db: sql parser tests:
...
- cosmetic changes (capitalization, comments)
- add tests for SET TERM, symbol literal parsing introduced in r27907
- Lazarus test project: default+debug build mode: no optimalization, more checks enabled
git-svn-id: trunk@27908 -
2014-06-09 08:01:20 +00:00
reiniero
614bc64200
* fcl-db: sql parser:
...
- fix for double precision followed by other subclauses (e.g. DEFAULT)
- of course, associated test
git-svn-id: trunk@27888 -
2014-06-07 09:55:15 +00:00
reiniero
e1d9a068c0
* fcl-db: sql parser: Allow:
...
- double precision datatype
- blob subtype text and blob subtype binary (instead of only blob subtype 0 and 1)
- Associated tests
git-svn-id: trunk@27887 -
2014-06-07 09:31:12 +00:00
reiniero
050be49b16
* fcl-db: correct test committed in r27868
...
git-svn-id: trunk@27885 -
2014-06-07 08:10:52 +00:00
reiniero
a025a87c19
* fcl-db: test sql scanner: fix test case
...
git-svn-id: trunk@27871 -
2014-06-06 13:39:21 +00:00
reiniero
79d2abd1ca
* fcl-db: sql parser test: test for create domain with check constraint, default and not null, a la
...
CREATE DOMAIN PRODTYPE AS VARCHAR(12)
DEFAULT 'software'
CHECK (VALUE IN ('software', 'hardware', 'other', 'N/A')) NOT NULL;
git-svn-id: trunk@27868 -
2014-06-06 12:59:01 +00:00
reiniero
493d38ff95
* fcl-db: sqlparser: test domain creation with check constraint like CHECK (VALUE STARTING WITH 'V');
...
Test currently fails: line 1, pos 53: Unexpected token: WITH
git-svn-id: trunk@27854 -
2014-06-05 08:43:43 +00:00
michael
672d7f6b63
* Implemented AS for table aliases
...
git-svn-id: trunk@19631 -
2011-11-12 13:05:15 +00:00
michael
cbcece1ae6
* Patch from Dmitry Boyarintsev to support empty statements
...
git-svn-id: trunk@17545 -
2011-05-23 20:36:53 +00:00
michael
6df8ec1ce8
* Added tests for Grant/Revoke, fixed some bugs on the way
...
git-svn-id: trunk@15942 -
2010-09-03 17:01:01 +00:00
michael
4c7f9238c7
* SQL parser
...
git-svn-id: trunk@15832 -
2010-08-16 23:13:24 +00:00