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

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

Issue 14555006: Revert 197147 "Deeper histogram for SQLITE_IOERR." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/sql/connection.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/tools/metrics/histograms/histograms.xml
===================================================================
--- trunk/src/tools/metrics/histograms/histograms.xml (revision 197194)
+++ trunk/src/tools/metrics/histograms/histograms.xml (working copy)
@@ -5800,10 +5800,6 @@
<summary>Error codes returned by sqlite for all databases.</summary>
</histogram>
-<histogram name="Sqlite.Error.IOERR" enum="SqliteIOERRCode">
- <summary>Error codes returned by sqlite for all databases.</summary>
-</histogram>
-
<histogram name="Sqlite.History.Error" enum="SqliteErrorCode">
<summary>Error codes returned by sqlite for the history db.</summary>
</histogram>
@@ -9367,45 +9363,6 @@
<int value="1" label="Revisit"/>
</enum>
-<enum name="SqliteIOERRCode" type="int">
- <summary>Extended error codes returned by SQLite - see sqlite.h</summary>
- <int value="0" label="SQLITE_IOERR">No extended code given</int>
- <int value="1" label="SQLITE_IOERR_READ">Error reading from file</int>
- <int value="2" label="SQLITE_IOERR_SHORT_READ">Short read from file</int>
- <int value="3" label="SQLITE_IOERR_WRITE">
- Error writing to file (other than SQLITE_FULL)
- </int>
- <int value="4" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int>
- <int value="5" label="SQLITE_IOERR_DIR_FSYNC">
- Error syncing directory changes to disk
- </int>
- <int value="6" label="SQLITE_IOERR_TRUNCATE">Error truncating file</int>
- <int value="7" label="SQLITE_IOERR_FSTAT">Error reading file metadata</int>
- <int value="8" label="SQLITE_IOERR_UNLOCK">Error unlocking file</int>
- <int value="9" label="SQLITE_IOERR_RDLOCK">
- Error getting read lock - should not be possible
- </int>
- <int value="10" label="SQLITE_IOERR_DELETE">Error deleting file</int>
- <int value="11" label="SQLITE_IOERR_BLOCKED">
- Deadlock due to other process access to SQLite files
- </int>
- <int value="12" label="SQLITE_IOERR_NOMEM">Error mapping shared memory</int>
- <int value="13" label="SQLITE_IOERR_ACCESS">
- Error getting file attributes (other than not found)
- </int>
- <int value="14" label="SQLITE_IOERR_CHECKRESERVEDLOCK">
- Error while querying lock status
- </int>
- <int value="15" label="SQLITE_IOERR_LOCK">Error acquiring lock</int>
- <int value="16" label="SQLITE_IOERR_CLOSE">Error closing file</int>
- <int value="17" label="SQLITE_IOERR_DIR_CLOSE">Unused</int>
- <int value="18" label="SQLITE_IOERR_SHMOPEN">Error mmapping file</int>
- <int value="19" label="SQLITE_IOERR_SHMSIZE">
- Error in stat while mmapping file
- </int>
- <int value="20" label="SQLITE_IOERR_SHMLOCK">Unused</int>
-</enum>
-
<enum name="TcpSocketStatus" type="int">
<int value="0" label="Unknown"/>
<int value="1" label="Fast Connection Return"/>
« no previous file with comments | « trunk/src/sql/connection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698