[ODBC-257] Double-check CPack for a copy-paste error Created: 2019-06-25 Updated: 2019-06-26 Resolved: 2019-06-26 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.1.1 |
| Fix Version/s: | 3.1.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Michal Schorm | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
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
Shouldn't be the line 387 say "..._VERSION_PATCH" instead of "...MINOR" ? |
| Comments |
| Comment by Michal Schorm [ 2019-06-25 ] | |||||
|
Also, on line 202, there's
unlinke in CONC/C, where the macro is created from the CPACK_PACKAGE_VERSION_* macros:
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. | |||||
| Comment by Lawrin Novitsky [ 2019-06-26 ] | |||||
|
That is apparently some copy/paste error. But also that is true, that it's not used anywhere, and thus was harmless. Looks like that part was copied from C/C, where they(those variables) are used. Removed them so far. |