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

Add HSET, HGET and HINCR and improvement of SET, removed FOREIGN KEY #23

Merged
merged 21 commits into from
Nov 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed commented-out code
  • Loading branch information
olapiv authored and mikaelronstrom committed Nov 14, 2024
commit b27887e1e24d9aa17adf2245039d4aac9616e8ab
4 changes: 4 additions & 0 deletions pink/rondis/tests/get_set.sh
Original file line number Diff line number Diff line change
@@ -102,6 +102,10 @@ for i in {1..10000}; do
echo "SET $KEY:piped_$i value_$i"
done | redis-cli --pipe --verbose

echo "Testing edge case large key length (Redis allows up to 512MB for the value)..."
edge_value=$(head -c 100000 < /dev/zero | tr '\0' 'b')
set_and_get "$KEY:edge_large" "$edge_value"

incr_key="$key:incr$RANDOM"
incr_output=$(redis-cli INCR "$incr_key")
incr_result=$(redis-cli GET "$incr_key")