[MDEV-3941] CREATE TABLE xxx IF NOT EXISTS should not block if table exists Created: 2012-12-16 Updated: 2012-12-17 Due: 2012-12-16 Resolved: 2012-12-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | 5.5.29 |
| Type: | Task | Priority: | Blocker |
| Reporter: | Michael Widenius | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
CREATE TABLE xxx IF NOT EXISTS should not block if table exists. If we notice that the table is locked (ie table exists) we will at once give an error instead of waiting for the table to be freed. |
| Comments |
| Comment by Michael Widenius [ 2012-12-16 ] |
|
Pushed into 5.5 tree Note that this also makes CREATE TABLE to not wait if table exists. |