Opened 9 years ago

Closed 9 years ago

#5722 closed defect (fixed)

mysql check in configure fails with major versions > 10

Reported by: rigid Owned by: warmerdam
Priority: normal Milestone: 1.11.2
Component: ConfigBuild Version: 1.11.1
Severity: normal Keywords:
Cc:

Description

The current configure script only honours the first digit of the version number (and thus fails on 10, thinking it is < 3). This is an ssue with mariadb 10.x

The attached patch should fix this (hopefully portable).

Attachments (1)

configure.diff (1.5 KB ) - added by rigid 9 years ago.
patch to correctly check mysql major version, not just first digit

Download all attachments as: .zip

Change History (2)

by rigid, 9 years ago

Attachment: configure.diff added

patch to correctly check mysql major version, not just first digit

comment:1 by Even Rouault, 9 years ago

Milestone: 1.11.2
Resolution: fixed
Status: newclosed

trunk r27917, branches/1.11 r27918 "configure: fix test to accept MariaDB 10.X as valid MySQL (#5722, patch by rigid)"

Note: See TracTickets for help on using tickets.