Uploaded image for project: 'Copy Handler'
  1. Copy Handler
  2. CH-149

Restarting task may cause serialization to fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.40alpha-svn610
    • Fix Version/s: 1.40beta-svn629
    • Component/s: engine
    • Labels:
      None

      Description

      When restarting a task, the scanned files that are already in the database, are not deleted prior to adding new ones from the new scan.

      Additional info:
      Preparing query for 48035 records: INSERT INTO scanned_files(id,rel_path,base_path_id,attr,size,time_created,time_last_write,time_last_access,flags) VALUES(?,?,?,?,?,?,?,?,?)
      TBaseException.cpp(15) : atlTraceGeneral - *** Base Exception is being thrown:
      Msg: Cannot perform step on the statement. SQLite reported error: UNIQUE constraint failed: scanned_files.id
      Error code: 5004
      File: TSQLiteStatement.cpp
      Line number: 90
      Function: chcore::sqlite::TSQLiteStatement::Step
      First-chance exception at 0x00007FF87CEA8B9C in ch64.exe: Microsoft C++ exception: chcore::sqlite::TSQLiteException at memory location 0x000000EF6E71F100.
      Debug Assertion Failed!

      Program: C:\projects\ch-rw\bin\Debug\libchcore64ud.dll
      File: TSQLiteStatement.cpp
      Line: 43

      Expression: iResult == SQLITE_OK

      For information on how your program can cause an assertion
      failure, see the Visual C++ documentation on asserts.

      (Press Retry to debug the application)

        Attachments

          Activity

            People

            Assignee:
            admin ixen
            Reporter:
            admin ixen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: