Page 1 of 1

issue-#87 adding support for LONGINT in SqlDrivers.Table

Posted: Thu Nov 26, 2015 11:47 am
by Josef Templ
The Sql subsystem needs a little extension for supporting the type LONGINT.
This type is getting more and more important in databases and in addition, by
adding this type we can resolve a TRAP that may occur when reading a Dialog.Currency
from a table (because Dialog.Currency uses a LONGINT internally).
These issues have been reported on the Blackbox community board.

The changes are straightforward.
For the changes see http://redmine.blackboxframework.org/pr ... 96420bb394.

@Helmut: please note that the SQLite package is affected by this issue.
It needs to implement the new method "ReadLong".

- Josef

Re: issue-#87 adding support for LONGINT in SqlDrivers.Table

Posted: Mon Jan 04, 2016 6:32 pm
by Ivan Denisov
Can we vote for this issue? The changes seems clear. Does anybody have any ideas against the solution?

Re: issue-#87 adding support for LONGINT in SqlDrivers.Table

Posted: Mon Jan 04, 2016 8:16 pm
by DGDanforth
What is meant by this construct

Code: Select all

 IF <table value is not an integer> THEN
?

Re: issue-#87 adding support for LONGINT in SqlDrivers.Table

Posted: Tue Jan 05, 2016 8:32 am
by Josef Templ
This is a similar pattern as used in ReadInteger.
The file is a template consisting of CP and pseudo code for writing a driver module
for a specific database server.

- Josef

Re: issue-#87 adding support for LONGINT in SqlDrivers.Table

Posted: Tue Jan 05, 2016 11:36 pm
by DGDanforth
Josef Templ wrote:This is a similar pattern as used in ReadInteger.
The file is a template consisting of CP and pseudo code for writing a driver module
for a specific database server.

- Josef
Thank you.