[FIX] congig in config

This commit is contained in:
Edouard DUPIN 2025-01-25 15:48:35 +01:00
parent a7c9bb5e1b
commit ca18d3759d
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ public class DBAccessSQL extends DBAccess {
} else { } else {
// TODO : Maybe connect with a temporary not specified connection interface to a db ... // TODO : Maybe connect with a temporary not specified connection interface to a db ...
final PreparedStatement ps = this.db.getConnection() final PreparedStatement ps = this.db.getConnection()
.prepareStatement("SHOW TABLES IN `" + this.db.getCongig().getDbName() + "`"); .prepareStatement("SHOW TABLES IN `" + this.db.getConfig().getDbName() + "`");
final ResultSet rs = ps.executeQuery(); final ResultSet rs = ps.executeQuery();
// LOGGER.info("List all tables: equals? '{}'", name); // LOGGER.info("List all tables: equals? '{}'", name);
while (rs.next()) { while (rs.next()) {

View File

@ -76,7 +76,7 @@ public abstract class DbIo implements Closeable {
return this.config.equals(config); return this.config.equals(config);
} }
public DbConfig getCongig() { public DbConfig getConfig() {
return this.config; return this.config;
} }
} }