summary refs log tree commit diff stats
path: root/lib/version.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-11-08 14:53:26 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-11-08 14:53:26 -0500
commit350bfdb5ea9b4f7e50746c50a46d8032cbc5a104 (patch)
treee339d118669f85de1afb858828a7affd0b47c745 /lib/version.h
parentb92db337bf7cbe2ea0564be6c63c336d2bcd4567 (diff)
downloadverbly-350bfdb5ea9b4f7e50746c50a46d8032cbc5a104.tar.gz
verbly-350bfdb5ea9b4f7e50746c50a46d8032cbc5a104.tar.bz2
verbly-350bfdb5ea9b4f7e50746c50a46d8032cbc5a104.zip
Created database versioning system d1.0
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
Diffstat (limited to 'lib/version.h')
-rw-r--r--lib/version.h11
1 files changed, 11 insertions, 0 deletions
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 @@
1#ifndef VERSION_H_3CACFC4B
2#define VERSION_H_3CACFC4B
3
4namespace verbly {
5
6 const int DATABASE_MAJOR_VERSION = 1;
7 const int DATABASE_MINOR_VERSION = 0;
8
9};
10
11#endif /* end of include guard: VERSION_H_3CACFC4B */