I have used class helpers feature for the first time.
(See components/tachart/tachartteechart.pas, r36916).
The good news is that I was able to get it working.
The bad news is that I have encountered 4 bugs and 1 missing feature
in about 10 lines of code :)
(Also, Lazaus does not seem to support cl
This case is handled in PrepareStatement phase. In case of
IBConnection is StatementType re-mapped to stExecProcedure and in
case of PQConnection is re-maped to stSelect.
That should obviously be changed to return the same type :-)
Yes any rules will be welcomed.
But because this chan
On Thu, 19 Apr 2012, LacaK wrote:
In fact, this is not quite correct.
Insert into table (a,b,c) returning values (x,y,z)
can also be done with an Open, yet it will probably get stInsert as type.
This case is handled in PrepareStatement phase. In case of IBConnection is
StatementType re-m
In fact, this is not quite correct.
Insert into table (a,b,c) returning values (x,y,z)
can also be done with an Open, yet it will probably get stInsert as type.
This case is handled in PrepareStatement phase. In case of IBConnection
is StatementType re-mapped to stExecProcedure and in case o
On Thu, 19 Apr 2012, LacaK wrote:
Hi ,
now we have in sqlDB.pp:
TStatementType = (stNone, stSelect, stInsert, stUpdate, stDelete,
stDDL, stGetSegment, stPutSegment, stExecProcedure,
stStartTrans, stCommit, stRollback, stSelectForUpd);
Statement type is initialy determined by parsing SQL.