| 1 | #include "duckdb/planner/binder.hpp" | 
|---|---|
| 2 | #include "duckdb/parser/statement/vacuum_statement.hpp" | 
| 3 | #include "duckdb/planner/operator/logical_simple.hpp" | 
| 4 | |
| 5 | using namespace std; | 
| 6 | |
| 7 | namespace duckdb { | 
| 8 | |
| 9 | BoundStatement Binder::Bind(VacuumStatement &stmt) { | 
| 10 | BoundStatement result; | 
| 11 | result.names = { "Success"}; | 
| 12 | result.types = {SQLType::BOOLEAN}; | 
| 13 | result.plan = make_unique<LogicalSimple>(LogicalOperatorType::VACUUM, move(stmt.info)); | 
| 14 | return result; | 
| 15 | } | 
| 16 | |
| 17 | } // namespace duckdb | 
| 18 | 
