stoneatom / stonedb

StoneDB is an Open-Source MySQL HTAP and MySQL-Native DataBase for OLTP, Real-Time Analytics, a counterpart of MySQLHeatWave. (https://stonedb.io)
https://stonedb.io/
GNU General Public License v2.0
857 stars 140 forks source link

bug: The instance crashed while exporting data #1961

Open TomeC opened 11 months ago

TomeC commented 11 months ago

Have you read the Contributing Guidelines on issues?

Please confirm if bug report does NOT exists already ?

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?

TomeC commented 10 months ago

build job failed. This request was automatically failed because there were no enabled runners online to process the request for more than 1 days. Will it automatically retry?