Skip to content

Commit

Permalink
4.0.8 (#642)
Browse files Browse the repository at this point in the history
* 600 add browser usage for the docker image (#601)

* add instructions to run browser UI

* set hostname to 0.0.0.0

* fix crash in rewrite call subquery (#604)

* fix crash in rewrite call subquery

* simplified test query

---------

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>

* use debug assert in rust (#606)

* fix merge init (#609)

* fix merge init

* remove unused function, simplified branch assignment logic

* clean

---------

Co-authored-by: Roi Lipman <roilipman@gmail.com>

* Unwind persist (#613)

* persist unwind record

* deep clone base record

* Disable jit (#612)

* persist unwind record

* disable GraphBLAS JIT

* Update module api (#617)

* update RediSearch submodule

* bump RediSearch version

* updated redis module api header file

* make sure there's a record to emit (#623)

* update RediSearch (#640)

* bump version

---------

Co-authored-by: Dudi <16744955+dudizimber@users.noreply.github.com>
Co-authored-by: Avi Avni <avi.avni@gmail.com>
  • Loading branch information
3 people committed Apr 16, 2024
1 parent bec19b4 commit 0c7e0b1
Show file tree
Hide file tree
Showing 5 changed files with 263 additions and 50 deletions.
2 changes: 1 addition & 1 deletion deps/RediSearch
9 changes: 3 additions & 6 deletions src/execution_plan/ops/op_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ static Record _handoff
(
OpCreate *op
) {
return array_pop(op->records);
if(array_len(op->records) > 0) return array_pop(op->records);
else return NULL;
}

static Record CreateConsume
Expand All @@ -149,10 +150,6 @@ static Record CreateConsume
// consume mode
op->records = array_new(Record, 32);

// initialize the records array with NULL, which will terminate execution
// upon depletion
array_append(op->records, NULL);

OpBase *child = NULL;
GraphContext *gc = QueryCtx_GetGraphCtx();

Expand Down Expand Up @@ -211,7 +208,7 @@ static void CreateFree(OpBase *ctx) {

if(op->records) {
uint rec_count = array_len(op->records);
for(uint i = 1; i < rec_count; i++) OpBase_DeleteRecord(op->records[i]);
for(uint i = 0; i < rec_count; i++) OpBase_DeleteRecord(op->records[i]);
array_free(op->records);
op->records = NULL;
}
Expand Down
Loading

0 comments on commit 0c7e0b1

Please sign in to comment.