From d773f4d8b0f1966ecb3d849e5c57b19c360e5e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 25 Apr 2008 13:22:17 +0000 Subject: [PATCH] use "IF EXISTS" when dropping table git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20817 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../CMFActivity/skins/activity/SQLDict_dropMessageTable.zsql | 2 +- .../CMFActivity/skins/activity/SQLQueue_dropMessageTable.zsql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/product/CMFActivity/skins/activity/SQLDict_dropMessageTable.zsql b/product/CMFActivity/skins/activity/SQLDict_dropMessageTable.zsql index d9d7e477b8..b81e4e2668 100644 --- a/product/CMFActivity/skins/activity/SQLDict_dropMessageTable.zsql +++ b/product/CMFActivity/skins/activity/SQLDict_dropMessageTable.zsql @@ -8,4 +8,4 @@ class_name: class_file: </dtml-comment> <params></params> -DROP TABLE message +DROP TABLE IF EXISTS message diff --git a/product/CMFActivity/skins/activity/SQLQueue_dropMessageTable.zsql b/product/CMFActivity/skins/activity/SQLQueue_dropMessageTable.zsql index 8d505a01c5..5ba816b072 100644 --- a/product/CMFActivity/skins/activity/SQLQueue_dropMessageTable.zsql +++ b/product/CMFActivity/skins/activity/SQLQueue_dropMessageTable.zsql @@ -8,4 +8,4 @@ class_name: class_file: </dtml-comment> <params></params> -DROP TABLE message_queue +DROP TABLE IF EXISTS message_queue -- 2.30.9