-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I'm hitting an issue with rpow locally when I try to turn logging on or off.
The issue is the CRM_Logging_Schema class makes liberal use of $this-db defined as
if (defined('CIVICRM_LOGGING_DSN')) {
$dsn = DB::parseDSN(CIVICRM_LOGGING_DSN);
$this->useDBPrefix = (CIVICRM_LOGGING_DSN != CIVICRM_DSN);
}
else {
$dsn = DB::parseDSN(CIVICRM_DSN);
$this->useDBPrefix = FALSE;
}
$this->db = $dsn['database'];
With RPOW enabled $this->db winds up as '' and the queries wind up as
'CREATE TABLE .civicrm_x'
I'm wondering what the best approach is here @totten
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels