The unified diff between revisions [83b5270b..] and [5587f68e..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'schema_migration.cc'

#
#
# patch "schema_migration.cc"
#  from [38c6a6d8a82751cc80ff017b0a7f863d0b50eac6]
#    to [282f8216d2face69303858b84939b3f01ffdd6c6]
#
============================================================
--- schema_migration.cc	38c6a6d8a82751cc80ff017b0a7f863d0b50eac6
+++ schema_migration.cc	282f8216d2face69303858b84939b3f01ffdd6c6
@@ -156,6 +156,7 @@ calculate_schema_id(sqlite3 *sql, string
                          // those are auto-generated indices (for
                          // UNIQUE constraints, etc.).
                          "AND sql IS NOT NULL "
+                         "AND name != 'sqlite_stat1' "
                          "ORDER BY name",
                          &append_sql_stmt, &tmp, NULL);
   if (res != SQLITE_OK)