Icon View Incident Report

Serious Serious
Reported By: Michael Charalampos
Reported On: 6/21/2018
For: Version 2.28 Build 2
# 4662 Experiencing a Constraint Error During an OPTIMIZE TABLE Statement Can Cause a Temp Table Error

I'm seeing the following error during an OPTIMIZE TABLE execution:

ElevateDB Error #1004 The foreign key constraint fkExaminationID for the table Data-MMG has been violated (The foreign key 94119 does not match any existing primary or unique key in the table Examinations)

after this error if you try to do repair on another table eg. <<Data-P300: REPAIR TABLE "Data-P300">> you'll get:
ElevateDB Error #401 The temporary table 257 does not exist in the schema Default.

USING "fkExaminationID"

Comments Comments and Workarounds
The workaround would be to stop/start the client session in-between executing the OPTIMIZE TABLE and REPAIR TABLE statements.

Resolution Resolution
Fixed Problem on 6/22/2018 in version 2.28 build 3

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