From 350bfdb5ea9b4f7e50746c50a46d8032cbc5a104 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 8 Nov 2017 14:53:26 -0500 Subject: Created database versioning system Also added an ANALYZE statement to the end of the datafile generation process. This generates information that allows sqlite to sometimes come up with a better query plan, and in many cases can significant speed up queries. This constitutes a minor database update, but because this is the first version that uses the database versioning system, older versions are essentially incompatible. refs #2 --- lib/version.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/version.h (limited to 'lib/version.h') diff --git a/lib/version.h b/lib/version.h new file mode 100644 index 0000000..41ab79e --- /dev/null +++ b/lib/version.h @@ -0,0 +1,11 @@ +#ifndef VERSION_H_3CACFC4B +#define VERSION_H_3CACFC4B + +namespace verbly { + + const int DATABASE_MAJOR_VERSION = 1; + const int DATABASE_MINOR_VERSION = 0; + +}; + +#endif /* end of include guard: VERSION_H_3CACFC4B */ -- cgit 1.4.1