Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-15479

Empty string is erroneously allowed as a GEOMETRY column value

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL)
    • 10.5, 10.6, 10.11
    • GIS
    • None

    Description

      DROP TABLE IF EXISTS t1;
      CREATE TABLE t1 (id INT, a GEOMETRY);
      INSERT INTO t1 VALUES (10,'');
      SELECT * FROM t1;
      

      +------+------+
      | id   | a    |
      +------+------+
      |   10 |      |
      +------+------+
      

      Empty string is not a valid GEOMETRY value, it should be prohibited.

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Alice Sherepa made transition -
            Open Confirmed
            2423d 4h 12m 1
            Alexey Botchkov made transition -
            Confirmed In Progress
            56d 6h 45m 1
            JiraAutomate made transition -
            In Progress Stalled
            45d 19h 58m 1

            People

              holyfoot Alexey Botchkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.