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

SHOW CREATE VIEW fails with ER_ILLEGAL_PARAMETER_DATA_TYPES2_FOR_OPERATION

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10
    • 10.4, 10.5, 10.6
    • Data types, Views
    • None

    Description

      Some time in 10.3, probably around MDEV-11692, comparison rules were strictened so much that it became impossible to see a definition of a view which invokes such a comparison.

      create or replace table t (a int);
      create or replace view v as select * from t where a < 1000;
      create or replace table t (a point);
      show create view v;
       
      # Cleanup
      drop view v;
      drop table t;
      

      10.3 3a62ff7e

      mysqltest: At line 4: query 'show create view v' failed: 4078: Illegal parameter data types geometry and int for operation '<'
      

      Obviously it's quite inconvenient, one needs to see the definition of a broken view in order to fix it.

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.