Icon View Incident Report

Serious Serious
Reported By: Piotr Front
Reported On: 6/15/2012
For: Version 2.08 Build 3
# 3590 Executing Simultaneous SELECT and DELETE Queries Can Cause Floating Point Division By Zero Error

Please look at TEDBQueryManager.ExecuteStatic() and function FetchNextRow(). If you run two paraller threads (or processes) where one thread execute SELECT query and second thread execute DELETE query, there is a very high posibility to get exception "Floating point division by zero" in line:

Continue:=CheckProgressInterval(Trunc(((TempRowCount/Cursor.RowCount)*100)));

because Cursor.RowCount = 0.


Comments Comments
EDB now stores the cursor row count and uses the stored value instead in the progress updating instead.


Resolution Resolution
Fixed Problem on 6/15/2012 in version 2.09 build 1


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image