projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-16251 - Change DROP TABLE to DROP TEMPORARY TABLE
[civicrm-core.git]
/
CRM
/
Campaign
/
Form
/
Task
/
Interview.php
diff --git
a/CRM/Campaign/Form/Task/Interview.php
b/CRM/Campaign/Form/Task/Interview.php
index cfee48b717ac8ecc8f29fe00691a928fbae768df..42644658fbc46a4ba6812799d0d460c5880d5704 100755
(executable)
--- a/
CRM/Campaign/Form/Task/Interview.php
+++ b/
CRM/Campaign/Form/Task/Interview.php
@@
-625,7
+625,7
@@
WHERE {$clause}
//create temporary table to store voter ids.
$tempTableName = CRM_Core_DAO::createTempTableName('civicrm_survey_respondent');
//create temporary table to store voter ids.
$tempTableName = CRM_Core_DAO::createTempTableName('civicrm_survey_respondent');
- CRM_Core_DAO::executeQuery("DROP TABLE IF EXISTS {$tempTableName}");
+ CRM_Core_DAO::executeQuery("DROP T
EMPORARY T
ABLE IF EXISTS {$tempTableName}");
$query = "
CREATE TEMPORARY TABLE {$tempTableName} (
id int unsigned NOT NULL AUTO_INCREMENT,
$query = "
CREATE TEMPORARY TABLE {$tempTableName} (
id int unsigned NOT NULL AUTO_INCREMENT,