[MDEV-318] IF (NOT) EXIST clauses for ALTER TABLE (MWL #252) Created: 2012-06-06 Updated: 2016-12-13 Due: 2013-03-29 Resolved: 2013-04-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | 10.0.2 |
| Type: | Task | Priority: | Critical |
| Reporter: | Rasmus Johansson (Inactive) | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pf1 | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Description |
|
MySQL / MariaDB SQL is great as a functional language: you tell what you want
This would make definition scripts more legible and more friendly to existing Mind you, this is already possible using temporary stored procedures (as shown Specific plan for this task:extend the ALTER TABLE statement with the IF [NOT] EXISTS options.
Like CREATE TABLE IF NOT EXISTS, and similar existing commands, |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2012-06-06 ] |
|
(Mdcallag - 2012-06-04 23:51:43) |
| Comment by Rasmus Johansson (Inactive) [ 2012-06-06 ] |
|
As a first part create a detailed implementation description/specification and a rough estimate. Let's then ask for feedback on that before starting implementation. |
| Comment by Rasmus Johansson (Inactive) [ 2012-06-08 ] |
|
This feature is wanted for both 5.3 and 5.5. Added fix versions accordingly. |
| Comment by Alexey Botchkov [ 2012-07-08 ] |
|
Patch for this task: |
| Comment by Alexey Botchkov [ 2013-03-29 ] |
|
Pushed into the 10-hf. |