phpmyadmin / phpmyadmin/sql-parser

Unrecognized data type. (near xmltype)

Open
#642 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug kind/support
Dominant language
PHP
Stars
485
Forks
119
PR merge metrics
No merged PRs in 30d

Description

CREATE TABLE t1(id INT, x xmltype);

MariaDB >= 12.3.0

https://mariadb.com/docs/server/reference/data-types/string-data-types/xmltype

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the parser input shown in the issue and compare its handling of xmltype with the MariaDB documentation linked there. Confirm that MariaDB 12.3 and later accept CREATE TABLE t1(id INT, x xmltype);; done means the SQL parser no longer reports this data type as unrecognized.

Written by the indexing model from the issue text.

Assessment

Tech stack
mariadb, php, sql
Domain
databases, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.