You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: source/ddbc/drivers/mysqlddbc.d
+6-6
Original file line number
Diff line number
Diff line change
@@ -120,8 +120,8 @@ private:
120
120
public:
121
121
122
122
// db connections are DialectAware
123
-
override Dialect getDialect() {
124
-
returnDialect.MYSQL5; // TODO: add support for MySQL8
123
+
override DialectType getDialectType() {
124
+
returnDialectType.MYSQL5; // TODO: add support for MySQL8
125
125
}
126
126
127
127
voidlock() {
@@ -312,8 +312,8 @@ private:
312
312
313
313
public:
314
314
// statements are DialectAware
315
-
override Dialect getDialect() {
316
-
return conn.getDialect();
315
+
override DialectType getDialectType() {
316
+
return conn.getDialectType();
317
317
}
318
318
319
319
voidcheckClosed() {
@@ -458,8 +458,8 @@ class MySQLPreparedStatement : MySQLStatement, PreparedStatement {
458
458
public:
459
459
460
460
// prepared statements are DialectAware
461
-
override Dialect getDialect() {
462
-
return conn.getDialect();
461
+
override DialectType getDialectType() {
462
+
return conn.getDialectType();
463
463
}
464
464
465
465
/// Retrieves a ResultSetMetaData object that contains information about the columns of the ResultSet object that will be returned when this PreparedStatement object is executed.
Copy file name to clipboardexpand all lines: source/ddbc/drivers/odbcddbc.d
+6-6
Original file line number
Diff line number
Diff line change
@@ -344,8 +344,8 @@ version (USE_ODBC)
344
344
public:
345
345
346
346
// db connections are DialectAware
347
-
override Dialect getDialect() {
348
-
returnDialect.TSQL; // todo: handle TSQL and PLSQL
347
+
override DialectType getDialectType() {
348
+
returnDialectType.TSQL; // todo: handle TSQL and PLSQL
349
349
}
350
350
351
351
voidlock() {
@@ -590,8 +590,8 @@ version (USE_ODBC)
590
590
591
591
public:
592
592
// statements are DialectAware
593
-
override Dialect getDialect() {
594
-
return conn.getDialect();
593
+
override DialectType getDialectType() {
594
+
return conn.getDialectType();
595
595
}
596
596
597
597
voidcheckClosed() {
@@ -994,8 +994,8 @@ version (USE_ODBC)
994
994
public:
995
995
996
996
// prepared statements are DialectAware
997
-
override Dialect getDialect() {
998
-
return conn.getDialect();
997
+
override DialectType getDialectType() {
998
+
return conn.getDialectType();
999
999
}
1000
1000
1001
1001
/// Retrieves a ResultSetMetaData object that contains information about the columns of the ResultSet object that will be returned when this PreparedStatement object is executed.
0 commit comments