Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
3.1.1
-
None
-
Released tarball; source code
Description
Please double check this piece of code I went by, that it is intentional and not a copy-paste error:
mariadb-connector-odbc-3.1.1-ga-src/CMakeLists.txt
384 # Packaging
|
385 SET(CPACK_PACKAGE_VERSION_MAJOR "${MARIADB_ODBC_VERSION_MAJOR}")
|
386 SET(CPACK_PACKAGE_VERSION_MINOR "${MARIADB_ODBC_VERSION_MINOR}")
|
387 SET(CPACK_PACKAGE_VERSION_MINOR "${MARIADB_ODBC_VERSION_PATCH}")
|
Shouldn't be the line 387 say "..._VERSION_PATCH" instead of "...MINOR" ?
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
issue.field.resolutiondate | 2019-06-26 13:59:28.0 | 2019-06-26 13:59:28.376 |
Fix Version/s | 3.1.2 [ 23700 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 97737 ] | MariaDB v4 [ 135526 ] |
Also, on line 202, there's
202 SET(CPACK_PACKAGE_VERSION ${MARIADB_ODBC_VERSION_MAJOR}.${MARIADB_ODBC_VERSION_MINOR}.${MARIADB_ODBC_VERSION_PATCH})
unlinke in CONC/C, where the macro is created from the CPACK_PACKAGE_VERSION_* macros:
37 SET(CPACK_PACKAGE_VERSION_MAJOR 3)
38 SET(CPACK_PACKAGE_VERSION_MINOR 0)
39 SET(CPACK_PACKAGE_VERSION_PATCH 10)
40 SET(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
However I don't understand the cmake / cpack that good to decide, if that makes the lines 385-387 irrelevant, as they are IMHO not used anywhere.