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

Column name output in --view-protocol spider tests with udf and CASE

    XMLWordPrintable

Details

    Description

      Example:

      spider/bugfix.udf_mysql_func_early       [ fail ]
              Test ended at 2025-04-02 14:24:46
       
      CURRENT_TEST: spider/bugfix.udf_mysql_func_early
      --- /home/ycp/source/mariadb-server/10.5/src/storage/spider/mysql-test/spider/bugfix/r/udf_mysql_func_early.result	2025-04-02 14:24:23.903185541 +1100
      +++ /home/ycp/source/mariadb-server/10.5/src/storage/spider/mysql-test/spider/bugfix/r/udf_mysql_func_early.reject	2025-04-02 14:24:46.258984000 +1100
      @@ -32,7 +32,7 @@
       ) ENGINE=Spider DEFAULT CHARSET=utf8 COMMENT='table "tbl_a", srv "s_2_1"';
       create temporary table results (a int);
       SELECT SPIDER_DIRECT_SQL('select * from tbl_a', 'results', 'srv "s_2_1", database "auto_test_remote"');
      -SPIDER_DIRECT_SQL('select * from tbl_a', 'results', 'srv "s_2_1", database "auto_test_remote"')
      +Name_exp_1
       1
       select * from results;
       a
       
      Result length mismatch
      

      Attachments

        Issue Links

          Activity

            People

              ycp Yuchen Pei
              ycp Yuchen Pei
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.