Skip to content

bug: The instance crashed while exporting data #1961

@TomeC

Description

@TomeC

Have you read the Contributing Guidelines on issues?

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Describe the problem

When a table field contains bit type execute sql "select * into outfile" will cause Instance crashed

Expected behavior

The program can export files normally

How To Reproduce

  1. create table
    CREATE TABLE bit_test ( a int(11) DEFAULT 0, b bit(9) DEFAULT NULL );
  2. insert data:
    INSERT INTO bit_test VALUES (1,B'1101100');
  3. export data
    select * into outfile '/tmp/bit_test_tbl' from bit_test;
    then instance will crashed

Environment

centos 7 stonedb-5.7-dev

Are you interested in submitting a PR to solve the problem?

  • Yes, I will!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions