You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What does it mean to add CRLF? append \n\r still crash RedCat
try cat.updateValue(["Joannis", "Orlandos", 20], forKey: "qwe:123")
print("\(try cat.listKeys("qwe*"))")
print("\(try cat.get("qwe*"))") <--- Error CRLF
print("\(try cat.get("qwe:123"))") <--- No error, return the array result
fatal error: Error raised at top level: DRIVER String length not terminated with CRLF: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-800.0.63/src/swift/stdlib/public/core/ErrorType.swift, line 184
The text was updated successfully, but these errors were encountered:
The output for nonexistent key with GET in redis-cli is (nil) Null Bulk String, it is a valid scenario to display as empty or "notfound" instead of error?
127.0.0.1:6379> GET qwe*
(nil)
This is called a Null Bulk String. The client library API should not return an empty string, but a nil object, when the server replies with a Null Bulk String. For example a Ruby library should return 'nil' while a C library should return NULL (or set a special flag in the reply object), and so forth. https://redis.io/topics/protocol
What does it mean to add CRLF? append
\n\r
still crash RedCatfatal error: Error raised at top level: DRIVER String length not terminated with CRLF: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-800.0.63/src/swift/stdlib/public/core/ErrorType.swift, line 184
The text was updated successfully, but these errors were encountered: