New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export mysql POINT coordinates as hex #14588
Labels
Projects
Milestone
Comments
|
Related to: #6350 |
|
Do you plan to investigate more ? It seems it could be fixed with |
|
Affects also |
williamdes
added a commit
that referenced
this issue
May 7, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
@CharlieEtienne This is now fixed by 7f454ac and will part of the next version of phpMyAdmin (4.8.6) |
INSERT INTO `lieux` (`id`, `coords`) VALUES
(1, 0x000000000101000000a0ae4912df6d4840be440603195b0240),
(2, 0x0000000001010000000e1bc0b6d95748402ece739f77ae1840),
(3, 0x000000000101000000346a1904b1a545401fa56d5743751540); |
williamdes
added a commit
to williamdes/phpmyadmintest
that referenced
this issue
May 7, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes
added a commit
to williamdes/phpmyadmintest
that referenced
this issue
May 7, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes
added a commit
that referenced
this issue
May 7, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
More details here : https://stackoverflow.com/questions/51530268/export-import-issue-with-mysql-point-coordinates/51900521
Steps to reproduce
POINT(48.6863316 6.1703782)POINT(-0.000000000029046067630853117 -3.583174595546599e227): invalid coordinates.Expected behaviour
coordinates should be exported as HEX
Here is an export file from HeidiSQL:
Actual behaviour
coordinates aren't exported as HEX
Here is the export file from phpMyAdmin:
I tried all export options, and nothing changes.
Server configuration
Operating system:
Tested on local env (windows, wamp, apache) and in prod env (linux, apache)
Database:
Source database: Local environment MySql 5.7.19
Table: "lieux" | InnoDB | utf8_unicode_ci
Column Name:
coordsColumn Type:
pointTarget database: Production environment MySql 5.6.39
Table: "lieux" | InnoDB | utf8_unicode_ci
Column Name:
coordsColumn Type:
pointPHP version:
Tested on 7.0.30 and 7.1.9
phpMyAdmin version:
Tested on 4.7.4 and 4.7.3
The text was updated successfully, but these errors were encountered: