[MCOL-4164] Multi-table DROP Created: 2020-07-12 Updated: 2021-01-12 Resolved: 2020-07-13 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | DDLProc |
| Affects Version/s: | 1.5.3 |
| Fix Version/s: | 5.4.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Roman | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
This feature should work for both the "force drop" introduced by This is very easy to reproduce. The following is an example of loading the sample "Employees" dataset from datacharmer. These are InnoDB tables and yet we still get a Columnstore error:
This is the statement that throws the error:
|
| Comments |
| Comment by Roman [ 2020-07-12 ] | |||||||||||||||||
|
Plz review. | |||||||||||||||||
| Comment by Gagan Goel (Inactive) [ 2020-07-13 ] | |||||||||||||||||
|
Patch is merged. For QA: Please test that the multi-table drop statements work as expected with the fix. | |||||||||||||||||
| Comment by Gregory Dorman (Inactive) [ 2020-07-13 ] | |||||||||||||||||
|
dleeyh - specifically: 1. drop IF EXISTS on multiple non existent tables. Make sure no error messages are given, but warning messages are (like we have on single node) | |||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2020-07-13 ] | |||||||||||||||||
|
Build verified: 1.5.3 (Jenkins b368) Tested on Centos 7 MariaDB [(none)]> create database d1; MariaDB [(none)]> use d1; MariaDB [d1]> show warnings;
------
------ MariaDB [d1]> DROP TABLE dept_emp, MariaDB [d1]> show warnings;
------
------ MariaDB [d1]> use mytest Database changed
------------------
------------------ MariaDB [mytest]> drop table lineitem; MariaDB [mytest]> drop table orders, orders2, quicktest; MariaDB [mytest]> show tables; |