GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — ReadStreamHeadPosition/Version by yreynhout · Pull Request #391 · SQLStreamStore/SQLStreamStore
This repository was archived by the owner on Aug 15, 2024. It is now read-only.
Conversation
| ||||||||||||||||||||||||||||||||||
| { | ||
| GuardAgainstDisposed(); | ||
|
|
||
| return (await ReadStreamBackwards(streamId, StreamVersion.End, 1, false, cancellationToken)).LastStreamPosition; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
If this could be solved in a more optimized way for the http provider, please show me how.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| { | ||
| GuardAgainstDisposed(); | ||
|
|
||
| return (await ReadStreamBackwards(streamId, StreamVersion.End, 1, false, cancellationToken)).LastStreamVersion; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
If this could be solved in a more optimized way for the http provider, please show me how.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -280,13 +281,63 @@ protected override async Task<long> ReadHeadPositionInternal(CancellationToken c | |||
|
|
|||
| if(result == DBNull.Value) | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I've left this in - but the test for the new operations seem to suggest this path will never be hit (since result is either null or a value, not DBNull.Value). Similar remark in other relational store implementations.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.