Lines Matching defs:version
14 // Key used in our meta table for version numbers.
15 static const char kVersionKey[] = "version";
30 bool MetaTable::Init(Connection* db, int version, int compatible_version) {
42 SetVersionNumber(version);
104 void MetaTable::SetVersionNumber(int version) {
105 SetValue(kVersionKey, version);
109 int version = 0;
110 if (!GetValue(kVersionKey, &version))
112 return version;
115 void MetaTable::SetCompatibleVersionNumber(int version) {
116 SetValue(kCompatibleVersionKey, version);
120 int version = 0;
121 if (!GetValue(kCompatibleVersionKey, &version))
123 return version;