summaryrefslogtreecommitdiff
path: root/sql/vers_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/vers_string.h')
-rw-r--r--sql/vers_string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/vers_string.h b/sql/vers_string.h
index 4e173f86e6e..67fd421500e 100644
--- a/sql/vers_string.h
+++ b/sql/vers_string.h
@@ -40,6 +40,8 @@ struct Compare_identifiers
{
int operator()(const LEX_CSTRING& a, const LEX_CSTRING& b) const
{
+ DBUG_ASSERT(a.str != NULL);
+ DBUG_ASSERT(b.str != NULL);
DBUG_ASSERT(a.str[a.length] == 0);
DBUG_ASSERT(b.str[b.length] == 0);
return my_strcasecmp(system_charset_info, a.str, b.str);