Skip to content

Commit

Permalink
Fix ServerVersion issue
Browse files Browse the repository at this point in the history
Summary: Now SingleStoreConnection returns version of S2, not MySQL. Updated tests to correspond changes

Test Plan: https://app.circleci.com/pipelines/github/memsql/SingleStoreNETConnector/231/workflows/de2d437f-7d50-4b8e-85c0-0c395bdfc5ab

Reviewers: pmishchenko-ua

Reviewed By: pmishchenko-ua

Subscribers: engineering-list

JIRA Issues: PLAT-6324

Differential Revision: https://grizzly.internal.memcompute.com/D58353
  • Loading branch information
okramarenko committed Sep 12, 2022
1 parent 8f5049c commit eaf22ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SingleStoreConnector/SingleStoreConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,8 @@ public override string ConnectionString

public override string ServerVersion => Session.MySqlCompatVersion.OriginalString;

public string S2ServerVersion => Session.S2ServerVersion.OriginalString;

/// <summary>
/// The connection ID from SingleStore Server.
/// </summary>
Expand Down

0 comments on commit eaf22ac

Please sign in to comment.