bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-glpk] Segmentation fault in glpsql.c


From: Andrew Makhorin
Subject: Re: [Bug-glpk] Segmentation fault in glpsql.c
Date: Thu, 18 Sep 2008 14:16:56 +0400

> the following model code creates a segmentation fault:
> table ta { l in LOCATIONS } OUT
>   'iODBC'
>   'DSN=glpk;UID=glpk;PWD=gnu'
>   'UPDATE result_t12 SET DATE = ' & date & ' WHERE ID = 4'
>   'UPDATE result_t12 SET QUAN = ? WHERE LOC = ? AND ID = 4' :
>   quantity[l], l, 4 ~ id;

> The number of parameters is higher than the number of '?' in the SQL
> statement.

> Please, apply the patch below.

Done. Please see the patched file glpsql.c attached.

Attachment: glpsql.c.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]