Hello Andrew,
please, find a patched glpsql.c appended.
The diff can be seen at
http://glpk.dyndns.org/viewvc/svn/glpk/branches/glpk-4.42-sql_null_data/src/glpsql.c?view=diffr1=85r2=83diff_format=h
Best regards
Xypron
Andrew Makhorin wrote:
Andrew, do you have any suggestion how to patch
Hello Xypron,
I recompiled glpsol with the new patched glpsql.c, it still not solve
the problem. I still the same error.
I sent you a copy of this mdb - Otago.mdb (Otago.rar) the other day.
Did you get it. Please have a look at the query qryCrorptype. It
seems that this table produce by query
Andrew, do you have any suggestion how to patch this bug properly?
Consider the following example:
table data IN ...: s - [FROM,TO], d~DISTANCE, c~COST;
For fields FROM and TO a null value is not allowed and should cause
an error. However, for fields DISTANCE and/or COST it could be
I got this error.
~
Assertion failed: str2num(buf, num) == 0
Error detected in file ..\src\glpsql.c at line 900
Doing this, Reading data from a query, not a table.
~
table qryCroptype IN ODBC
'DSN=Otago_mdb'
'SELECT * FROM qryCroptype':
Andrew,
I got this error.
~
Assertion failed: str2num(buf, num) == 0
Error detected in file ..\src\glpsql.c at line 900
Doing this, Reading data from a query, not a table.
~
table qryCroptype IN ODBC
'DSN=Otago_mdb'
'SELECT * FROM qryCroptype':