Skip to content

Conversation

@aensidhe
Copy link
Member

  • Fix tests to be deterministic
  • Fix error in EVAL semantic
  • Fix error in CALL semantic
  • Implement CALL 1.7 semantic
  • Handle nulls in response

{
var hashCode = EqualityComparer<T1>.Default.GetHashCode(Item1);
return hashCode;
unchecked
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need unchecked{} section here?
What about other TarantoolTuple classes (<T1,T2> and so on)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@roman-kozachenko in this class - no we do not need. But we need it in other classes. So, as this code is autogenerated, I will not edit it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aensidhe Actually I already found that, forgot to remove comment

var singleNode = options.ConnectionOptions.Nodes.Single();

_socket = new Socket(SocketType.Stream, ProtocolType.Tcp);
#if PROGAUDI_NETCORE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you don't need that #if anymore.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

box.once('init', init)
function return_scalar()
return 1
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test what happens when you call a function without return statement?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@roman-kozachenko ok. I added tests and separate overload for call for this

if (_clientOptions.LogWriter == null)
return;

var builder = new StringBuilder("Warning: can't match request via requestId from response. Response:");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extract to separate method

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@aensidhe aensidhe merged commit b9f0820 into master Oct 27, 2016
@aensidhe aensidhe deleted the fix/tests/cleanup branch October 27, 2016 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants