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

Restarting task may cause serialization to fail

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.40alpha-svn610
    • 1.40beta-svn629
    • engine
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: