diff options
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index fc3102fc9a5..33b921cd946 100644 --- a/sql/table.h +++ b/sql/table.h @@ -1765,6 +1765,8 @@ struct TABLE_LIST mdl_type= MDL_SHARED_READ; bzero((char*) this, sizeof(*this)); + DBUG_ASSERT(!db_name_arg || strlen(db_name_arg) == db_length_arg); + DBUG_ASSERT(!table_name_arg || strlen(table_name_arg) == table_name_length_arg); db= (char*) db_name_arg; db_length= db_length_arg; table_name= (char*) table_name_arg; |