[Bug 470879] New: Check if sqlite db is 2.1 and change to 3 if needed



If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=470879

  chronojump | chronojump | Ver: unspecified
           Summary: Check if sqlite db is 2.1 and change to 3 if needed
           Product: chronojump
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: chronojump
        AssignedTo: xaviblas cvs gnome org
        ReportedBy: xaviblas cvs gnome org
         QAContact: xaviblas cvs gnome org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Seems that on linux (mono) and on all chronojump versions we used always
version 3, but on windows it was 2.1 (on .net) until now: 3 (on mono). The best
will be detect with any select and a try{} catch{}, and then try to dump like:

sqlite old.db dump | sqlite 3 new.db

but do it on the code. If is not possible try to call external programs
(sqlite.exe) (sqlite3.exe) redistributed with chronojump, or to call to a batch
program that does this piping.

On linux we can use also the try {} catch {} and show a message to user telling
what packages to install and writing the piped comands.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=470879.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]