This commit is contained in:
Redkale
2018-07-15 22:18:52 +08:00
parent 86895eb5ef
commit c2c8f700a2

View File

@@ -89,6 +89,7 @@ public abstract class PoolSource<DBChannel> {
pos = url0.indexOf(':'); pos = url0.indexOf(':');
if (pos > 0) dbtype0 = url0.substring(0, pos); if (pos > 0) dbtype0 = url0.substring(0, pos);
} }
if ("mysqlx".equalsIgnoreCase(dbtype0)) dbtype0 = "mysql"; //MySQL X DevAPI
} }
this.dbtype = dbtype0.toLowerCase(); this.dbtype = dbtype0.toLowerCase();
parseAddressAndDbnameAndAttrs(); parseAddressAndDbnameAndAttrs();