OpenTenBase / OpenTenBase/TXSQL
The recycle bin crash issue persists, and a new recycle bin crash issue has emerged.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 337
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
#38
#45
Good morning. I saw that you fixed the recycle bin crash issue, but when I pulled the latest code and compiled it for testing, the crash issue still exists. I also discovered a new recycle bin crash issue.
SQL for reproducing the problem
=====================
SET GLOBAL txsql_recycle_bin_enabled = ON;
CREATE DATABASE IF NOT EXISTS sbtest
DEFAULT CHARACTER SET utf8mb4
DEFAULT COLLATE utf8mb4_0900_ai_ci;
USE sbtest;
CREATE TABLE IF NOT EXISTS sbtest1 (
id INT NOT NULL AUTO_INCREMENT,
k INT NOT NULL DEFAULT 0,
c CHAR(120) NOT NULL DEFAULT '',
pad CHAR(60) NOT NULL DEFAULT '',
PRIMARY KEY (id),
KEY idx_k (k)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE IF NOT EXISTS sbtest2 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest3 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest4 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest5 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest6 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest7 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest8 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest9 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest10 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest11 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest12 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest13 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest14 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest15 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest16 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest17 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest18 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest19 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest20 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest21 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest22 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest23 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest24 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest25 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest26 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest27 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest28 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest29 LIKE sbtest1;
CREATE TABLE IF NOT EXISTS sbtest30 LIKE sbtest1;
USE sbtest;
DROP TABLE IF EXISTS
sbtest1, sbtest2, sbtest3, sbtest4, sbtest5,
sbtest6, sbtest7, sbtest8, sbtest9, sbtest10,
sbtest11, sbtest12, sbtest13, sbtest14, sbtest15,
sbtest16, sbtest17, sbtest18, sbtest19, sbtest20,
sbtest21, sbtest22, sbtest23, sbtest24, sbtest25,
sbtest26, sbtest27, sbtest28, sbtest29, sbtest30;
restore database sbtest from recycle_bin;
=====================
Screenshot of database restore crash log
A new crash issue has emerged: executing clear recycle_bin; will also trigger a crash.
Screenshot of crash log when cleaning the recycle bin
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test entry point is named. Start by running the provided SQL for restore and clear recycle_bin, then compare the resulting crash logs; done means both operations complete without crashing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100