1 | //===----------------------------------------------------------------------===// |
2 | // DuckDB |
3 | // |
4 | // duckdb/verification/unoptimized_statement_verifier.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/verification/statement_verifier.hpp" |
12 | |
13 | namespace duckdb { |
14 | |
15 | class UnoptimizedStatementVerifier : public StatementVerifier { |
16 | public: |
17 | explicit UnoptimizedStatementVerifier(unique_ptr<SQLStatement> statement_p); |
18 | static unique_ptr<StatementVerifier> Create(const SQLStatement &statement_p); |
19 | |
20 | bool DisableOptimizer() const override { |
21 | return true; |
22 | } |
23 | }; |
24 | |
25 | } // namespace duckdb |
26 | |