Skip to content
  • Martin Tournoij's avatar
    b4126b71
    Fix charts for SQLite · b4126b71
    verfasst von Martin Tournoij
    This fixes a regression introduces in 6bc01623; that changed so that stat
    rows were no longer stored if there are no visits to store. That works
    fine, except for hit_stats in SQLite since it will do a "select",
    "delete", merges with new pageviews, and then an insert. But if there
    are no new visits (only pageviews) it will never re-insert the rows.
    
    So check the full array instead, and write a migration to correct the
    wrong data.
    b4126b71
    Fix charts for SQLite
    verfasst von Martin Tournoij
    This fixes a regression introduces in 6bc01623; that changed so that stat
    rows were no longer stored if there are no visits to store. That works
    fine, except for hit_stats in SQLite since it will do a "select",
    "delete", merges with new pageviews, and then an insert. But if there
    are no new visits (only pageviews) it will never re-insert the rows.
    
    So check the full array instead, and write a migration to correct the
    wrong data.
Um den Status des Repositorys dieses Projekts zum Zeitpunkt einer dieser Versionen zu finden, sieh dir die Tags an.
Lade