You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/12/01 01:53:33 UTC

[GitHub] [dolphinscheduler] kezhenxu94 commented on a change in pull request #7054: Recover unit tests that have not been run for some time

kezhenxu94 commented on a change in pull request #7054:
URL: https://github.com/apache/dolphinscheduler/pull/7054#discussion_r759794848



##########
File path: dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql
##########
@@ -15,13 +15,13 @@
  * limitations under the License.
 */
 
-SET
-FOREIGN_KEY_CHECKS=0;
+SET FOREIGN_KEY_CHECKS=0;
+SET REFERENTIAL_INTEGRITY FALSE;
 
 -- ----------------------------
 -- Table structure for QRTZ_JOB_DETAILS
 -- ----------------------------
-DROP TABLE IF EXISTS QRTZ_JOB_DETAILS;
+DROP TABLE IF EXISTS QRTZ_JOB_DETAILS CASCADE;

Review comment:
       No. The other files has something like `set foreignkeyconstraintcheck false`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org