mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/path-func-record-demote'
* origin/topic/jsiwek/path-func-record-demote: Fix filter path_func to allow record argument as a subset of stream's columns. Conflicts: src/LogMgr.cc Closes #600.
This commit is contained in:
commit
c2e432c5fa
6 changed files with 87 additions and 6 deletions
|
@ -909,8 +909,11 @@ public:
|
|||
// *aggr* is optional; if non-zero, we add to it. See
|
||||
// Expr::InitVal(). We leave it out in the non-const version to make
|
||||
// the choice unambigious.
|
||||
RecordVal* CoerceTo(const RecordType* other, Val* aggr) const;
|
||||
RecordVal* CoerceTo(RecordType* other);
|
||||
//
|
||||
// The *allow_orphaning* parameter allows for a record to be demoted
|
||||
// down to a record type that contains less fields.
|
||||
RecordVal* CoerceTo(const RecordType* other, Val* aggr, bool allow_orphaning = false) const;
|
||||
RecordVal* CoerceTo(RecordType* other, bool allow_orphaning = false);
|
||||
|
||||
unsigned int MemoryAllocation() const;
|
||||
void DescribeReST(ODesc* d) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue