From 69f67b942a1dd30a38d79743220c73be0c382852 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Oct 2011 16:38:31 +0200 Subject: Enable ON DELETE CASCADE-based checks for MySQL Now that we generate proper foreign keys for containers. --- common/erase-query/driver.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'common/erase-query') diff --git a/common/erase-query/driver.cxx b/common/erase-query/driver.cxx index 0b2d7f5..40290ec 100644 --- a/common/erase-query/driver.cxx +++ b/common/erase-query/driver.cxx @@ -13,7 +13,6 @@ #include #include -#include // @@ DATABASE_MYSQL #include #include "test.hxx" @@ -156,17 +155,12 @@ main (int argc, char* argv[]) t.commit (); } - // @@ Temporarily disabled until we have out-of-line constraints - // in MySQL (coming with evolution support). - // -#ifndef DATABASE_MYSQL { transaction t (db->begin ()); assert (db->execute ("SELECT * FROM erase_query_object_v " "WHERE object_id = 1") == 0); t.commit (); } -#endif } catch (const odb::exception& e) { -- cgit v1.1