• shess's avatar
    [sql] Track SQLite error codes from sql::Recovery ATTACH. · 63188114
    shess authored
    The major reason for sql::Recover::Begin() to fail is in the statement
    attaching the original database to the recovery database.  I believe
    this is because of SQLITE_NOTADB.  This is to verify that hypothesis.
    If the hypothesis is true, then the best course of action is to Raze()
    the database, as SQLITE_NOTADB means that some or all of the SQLite
    header data appears to be garbage.
    
    BUG=597785
    R=michaeln@chromium.org
    
    Review-Url: https://codereview.chromium.org/2274883003
    Cr-Commit-Position: refs/heads/master@{#414885}
    63188114
histograms.xml 3.89 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.