Skip to content

ERROR 1105 (HY000): baseBuiltinFunc.vecEvalInt() should never be called #56772

Closed

Description

@apollodafoni

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table lrr_test( `COL1` tinyint(16),`COL3` bigint(20) DEFAULT NULL,KEY `UM_COL` (`COL1`,`COL3`));
insert into lrr_test(col3) values(-825024501864323944);
insert into lrr_test values(-2,2295421130981788987);
prepare stmt from 'select * from lrr_test t1 join lrr_test t2 on t1.col1 = t2.col1 where t1. col1 + 10 > ? + 10 or t2. col1 + 10 >= ? + 10;';
set @a=NULL, @b=-2;
execute stmt using @a,@b;

2. What did you expect to see? (Required)

Mysql:
+------+---------------------+------+---------------------+
| COL1 | COL3 | COL1 | COL3 |
+------+---------------------+------+---------------------+
| -2 | 2295421130981788987 | -2 | 2295421130981788987 |
+------+---------------------+------+---------------------+

3. What did you see instead (Required)

ERROR 1105 (HY000): baseBuiltinFunc.vecEvalInt() should never be called, please contact the TiDB team for help

4. What is your TiDB version? (Required)

Release Version: v8.4.0
Edition: Community
Git Commit Hash: 2205f33
Git Branch: HEAD
UTC Build Time: 2024-10-17 07:36:44
GoVersion: go1.23.2
Race Enabled: false
Check Table Before Drop: false
Store: tikv

Activity

  1. apollodafoni commented on Oct 22, 2024

    @apollodafoni
    Author

    /severity moderate

  2. jebter commented on Oct 25, 2024

    @jebter
    7.1.4
    MySQL root@127.0.0.1:test> execute stmt using @a,@b;
    +------+---------------------+------+---------------------+
    | COL1 | COL3                | COL1 | COL3                |
    +------+---------------------+------+---------------------+
    | -2   | 2295421130981788987 | -2   | 2295421130981788987 |
    +------+---------------------+------+---------------------+
    1 row in set
    Time: 0.008s
    MySQL root@127.0.0.1:test> select tidb_version() \G;
    ***************************[ 1. row ]***************************
    tidb_version() | Release Version: v7.1.4
    Edition: Community
    Git Commit Hash: a8b650f8372ede73b49dcc99289828c676075fb6
    Git Branch: heads/refs/tags/v7.1.4
    UTC Build Time: 2024-03-07 08:14:34
    GoVersion: go1.20.12
    Race Enabled: false
    TiKV Min Version: 6.2.0-alpha
    Check Table Before Drop: false
    Store: tikv
    
    7.5.4
    MySQL root@127.0.0.1:test> execute stmt using @a,@b;
    (1105, 'baseBuiltinFunc.vecEvalInt() should never be called, please contact the TiDB team for help')
    MySQL root@127.0.0.1:test> select tidb_version() \G;
    ***************************[ 1. row ]***************************
    tidb_version() | Release Version: v7.5.4
    Edition: Community
    Git Commit Hash: 15a52d8b9c7eb373fa0b9b71a0ac346f652b7cdf
    Git Branch: HEAD
    UTC Build Time: 2024-10-12 08:25:08
    GoVersion: go1.21.10
    Race Enabled: false
    Check Table Before Drop: false
    Store: tikv
    
  3. apollodafoni commented on Nov 29, 2024

    @apollodafoni
    Author

    /label fuzz/comp

  4. added a commit that references this issue on Jul 8, 2025
    9accc3c
  5. added 2 commits that reference this issue on Jul 10, 2025
    7b22116
    7b6c583
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.fuzz/compIssues found by comp fuzz test.severity/majorsig/plannerSIG: Plannertype/bugThe issue is confirmed as a bug.type/regression

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions