Re: [gasqlparser-devel] Hello
Status: Alpha
Brought to you by:
gkello
From: Gert K. <ger...@ma...> - 2005-09-13 09:19:41
|
Hi again. Seems a good start point. And the task should not be too hard, I hope :-P So, the current state regarding the issue: 1. There is a TgaSQLStoredProcReference (gaSQLTableRefParsers.pas), which should be able to handle the stored procedure parsing. 2. Join parsing is handled by TgaJoinClause (gaSelectStm.pas). It uses TgaSQLTable as "data source" reference. 3. TgaSelectSQLStatement uses TgaSQLTableList (list of TgaSQLTable) to hold "data sources" 4. TgaSQLTable is mediator to TgaSQLDataReference (TgaSQLStoredProcReference inherits from TgaSQLDataReference) So, in essence, the stored procedures should be supported as in RFE. There are probably couple of bugs to fix. You should start looking at procedure TgaSQLTable.ExecuteTokenAdded(Sender: TObject; AToken: TgaSQLTokenObj); and figure aut why the stored procedures are not working... (The problem might reside in TgaSQLStoredProcReference.ExecuteTokenAdded also..) In general, the ExecuteTokenAdded methods are where all the real work is done.. Hope I did give some glue... Nando Dessena wrote: > Hello Gert, > > GK> The project is somewhat "suspended" state. I do not have currently time > GK> to make any active development. But I would extremely glad if someone > GK> would take the development over. I would give my assistance as much as > GK> possible. > > well, since I am currently needing a particular feature (see RFE > #1288838), I might implement it myself after all. :-) > Unfortunately time is not exactly what I have in large amounts. > > Anyway, could you sketch for me a learning path into the code? Things > like what I need to read as a prerequisite, etc. > > Also, could you take a look at the RFE above and tell whether > implementing that would be an affordable task for a complete newbie > to the code? > > Thanks -- Gert |