summaryrefslogtreecommitdiff
path: root/sql/sql_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_error.h')
-rw-r--r--sql/sql_error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_error.h b/sql/sql_error.h
index bbe97333210..f020b9cc789 100644
--- a/sql/sql_error.h
+++ b/sql/sql_error.h
@@ -1244,7 +1244,7 @@ uint32 convert_error_message(char *to, uint32 to_length,
extern const LEX_STRING warning_level_names[];
-bool is_sqlstate_valid(const LEX_STRING *sqlstate);
+bool is_sqlstate_valid(const LEX_CSTRING *sqlstate);
/**
Checks if the specified SQL-state-string defines COMPLETION condition.
This function assumes that the given string contains a valid SQL-state.