Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix transfer of SIValue ownership in DISTINCT function #2176

Merged
merged 2 commits into from Feb 27, 2022

Conversation

jeffreylovitz
Copy link
Contributor

This PR fixes an invalid assumption about SIValue memory scope in the Distinct function.

Resolves #2171

@codecov
Copy link

codecov bot commented Feb 23, 2022

Codecov Report

Merging #2176 (1100df0) into master (c6d9f18) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2176      +/-   ##
==========================================
- Coverage   93.08%   93.08%   -0.01%     
==========================================
  Files         251      251              
  Lines       22523    22523              
==========================================
- Hits        20966    20965       -1     
- Misses       1557     1558       +1     
Impacted Files Coverage Δ
...c/arithmetic/conditional_funcs/conditional_funcs.c 100.00% <100.00%> (ø)
src/util/thpool/thpool.c 82.38% <0.00%> (-0.63%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c6d9f18...1100df0. Read the comment docs.

@swilly22 swilly22 merged commit 870d0a2 into master Feb 27, 2022
@swilly22 swilly22 deleted the distinct-transfer-memory branch February 27, 2022 13:25
AviAvni pushed a commit that referenced this pull request Mar 2, 2022
Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
swilly22 added a commit that referenced this pull request Mar 7, 2022
* Add rueidis to the client list of README.md (#2153)

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

* Document how to set run-time configurations (#2161)

* Add rueidis to the client list of README.md (#2153)

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

* check for queries with different than 1 statement (#2163)

* check for invalid queries

* address review

* spelling

* Update test_query_validation.py

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

* fix benchmarks name (#2174)

* Bind Argument ops to the subplan they belong to (#2167)

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

* Fix transfer of SIValue ownership in DISTINCT function (#2176)

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

* Modern GCC for ARM (#2181)

* Modern GCC for ARM

* fixes 1

* Add "dsl" field for query arguments of commands (#2180)

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

* fix perf issue of allShortestPath (#2173)

* fix perf issue

* review comments

* renaming

* removed TODO

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

* add arm to deploy branch (#2182)

* Remove purposeless variable check in comprehensions (#2155)

* Remove purposeless variable check in comprehensions

* Fix test

* add test

* comments

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
Co-authored-by: Avi Avni <avi.avni@gmail.com>

* aggregation should return a default values when aggregation is keyles… (#2151)

* aggregation should return a default values when aggregation is keyless and no data was processed

* update graph deletion tests

* address PR comments

* use child record to perform forced aggregation

* update construction logic

* WIP

* fix build

* fixs for test

* wip

* fix

* fix

* fix

* fix tck

* reviews

* WIP

* WIP

* WIP

* WIP

* refactor

* address review comments

* fix leak

Co-authored-by: Avi Avni <avi.avni@gmail.com>

Co-authored-by: Rueian <rueiancsie@gmail.com>
Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
Co-authored-by: Jeffrey Lovitz <jeffrey.lovitz@gmail.com>
Co-authored-by: Rafi Einstein <raffapen@outlook.com>
Co-authored-by: romansergeenkosofteq <roman.sergeenko@softeq.com>
Co-authored-by: swilly22 <roi@redislabs.com>
pnxguide pushed a commit to CMU-SPEED/RedisGraph that referenced this pull request Mar 22, 2023
Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.8.8GA toJSON() major bug, missing/corrupted data returned on simple query
2 participants