From f55dc7f733446a201e3b465ae03a0388d192a3ad Mon Sep 17 00:00:00 2001 From: Monty Date: Mon, 8 Jan 2018 15:33:23 +0200 Subject: Change C_STRING_WITH_LEN to STRING_WITH_LEN This preserves const str for constant strings Other things - A few variables where changed from LEX_STRING to LEX_CSTRING - Incident_log_event::Incident_log_event and record_incident where changed to take LEX_CSTRING* as an argument instead of LEX_STRING --- sql/sql_sequence.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_sequence.cc') diff --git a/sql/sql_sequence.cc b/sql/sql_sequence.cc index 8fd5bfe371c..de7ec26eebb 100644 --- a/sql/sql_sequence.cc +++ b/sql/sql_sequence.cc @@ -54,7 +54,7 @@ static Field_definition sequence_structure[]= {"maximum_value", 21, &type_handler_longlong, STRING_WITH_LEN(""), FL}, {"start_value", 21, &type_handler_longlong, {STRING_WITH_LEN("start value when sequences is created or value if RESTART is used")}, FL}, {"increment", 21, &type_handler_longlong, - {C_STRING_WITH_LEN("increment value")}, FL}, + {STRING_WITH_LEN("increment value")}, FL}, {"cache_size", 21, &type_handler_longlong, STRING_WITH_LEN(""), FL | UNSIGNED_FLAG}, {"cycle_option", 1, &type_handler_tiny, {STRING_WITH_LEN("0 if no cycles are allowed, 1 if the sequence should begin a new cycle when maximum_value is passed")}, -- cgit v1.2.1