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

Merged to the master branch
Post Reply
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

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

Post 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
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

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

Post by Ivan Denisov »

Can we vote for this issue? The changes seems clear. Does anybody have any ideas against the solution?
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

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

Post by DGDanforth »

What is meant by this construct

Code: Select all

 IF <table value is not an integer> THEN
?
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

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

Post 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
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

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

Post 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.
Post Reply