diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-09-20 23:58:26 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-09-21 08:48:46 +0000 |
commit | 0f3735842f584412da6e119927ece5974cbc23f8 (patch) | |
tree | 9ee0eb581bbdd4c60be8a893b4c378359ac0653f /include/source_revision.h.in | |
parent | f70865bc9e540767d8afc3cc2cbe0e1c92a8c0be (diff) | |
download | mariadb-git-0f3735842f584412da6e119927ece5974cbc23f8.tar.gz |
MDEV-12583 : Bake the git hash into the binaries.
Added version_source_revision server "variable", for the git revision.
Also , mysql -V will show git revision.
"make dist" will now pack source_revision.h into the source package.
Diffstat (limited to 'include/source_revision.h.in')
-rw-r--r-- | include/source_revision.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/source_revision.h.in b/include/source_revision.h.in new file mode 100644 index 00000000000..5b657d0940e --- /dev/null +++ b/include/source_revision.h.in @@ -0,0 +1 @@ +#cmakedefine SOURCE_REVISION "@SOURCE_REVISION@" |