Index: sql/init_status.h |
diff --git a/sql/init_status.h b/sql/init_status.h |
index f5e29e6d93fc867bd04c1d81da0748bbcee34e6d..5f47dafe9b472cc4c0caaaff1bef5e8a36584592 100644 |
--- a/sql/init_status.h |
+++ b/sql/init_status.h |
@@ -11,6 +11,11 @@ namespace sql { |
enum InitStatus { |
INIT_OK, |
+ // A catastrophic error occurred while opening the database, but the database |
+ // was recovered and initialized successfully but data loss might have |
+ // happened. |
+ INIT_OK_WITH_DATA_LOSS, |
+ |
Scott Hess - ex-Googler
2016/08/18 21:51:38
Any reason this isn't at the end of the list?
Als
afakhry
2016/08/19 18:01:57
No, no reason. I put up there to be close to INIT_
|
// Some error, usually I/O related opening the file. |
INIT_FAILURE, |