mustal empty database fix

This commit is contained in:
OpenXE 2024-03-26 11:25:47 +00:00
parent c3d60a48fd
commit b882268986
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ $mustal_replacers = [
// Load all db_def from a DB connection into a db_def array
function mustal_load_tables_from_db(string $host, string $schema, string $user, string $passwd, array $replacers) : array {
$tables = array();
$views = array();
// First get the contents of the database table structure
$mysqli = mysqli_connect($host, $user, $passwd, $schema);