From 0b0c13a3c1e4f0f6e21373a4f28d541c658a0daf Mon Sep 17 00:00:00 2001 From: monishdeb Date: Wed, 24 Sep 2014 21:22:31 +0530 Subject: [PATCH] Changed prepare name to more distinctive name --- CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl index 7b01d5c003..f4acee9e65 100644 --- a/CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl +++ b/CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl @@ -349,9 +349,9 @@ ALTER TABLE civicrm_case -- CRM-15343 set the auto increment civicrm_case_type.id start point to max id to avoid conflict in future insertion SELECT @max_case_type_id := max(id) from civicrm_case_type; SET @query = CONCAT("ALTER TABLE civicrm_case_type AUTO_INCREMENT = ", @max_case_type_id); -PREPARE stmt FROM @query; -EXECUTE stmt; -DEALLOCATE PREPARE stmt; +PREPARE alter_case_type_auto_inc FROM @query; +EXECUTE alter_case_type_auto_inc; +DEALLOCATE PREPARE alter_case_type_auto_inc; DELETE FROM civicrm_option_value WHERE option_group_id = @option_group_id_case_type; -- 2.25.1