| 21 | } |
| 22 | |
| 23 | void ASTUndropQuery::formatQueryImpl(WriteBuffer & ostr, const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const |
| 24 | { |
| 25 | ostr |
| 26 | << "UNDROP TABLE" |
| 27 | |
| 28 | << " "; |
| 29 | |
| 30 | chassert(table); |
| 31 | |
| 32 | if (table) |
| 33 | { |
| 34 | if (database) |
| 35 | { |
| 36 | database->format(ostr, settings, state, frame); |
| 37 | ostr << '.'; |
| 38 | } |
| 39 | |
| 40 | chassert(table); |
| 41 | table->format(ostr, settings, state, frame); |
| 42 | } |
| 43 | |
| 44 | if (uuid != UUIDHelpers::Nil) |
| 45 | ostr << " UUID " |
| 46 | << quoteString(toString(uuid)); |
| 47 | |
| 48 | formatOnCluster(ostr, settings); |
| 49 | } |
| 50 | |
| 51 | } |
nothing calls this directly
no test coverage detected