duckdb 0.3.2-dev1320.0 → 0.3.2-dev1332.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/duckdb.hpp CHANGED
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
13
  #define DUCKDB_AMALGAMATION_EXTENDED 1
14
- #define DUCKDB_SOURCE_ID "73578846c"
15
- #define DUCKDB_VERSION "v0.3.2-dev1320"
14
+ #define DUCKDB_SOURCE_ID "9c16ab9ed"
15
+ #define DUCKDB_VERSION "v0.3.2-dev1332"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //
@@ -11055,6 +11055,9 @@ public:
11055
11055
  //! The query text that corresponds to this SQL statement
11056
11056
  string query;
11057
11057
 
11058
+ protected:
11059
+ SQLStatement(const SQLStatement &other) = default;
11060
+
11058
11061
  public:
11059
11062
  //! Create a copy of this SelectStatement
11060
11063
  virtual unique_ptr<SQLStatement> Copy() const = 0;
@@ -15924,6 +15927,9 @@ public:
15924
15927
 
15925
15928
  bool CTEIsAlreadyBound(CommonTableExpressionInfo *cte);
15926
15929
 
15930
+ //! Add the view to the set of currently bound views - used for detecting recursive view definitions
15931
+ void AddBoundView(ViewCatalogEntry *view);
15932
+
15927
15933
  void PushExpressionBinder(ExpressionBinder *binder);
15928
15934
  void PopExpressionBinder();
15929
15935
  void SetActiveBinder(ExpressionBinder *binder);
@@ -15985,6 +15991,8 @@ private:
15985
15991
  BindingMode mode = BindingMode::STANDARD_BINDING;
15986
15992
  //! Table names extracted for BindingMode::EXTRACT_NAMES
15987
15993
  unordered_set<string> table_names;
15994
+ //! The set of bound views
15995
+ unordered_set<ViewCatalogEntry *> bound_views;
15988
15996
 
15989
15997
  private:
15990
15998
  //! Bind the default values of the columns of a table
@@ -16268,6 +16276,9 @@ public:
16268
16276
  //! The main query node
16269
16277
  unique_ptr<QueryNode> node;
16270
16278
 
16279
+ protected:
16280
+ SelectStatement(const SelectStatement &other);
16281
+
16271
16282
  public:
16272
16283
  //! Create a copy of this SelectStatement
16273
16284
  unique_ptr<SQLStatement> Copy() const override;