Details

    Description

      Since https://jira.mariadb.org/browse/MDEV-17832 driver can now differentiate JSON from string
      and distinguish GEOMETRY null values types.

      Connector must permit to return JSON in place of String for JSON:

          shareConn
            .query(' SELECT jsonField from t')
            .then(rows => {
               // rows must be 
               // [{ t: {"id":2,"val":"t\'est"} }]
               // not 
               // [{ t: '{"id":2,"val":"t\'est"}' }]
            })
      

      Connector must return exact geometry datatype for null value:

          shareConn
            .query(' SELECT null_point_value as t from t')
            .then(rows => {
               // rows must be 
               // [{ t: {type: 'Point', coordinates: null} }]
               // not 
               // [{ t: null }]
            })
      

      Attachments

        Activity

          diego dupin Diego Dupin created issue -
          diego dupin Diego Dupin made changes -
          Field Original Value New Value
          Fix Version/s 2.4.0 [ 24271 ]
          diego dupin Diego Dupin made changes -
          Component/s compatibility [ 14522 ]
          Component/s other [ 14408 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 106100 ] MariaDB v4 [ 128524 ]

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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