stonedb icon indicating copy to clipboard operation
stonedb copied to clipboard

bug: a strange question, create table return error

Open davidshiz opened this issue 1 year ago • 4 comments

Have you read the Contributing Guidelines on issues?

Please confirm if bug report does NOT exists already ?

  • [X] I confirm there is no existing issue for this

Describe the problem

Occasional problems, continuous attention

mysql> use test;
Database changed

mysql> show tables;
+----------------+
| Tables_in_test |
+----------------+
| t5             |
| t6             |
| t7             |
| t8             |
+----------------+
4 rows in set (0.00 sec)

mysql> create table t1 (f1 varchar(5));
ERROR 6 (HY000): Directory /stonedb57/install/data/tianmu_data/25.0 already exists!
mysql> create table t1 (f1 varchar(5));
ERROR 1030 (HY000): Got error 1 from storage engine
mysql> create table t1 (f1 varchar(5));
ERROR 6 (HY000): Directory /stonedb57/install/data/tianmu_data/27.0 already exists!
mysql> create table t1 (f1 varchar(5));
ERROR 1030 (HY000): Got error 1 from storage engine

Expected behavior

No response

How To Reproduce

No response

Environment

root@ub01:~# /stonedb57/install/bin/mysqld --version
/stonedb57/install/bin/mysqld  Ver 5.7.36-StoneDB-v1.0.3 for Linux on x86_64 (build-)
build information as follow:
        Repository address: https://github.com/stoneatom/stonedb.git:stonedb-5.7-dev
        Branch name: stonedb-5.7-dev
        Last commit ID: 20abfc729
        Last commit time: Date:   Tue May 16 16:26:45 2023 +0800
        Build time: Date: Wed May 17 19:48:49 CST 2023

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

  • [ ] Yes, I will!

davidshiz avatar May 26 '23 06:05 davidshiz