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

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

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

            ycp Yuchen Pei added a comment - - edited

            Hi holyfoot, ptal thanks

            9ffa3a5bf5e upstream/bb-10.5-mdev-36452 MDEV-36452 MDEV-35452 Fix udf output temp field name in spider tests with --view-protocol

            ycp Yuchen Pei added a comment - - edited Hi holyfoot , ptal thanks 9ffa3a5bf5e upstream/bb-10.5-mdev-36452 MDEV-36452 MDEV-35452 Fix udf output temp field name in spider tests with --view-protocol

            ok to push.

            holyfoot Alexey Botchkov added a comment - ok to push.
            ycp Yuchen Pei added a comment -

            Thanks for the review - pushed 0f7c9146cf4c0d93e3970be8f1c45037748a778d to 10.5

            ycp Yuchen Pei added a comment - Thanks for the review - pushed 0f7c9146cf4c0d93e3970be8f1c45037748a778d to 10.5

            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.