#7079 closed defect (fixed)
Support MariaDB 10.2 - ogr_mysql.h:35:23: fatal error: my_global.h: No such file or directory
Reported by: | devurandom | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.2.3 |
Component: | default | Version: | 2.2.2 |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
With MariaDB 10.2, my_global.h (and my_sys.h) no longer exists, see e.g. [1]. I created a patch to not include these files when using MariaDB. It works with mariadb-10.2.8, but I would like to get a confirmation from someone that it also works with MySQL and MariaDB 10.1, which I could not easily test myself.
Attachments (1)
Change History (6)
by , 7 years ago
Attachment: | gdal-2.2.2-mariadb-10.2.patch added |
---|
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 7 years ago
Milestone: | → 2.2.3 |
---|
I've verified that the above changes work at least down to mysql 5.1. This might perhaps break the mysql 4.x series, but I don't think we really want to support that, if that still works...
comment:5 by , 7 years ago
Thanks for the quick fix!
I am now using that for my Gentoo Linux package: https://github.com/devurandom/gentoo-overlay/commit/620e749a8c125cac9e9d2051362f7db498b9bb3d
Hopefully it will also be available to all Gentoo Linux users, soon: https://bugs.gentoo.org/615986
In 40361: