Lines Matching full:version
27 // new tables, it will initialize the version number to |version| and the
28 // compatible version number to |compatible_version|.
29 bool Init(Connection* db, int version, int compatible_version);
34 // The version number of the database. This should be the version number of
35 // the creator of the file. The version number will be 0 if there is no
36 // previously set version number.
39 void SetVersionNumber(int version);
42 // The compatible version number is the lowest version of the code that this
46 // For example, if an optional column is added to a table in version 3, the
47 // new code will set the version to 3, and the compatible version to 2, since
48 // the code expecting version 2 databases can still read and write the table.
50 // Rule of thumb: check the version number when you're upgrading, but check
51 // the compatible version number to see if you can read the file at all. If
54 // The compatible version number will be 0 if there is no previously set
55 // compatible version number.
56 void SetCompatibleVersionNumber(int version);