From 0f3735842f584412da6e119927ece5974cbc23f8 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Wed, 20 Sep 2017 23:58:26 +0000 Subject: 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. --- include/source_revision.h.in | 1 + 1 file changed, 1 insertion(+) create mode 100644 include/source_revision.h.in (limited to 'include/source_revision.h.in') 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@" -- cgit v1.2.1