You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ct...@apache.org on 2020/10/22 14:33:44 UTC

[fluo] branch main updated: Remove IF NOT EXISTS from create database command (#1108)

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo.git


The following commit(s) were added to refs/heads/main by this push:
     new 24924a9  Remove IF NOT EXISTS from create database command (#1108)
24924a9 is described below

commit 24924a9153072ba466c48d6db928831af835f550
Author: Karthick Narendran <ka...@gmail.com>
AuthorDate: Thu Oct 22 15:25:11 2020 +0100

    Remove IF NOT EXISTS from create database command (#1108)
    
    The `IF NOT EXISTS` syntax has been removed from Influxdb v1.0.0
    onwards. Ref: https://github.com/influxdata/influxdb/issues/5707
    
    Co-authored-by: Karthick Narendran <ka...@microsoft.com>
---
 contrib/influxdb/fluo_metrics_setup.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/influxdb/fluo_metrics_setup.txt b/contrib/influxdb/fluo_metrics_setup.txt
index 868dabe..fd04584 100644
--- a/contrib/influxdb/fluo_metrics_setup.txt
+++ b/contrib/influxdb/fluo_metrics_setup.txt
@@ -13,7 +13,7 @@
 
 # DDL
 CREATE USER fluo WITH PASSWORD 'secret' WITH ALL PRIVILEGES
-CREATE DATABASE IF NOT EXISTS fluo_metrics
+CREATE DATABASE fluo_metrics
 CREATE RETENTION POLICY r3d ON fluo_metrics DURATION 3d REPLICATION 1 DEFAULT
 CREATE RETENTION POLICY r3m ON fluo_metrics DURATION 12w REPLICATION 1