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

View spatial fields as WKT doesn't work #14121

Closed
nulll-pointer opened this Issue Mar 24, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@nulll-pointer
Contributor

nulll-pointer commented Mar 24, 2018

Steps to reproduce

  1. make a table with spatial fields
`CREATE TABLE t (
 point POINT DEFAULT NULL
) ENGINE=InnoDB;

INSERT INTO `t` (`point`) VALUES (NULL), (PointFromText('POINT(1 1)'));`
  1. View the table contents as wkt(well known text) in the options menu.

Expected behaviour

Blank values in the corresponding cell.

Actual behaviour

Should display the cell as wkt

Server configuration

Operating system:
ubuntu 16.04

Web server:
Apache/2.4.29 (Unix)

Database:
10.1.30-MariaDB

PHP version:
7.1.14

phpMyAdmin version:
4.8.0-dev

@nulll-pointer nulll-pointer referenced this issue Mar 24, 2018

Closed

Fix for View as WKT for spatial fields. #14120

4 of 4 tasks complete

nulll-pointer added a commit to nulll-pointer/phpmyadmin that referenced this issue Mar 26, 2018

Fix for issues with spatial fields
Fixes the following issues:
1. phpmyadmin#14068 SPATIAL fields with no unique index/autoincrement error when clicking
	This error occurs when there is no unique column to uniquely identify a tuple. I've disabled the geomtery view and made view as wkt the default view in such cases.
2. phpmyadmin#14121 View spatial fields as WKT doesn't work

Signed-Off-By: Lakshya arora <arora.lakshya123@gmail.com>

@nulll-pointer nulll-pointer referenced this issue Mar 26, 2018

Merged

Fix for issues with spatial fields #14125

3 of 4 tasks complete

nulll-pointer added a commit to nulll-pointer/phpmyadmin that referenced this issue Mar 28, 2018

Fix for issues with spatial fields
Fixes the following issues:

1.    phpmyadmin#14068 SPATIAL fields with no unique index/autoincrement error when clicking
      This error occurs when there is no unique column to uniquely identify a tuple. I've disabled the geomtery view and made view as wkt the default view in such cases.

2.    phpmyadmin#14121 View spatial fields as WKT doesn't work

3.    phpmyadmin#14067 IS NULL search operator produces no WHERE SQL with spatial fields

nulll-pointer added a commit to nulll-pointer/phpmyadmin that referenced this issue Mar 28, 2018

Fix for issues with spatial fields
Fixes the following issues:

1.    phpmyadmin#14068 SPATIAL fields with no unique index/autoincrement error when clicking
      This error occurs when there is no unique column to uniquely identify a tuple. I've disabled the geomtery view and made view as wkt the default view in such cases.

2.    phpmyadmin#14121 View spatial fields as WKT doesn't work

1.    phpmyadmin#14067 IS NULL search operator produces no WHERE SQL with spatial fields

Signed-Off-By: Lakshya arora <arora.lakshya123@gmail.com>

nulll-pointer added a commit to nulll-pointer/phpmyadmin that referenced this issue Apr 20, 2018

Fix for issues with spatial fields
Fixes the following issues:

1.    phpmyadmin#14068 SPATIAL fields with no unique index/autoincrement error when clicking
      This error occurs when there is no unique column to uniquely identify a tuple. I've disabled the geomtery view and made view as wkt the default view in such cases.

2.    phpmyadmin#14121 View spatial fields as WKT doesn't work

1.    phpmyadmin#14067 IS NULL search operator produces no WHERE SQL with spatial fields

Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>

mauriciofauth added a commit that referenced this issue May 12, 2018

Fix for issues with spatial fields (#14125)
*  Fix for issues with spatial fields

Fixes the following issues:

1.    #14068 SPATIAL fields with no unique index/autoincrement error when clicking
      This error occurs when there is no unique column to uniquely identify a tuple. I've disabled the geomtery view and made view as wkt the default view in such cases.

2.    #14121 View spatial fields as WKT doesn't work

1.    #14067 IS NULL search operator produces no WHERE SQL with spatial fields

Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>

* Fix for issues with spatial fields
This commit fixes view as BINARY not working in the previous commit.
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>

* Fix for issues with spatial fields

Fixes typo in previous commits.

Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>

@mauriciofauth mauriciofauth self-assigned this May 12, 2018

mauriciofauth added a commit that referenced this issue May 12, 2018

Fix for issues with spatial fields (#14125)
*  Fix for issues with spatial fields

Fixes the following issues:

1.    #14068 SPATIAL fields with no unique index/autoincrement error when clicking
      This error occurs when there is no unique column to uniquely identify a tuple. I've disabled the geomtery view and made view as wkt the default view in such cases.

2.    #14121 View spatial fields as WKT doesn't work

1.    #14067 IS NULL search operator produces no WHERE SQL with spatial fields

Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>

* Fix for issues with spatial fields
This commit fixes view as BINARY not working in the previous commit.
Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>

* Fix for issues with spatial fields

Fixes typo in previous commits.

Signed-Off-By: Lakshay arora <arora.lakshya123@gmail.com>
(cherry picked from commit 9231620)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>

@mauriciofauth mauriciofauth added this to the 4.8.1 milestone May 12, 2018

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