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
issue-#87 adding support for LONGINT in SqlDrivers.Table
- Josef Templ
- Posts: 2047
- Joined: Tue Sep 17, 2013 6:50 am
-
- Posts: 1700
- Joined: Tue Sep 17, 2013 12:21 am
- Location: Russia
Re: issue-#87 adding support for LONGINT in SqlDrivers.Table
Can we vote for this issue? The changes seems clear. Does anybody have any ideas against the solution?
- 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
What is meant by this construct
?
Code: Select all
IF <table value is not an integer> THEN
- Josef Templ
- Posts: 2047
- Joined: Tue Sep 17, 2013 6:50 am
Re: issue-#87 adding support for LONGINT in SqlDrivers.Table
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
The file is a template consisting of CP and pseudo code for writing a driver module
for a specific database server.
- Josef
- 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
Thank you.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