Problems with loading an xml dump

Ivan Smahin ivan_smahin at paradigmasoft.com
Mon Feb 3 04:41:59 CST 2014


On Feb 2, 2014, at 1:56 PM, Beatrix Willius <bwillius at gmx.de> wrote:

> Hi Ivan,
> 
> this is the basics of loading the dump:
> 
> newDatabase.LoadDump(DumpFolderitem, theFolderitem, EVDumpType.kXML, "UTF-16”)
> 
> The problem occurs when opening the new database:
> 
>  dim DBVersion as Integer = Valentina.GetCurrentFormatVersion
>  dim currentVersion as Integer = Valentina.GetDatabaseFormatVersion(theFolderitem)
>  dim theConversionResult as Integer
>  if currentVersion < DBVersion then theConversionResult = ShowDialog
>  if theConversionResult = 2 then Return False
> 
> I’m checking for version5 database. The error message “database doesn’t exist” came after trying to read GetDatabaseFormatVersion. After adding a database.close the problem went away.
> 

Fixed in 5.5.3
http://www.valentina-db.com/bt/view.php?id=6761

> Oh blech, didn’t I want to make an example for the index crash?

Yes, we are still waiting for such an example.

-- 
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com



More information about the Valentina mailing list