diff --git a/DESCRIPTION b/DESCRIPTION index bff17ec..fbd83a7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: CohortGenerator Type: Package Title: Cohort Generation for the OMOP Common Data Model -Version: 0.11.1 -Date: 2024-09-12 +Version: 0.11.2 +Date: 2024-09-30 Authors@R: c( person("Anthony", "Sena", email = "sena@ohdsi.org", role = c("aut", "cre")), person("Jamie", "Gilbert", role = c("aut")), diff --git a/NEWS.md b/NEWS.md index 40cb54e..9271fa2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +CohortGenerator 0.11.2 +======================= + +- Ensure temp tables are dropped before creating them (#188) + CohortGenerator 0.11.1 ======================= diff --git a/R/NegativeControlCohorts.R b/R/NegativeControlCohorts.R index a031078..afd816a 100644 --- a/R/NegativeControlCohorts.R +++ b/R/NegativeControlCohorts.R @@ -198,6 +198,7 @@ createNegativeControlOutcomesQuery <- function(connection, } selectClause ncSetQuery <- paste0( + "DROP TABLE IF EXISTS #nc_set;", "CREATE TABLE #nc_set (", " cohort_id bigint NOT NULL,", " outcome_concept_id bigint NOT NULL", diff --git a/docs/404.html b/docs/404.html index 9893fb2..88ce9be 100644 --- a/docs/404.html +++ b/docs/404.html @@ -20,7 +20,7 @@ CohortGenerator - 0.11.1 + 0.11.2