Skip to content

Commit ab6e8f3

Browse files
author
Gabriela Martinez
committed
Merge remote-tracking branch 'remotes/origin/6.7' into 6.8
2 parents 323b152 + de0b4ab commit ab6e8f3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Tests/MySql.Data.Tests/CharacterSetTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ public void Latin1Connection()
9191
[Fact]
9292
public void GetSchemaOnUTF8()
9393
{
94-
if (st.Version.Major >= 6) return;
9594

9695
st.execSQL("CREATE TABLE Test(name VARCHAR(40) NOT NULL, name2 VARCHAR(20)) " +
9796
"CHARACTER SET utf8");
@@ -109,6 +108,8 @@ public void GetSchemaOnUTF8()
109108
[Fact]
110109
public void UTF8BlogsTruncating()
111110
{
111+
112+
st.execSQL("DROP TABLE IF EXISTS test");
112113
st.execSQL("CREATE TABLE test (name LONGTEXT) CHARSET utf8");
113114

114115
string szParam = "test:éàçùêû";

Tests/MySql.Data.Tests/SetUp.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ protected void LoadBaseConfiguration()
181181
else
182182
port = int.Parse(portString);
183183
if (string.IsNullOrEmpty(pipeName))
184-
pipeName = string.Format("MySQL{0}", Version.ToString().Substring(0, 3).Replace(".", ""));
184+
pipeName = "MySQLSocket";
185185
if (string.IsNullOrEmpty(memoryName))
186-
memoryName = string.Format("MySQL{0}", Version.ToString().Substring(0, 3).Replace(".", ""));
186+
memoryName = "MySQLSocket";
187187

188188
}
189189

0 commit comments

Comments
 (0)