diff options
Diffstat (limited to 'Plugins/SqlEnterpriseFormatter/formatrelease.cpp')
| -rw-r--r-- | Plugins/SqlEnterpriseFormatter/formatrelease.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Plugins/SqlEnterpriseFormatter/formatrelease.cpp b/Plugins/SqlEnterpriseFormatter/formatrelease.cpp new file mode 100644 index 0000000..52c0b24 --- /dev/null +++ b/Plugins/SqlEnterpriseFormatter/formatrelease.cpp @@ -0,0 +1,16 @@ +#include "formatrelease.h" +#include "parser/ast/sqliterelease.h" + +FormatRelease::FormatRelease(SqliteRelease* release) : + release(release) +{ +} + +void FormatRelease::formatInternal() +{ + withKeyword("RELEASE"); + if (release->savepointKw) + withKeyword("SAVEPOINT"); + + withId(release->name).withSemicolon(); +} |
