[MDEV-30500] Drop statement not droped in specific circumstances Created: 2023-01-30 Updated: 2023-03-27 Resolved: 2023-03-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.7.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Mitchell Lee | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows 11 22H2 |
||
| Issue Links: |
|
||||||||
| Description |
|
Below sample statements make not expected error that duplicated records. on windows 11, ------------------------------- *+ drop TABLE if EXISTS _temp_table;+* INSERT INTO START TRANSACTION; ------------------------
INSERT INTO START TRANSACTION; |
| Comments |
| Comment by Vladislav Vaintroub [ 2023-01-31 ] |
|
If you need temporary table, why don't you CREATE TEMPORARY TABLE? |
| Comment by Mitchell Lee [ 2023-01-31 ] |
|
I'm FULLY aware what you r talking about. |
| Comment by Mitchell Lee [ 2023-01-31 ] |
|
and the CREATE TEMPORARY TABLE usage condition u guys posted is |
| Comment by Vladislav Vaintroub [ 2023-01-31 ] |
|
Ok could you then, please create a standalone reproducible case, put it into an .sql file so it can run from the client, and we'll happily look into it. |
| Comment by Mitchell Lee [ 2023-02-01 ] |
|
1. If call the CREATE TEMPORARY TABLE statemtent in one single connection in a infinite loop(of course same temp table name as the specification). Your team garantee that drop cleanly? None of logical exception expected? 2. If call the CREATE TEMPORARY TABLE statement by each different connection(but might be a same thread sometime since the user uncontrollerble behavior) each 0.5 ~1.0 second. Your team garantee that drop cleanly? None of logical exception expected? |
| Comment by Mitchell Lee [ 2023-02-26 ] |
|
After upgrade to 10.7.8 and observing for a while, |