Re: [Bug-glpk] Assertion failed: str2num(buf, num) == 0 Error detected in file ..\src\glpsql.c at line 900

2010-02-15 Thread Xypron
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

Re: [Bug-glpk] Assertion failed: str2num(buf, num) == 0 Error detected in file ..\src\glpsql.c at line 900

2010-02-15 Thread Noli Sicad
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

Re: [Bug-glpk] Assertion failed: str2num(buf, num) == 0 Error detected in file ..\src\glpsql.c at line 900

2010-02-14 Thread Andrew Makhorin
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

Re: [Bug-glpk] Assertion failed: str2num(buf, num) == 0 Error detected in file ..\src\glpsql.c at line 900

2010-02-12 Thread Andrew Makhorin
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':

[Bug-glpk] Assertion failed: str2num(buf, num) == 0 Error detected in file ..\src\glpsql.c at line 900

2010-02-11 Thread Noli Sicad
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':