From eae2404c5611d12f359bf66470a1ff458d909033 Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Mon, 4 Nov 2013 22:52:27 -0500 Subject: [PATCH] CRM-13702 specify log table --- CRM/Logging/Schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index 877be2dad1..1e3acda5a8 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -245,7 +245,7 @@ AND TABLE_NAME LIKE 'log_civicrm_%' // for any obsolete columns (not null) we just make the column nullable. if (!empty($cols['OBSOLETE'])) { - $create = $this->_getCreateQuery("log_{$table}"); + $create = $this->_getCreateQuery("`{$this->db}`.log_{$table}"); foreach ($cols['OBSOLETE'] as $col) { $line = $this->_getColumnQuery($col, $create); // This is just going to make a not null column to nullable -- 2.25.1