From a51321fb1b96374224e67638997efc285cad048b Mon Sep 17 00:00:00 2001 From: Vito Botta Date: Tue, 7 Jan 2020 17:47:48 +0200 Subject: [PATCH] Increase size of 'value' column in sys.operator table --- pkg/sidecar/appconf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sidecar/appconf.go b/pkg/sidecar/appconf.go index 68bd85260..c38af1711 100644 --- a/pkg/sidecar/appconf.go +++ b/pkg/sidecar/appconf.go @@ -189,7 +189,7 @@ func initFileQuery(cfg *Config, gtidPurged string) []byte { queries = append(queries, fmt.Sprintf( "CREATE TABLE IF NOT EXISTS %[1]s.%[2]s ("+ " name varchar(64) PRIMARY KEY,"+ - " value varchar(512) NOT NULL\n)", + " value varchar(8192) NOT NULL\n)", constants.OperatorDbName, constants.OperatorStatusTableName)) // mark node as not configured at startup, the operator will mark it configured