|
|
@@ -57,7 +57,7 @@ class Core_Storage_Mysql extends Core_StorageBase {
|
|
|
$sth->bindValue(':tbl_name', $tblName, PDO::PARAM_STR);
|
|
|
$sth->execute();
|
|
|
$structRaw = $sth->fetchAll();
|
|
|
- if (empty($structRaw)) throw new Exception("Empty struct for table '{$tblName}' (tried :db_name = ".$this->getDatabaseName()." ", 404);
|
|
|
+ if (empty($structRaw)) throw new Exception("Empty struct for table '{$tblName}'", 404);
|
|
|
foreach ($structRaw as $field) {
|
|
|
$struct[$field['name']] = $field;
|
|
|
}
|