Merge branch 'develop' into MXS-1075

This commit is contained in:
MassimilianoPinto
2017-03-13 12:00:58 +01:00

View File

@ -1368,6 +1368,8 @@ int main(int argc, char **argv)
case 'V': case 'V':
rc = EXIT_SUCCESS; rc = EXIT_SUCCESS;
printf("MaxScale %s - %s\n", MAXSCALE_VERSION, maxscale_commit); printf("MaxScale %s - %s\n", MAXSCALE_VERSION, maxscale_commit);
// MAXSCALE_SOURCE is two values separated by a space, see CMakeLists.txt
if (strcmp(MAXSCALE_SOURCE, " ") != 0) if (strcmp(MAXSCALE_SOURCE, " ") != 0)
{ {
printf("Source: %s\n", MAXSCALE_SOURCE); printf("Source: %s\n", MAXSCALE_SOURCE);