| 1 | //===----------------------------------------------------------------------===// |
| 2 | // DuckDB |
| 3 | // |
| 4 | // duckdb/verification/deserialized_statement_verifier_v2.hpp |
| 5 | // |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #pragma once |
| 10 | |
| 11 | #include "duckdb/verification/statement_verifier.hpp" |
| 12 | |
| 13 | namespace duckdb { |
| 14 | |
| 15 | //------------------------------------------------------------------------------ |
| 16 | // This is a temporary statement verifier that uses the new de/serialization |
| 17 | // infrastructure to verify the correctness of the de/serialization process. |
| 18 | // This verifier will be removed once the new de/serialization infrastructure |
| 19 | // (FormatDe/Serializer) replaces the old one. |
| 20 | class DeserializedStatementVerifierV2 : public StatementVerifier { |
| 21 | public: |
| 22 | explicit DeserializedStatementVerifierV2(unique_ptr<SQLStatement> statement_p); |
| 23 | static unique_ptr<StatementVerifier> Create(const SQLStatement &statement); |
| 24 | }; |
| 25 | |
| 26 | } // namespace duckdb |
| 27 | |