Opened 19 years ago
Closed 18 years ago
#391 closed defect (fixed)
An access to a function result (with SQL Server connection) produces a TOL crash
| Reported by: | Alfredo Torre | Owned by: | Jorge |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | DataBase | Version: | head |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
1- Open an SQL Server connection
2- Execute:
Set SqlFuncERROR(Real unUsed)
{
Text qry2 =
"
select 'Hola', convert(datetime, '2006-04-01 00:00:00', 120), 1
UNION ALL
select 'Hola', convert(datetime, '2006-04-02 00:00:00', 120), 2
UNION ALL
select 'Hola', convert(datetime, '2006-04-03 00:00:00', 120), 3
";
Set out = DBSeriesColumn(qry2, Eval("Diario"), 0);
Set outConc = EvalSet(out, Serie (Serie ser)
{ SubSer(CalInd(W, Eval("Diario")), y2005, Today) << ser });
outConc
};
Set resultado = SqlFuncERROR(Copy(FALSE));
3- Inspect the serie inside "resultado" either a graph or table: this will make
tol crash.
Thanks
Change History (4)
comment:1 Changed 19 years ago by
| Owner: | changed from danirus to Jorge |
|---|
comment:2 Changed 19 years ago by
| Status: | new → assigned |
|---|
comment:3 Changed 19 years ago by
We have verified both on windows and linux. On linux a segfault was detected due
to a mismatch between toltcl and tol. After recompiling toltcl the bug
disappear. We are confirming that this is really the cause of the bug reported.
comment:4 Changed 18 years ago by
| op_sys: | → All |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |

working on it