Skip to content

Commit a4de316

Browse files
Rename GxMySqlDriverCS to GxMySql to keep compatibility (#274)
Co-authored-by: claudia <cmurialdo@gmail.com> (cherry picked from commit 9f28581)
1 parent 1cd4535 commit a4de316

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dotnet/src/dotnetframework/GxClasses/Data/GXDataADO.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2654,7 +2654,7 @@ GxDataRecord getDbmsDataRecord(string id, string dbms)
26542654
if (Config.GetValueOf("Connection-" + id + "-PROVIDER", out cfgBuf) && cfgBuf.ToLower() == "mysqlconnector")
26552655
return new GxMySqlConnector(id);
26562656
else
2657-
return new GxMySqlDriverCS(id, prepStmt);
2657+
return new GxMySql(id, prepStmt);
26582658
#endif
26592659
case "sqlite":
26602660
return new GxSqlite();

dotnet/src/dotnetframework/GxClasses/Data/GXDataMysqlDriverCS.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010

1111
namespace GeneXus.Data
1212
{
13-
public class GxMySqlDriverCS : GxDataRecord
13+
public class GxMySql : GxDataRecord
1414
{
15-
static readonly ILog log = log4net.LogManager.GetLogger(typeof(GeneXus.Data.GxMySqlDriverCS));
15+
static readonly ILog log = log4net.LogManager.GetLogger(typeof(GeneXus.Data.GxMySql));
1616
private int MAX_TRIES;
1717
private int m_FailedConnections;
1818
private bool preparedStmts;
19-
public GxMySqlDriverCS(string id)
19+
public GxMySql(string id)
2020
{
2121
if (GxContext.isReorganization && !GXUtil.ExecutingRunX86())
2222
{
2323
MYSQL_FIELD_FACTORY.GetInstance();//Force libmysql load
2424
}
2525
}
26-
public GxMySqlDriverCS(string id, bool prepStmt) : this(id)
26+
public GxMySql(string id, bool prepStmt) : this(id)
2727
{
2828
preparedStmts = prepStmt;
2929
}

0 commit comments

Comments
 (0)