setUpPool method
Implementation
void setUpPool(String? dir, String dbn, int maxPoolSize) {
this.maxPoolSize = maxPoolSize;
if (dbPool == null) dbPool = Map();
poolName = getPoolName(dir, dbn);
if (dbPool!.containsKey(poolName)) {
for (String name in dbPool!.keys) {
print("set=" + name);
}
//throw SqlException(SqlExceptionEnum.SQL_SYNTAX_ERROR,
// cause: "Cannot create a pool with existing database " + poolName);
} else {
print("Adding pool " + poolName);
if (supportsPool()) {
throw ArgumentError("Pooling not supported in dartlang");
//dbPool[poolName]= MiniConnectionPoolManager(getConnectionPoolDataSource(), maxPoolSize);
} else
dbPool![poolName] = Object();
}
}