Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 1426743006: [sql] Validate database files before enabling memory-mapping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename helper and address truncate case. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« sql/connection.cc ('K') | « sql/connection.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index b270272a96e0dec5b0f4eb318b361e34b599af0a..b941ce4be2df98f64c054ffd7523eec823020466 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -73120,6 +73120,33 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="6" label="EVENT_BEGIN">Explicit transactions begun.</int>
<int value="7" label="EVENT_COMMIT">Explicit transactions committed.</int>
<int value="8" label="EVENT_ROLLBACK">Explicit transactions rolled back.</int>
+ <int value="9" label="EVENT_MMAP_META_MISSING">
+ No meta table in mmap probe.
+ </int>
+ <int value="10" label="EVENT_MMAP_META_FAILURE_READ">
+ Failed to read meta table in mmap probe.
+ </int>
+ <int value="11" label="EVENT_MMAP_META_FAILURE_UPDATE">
+ Failed to update meta table in mmap probe.
+ </int>
+ <int value="12" label="EVENT_MMAP_VFS_FAILURE">
+ Failed to access SQLite vfs in mmap probe.
+ </int>
+ <int value="13" label="EVENT_MMAP_FAILED">
+ Found cached failure status in mmap probe.
+ </int>
+ <int value="14" label="EVENT_MMAP_FAILED_NEW">
+ Error while reading database in mmap probe.
+ </int>
+ <int value="15" label="EVENT_MMAP_SUCCESS_NEW">
+ Successfully read to end of database in mmap probe.
+ </int>
+ <int value="16" label="EVENT_MMAP_SUCCESS_PARTIAL">
+ Successfully read some of database in mmap probe.
+ </int>
+ <int value="17" label="EVENT_MMAP_SUCCESS_NO_PROGRESS">
+ Exhausted read quota in mmap probe.
+ </int>
</enum>
<enum name="SqliteVersionDeprecation" type="int">
« sql/connection.cc ('K') | « sql/connection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698