View Issue Details

IDProjectCategoryView StatusLast Update
0008723VALENTINA SERVERAPIpublic2020-02-27 07:58
ReporterFran├žois Van LerbergheAssigned ToIvan Smahin 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformINTELOSMAC OS OS Version*
Product Version9.7.x 
Target VersionFixed in Version 
Summary0008723: vServer.Shutdown or vServer.Restart command crash application
DescriptionSending the command vServer.Shutdown crash my Xojo application if there is a SQL queries on the VConnection before.
Steps To ReproduceType and execute this code in a Xojo project :
// Open a VConnection
mVConnection = new VConnection( myHost, myUserName, myPassword, myPort, 5, mySerial )
if mVConnection <> nil then
  mVConnection.Open()
  mValentinaServer= new VServer( mVConnection )
end if
// Make a SLQ query
dim csr As VCursor
csr = mVConnection.SqlSelect("SHOW DATABASES")
csr = nil
// Shutdown the vServer
if mVConnection <> nil AND mValentinaServer <> nil then
  mValentinaServer.Shutdown << this line crash my application
end if
Additional InformationIt's the same with vServer.Restart

Workaround :
Before issuing vServer.Shutdown, close the connexion and recreate it.
TagsNo tags attached.

Relationships

related to 0008737 resolvedIvan Smahin VServer.Shutdown doesn't seem to close databases properly 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-02-07 17:56 Fran├žois Van Lerberghe New Issue
2020-02-20 20:22 Ivan Smahin Assigned To => Ivan Smahin
2020-02-20 20:22 Ivan Smahin Status new => resolved
2020-02-20 20:22 Ivan Smahin Resolution open => fixed
2020-02-27 07:58 Ivan Smahin Relationship added related to 0008737