Skip to content

swapping long lat if mysql version >= 8.1 - #16088

Merged
williamdes merged 1 commit into
phpmyadmin:QA_5_0from
ankush-0x90:fix_rendering_of_gis
May 2, 2020
Merged

williamdes merged 1 commit into
phpmyadmin:QA_5_0from
ankush-0x90:fix_rendering_of_gis

Conversation

@ankush-0x90

Copy link
Copy Markdown
Contributor

Signed-off-by: Ankush Patil [email protected]

Description

used ST_SwapXY when its MYSQL 8

Fixes #16012

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.

@williamdes
williamdes changed the base branch from master to QA_5_0 April 19, 2020 18:11
@williamdes williamdes added this to the 5.0.3 milestone Apr 19, 2020

@williamdes williamdes left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good diff, maybe the argument to as text would be better to have a smaller diff

@ankush-0x90

Copy link
Copy Markdown
Contributor Author

Good diff, maybe the argument to as text would be better to have a smaller diff

Just wait a minute.. :)

@williamdes williamdes self-assigned this Apr 20, 2020
@ankush-0x90

Copy link
Copy Markdown
Contributor Author

please test it against versions <8.1

@williamdes williamdes left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@williamdes

Copy link
Copy Markdown
Member

I will test it then merge it ASAP

@williamdes williamdes changed the title swapping long lat if mysql8 wapping long lat if mysql version >= 8.1 Apr 28, 2020
@williamdes williamdes changed the title wapping long lat if mysql version >= 8.1 swapping long lat if mysql version >= 8.1 Apr 28, 2020
williamdes added a commit that referenced this pull request May 2, 2020
Signed-off-by: William Desportes <[email protected]>
@williamdes
williamdes merged commit 969f43c into phpmyadmin:QA_5_0 May 2, 2020
@williamdes

Copy link
Copy Markdown
Member

Thank you @asprazz !
I added 7b00921 to have automatic tests

@williamdes
williamdes removed the request for review from MauricioFauth May 2, 2020 11:05
@williamdes

Copy link
Copy Markdown
Member

@sudo-bot /deploy

@williamdes

Copy link
Copy Markdown
Member

@sudo-robot /deploy

@williamdes

Copy link
Copy Markdown
Member

@sudo-robot Deploy PR

@sudo-robot

sudo-robot commented Jun 22, 2020 •

Copy link
Copy Markdown

Deployed (phpmyadmin-pr-16088): fix_rendering_of_gis commit: 3bfefca4363a5b7a52f8893d234d74b800a82570

url: https://phpmyadmin-pr-16088.wdes.eu.org
user: public
user: public


Deploy finished

@williamdes

Copy link
Copy Markdown
Member

@asprazz This PR broke MariaDB rendering

williamdes added a commit that referenced this pull request Jun 22, 2020
@williamdes

Copy link
Copy Markdown
Member

Fixed by 40d0194

@ankush-0x90

Copy link
Copy Markdown
Contributor Author

@asprazz This PR broke MariaDB rendering

I didn't think of MariaDB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spatial Data does not render correctly in MySQL 8 with geographic SRIDs

3 participants