summaryrefslogtreecommitdiff
path: root/sql/mdl.h
diff options
context:
space:
mode:
authorGleb Shchepa <gleb.shchepa@oracle.com>2012-12-05 20:41:29 +0400
committerGleb Shchepa <gleb.shchepa@oracle.com>2012-12-05 20:41:29 +0400
commit46cfbf35f86a6ff63bdfcd85297bd8269efc2826 (patch)
treef39a13e02abebd1304dfdd125b3e467b631cd232 /sql/mdl.h
parentdb2a045f0e00b9a4c76da070e0b50a6198425471 (diff)
downloadmariadb-git-46cfbf35f86a6ff63bdfcd85297bd8269efc2826.tar.gz
Bug #15948123: SERVER WORKS INCORRECT WITH LONG TABLE ALIASES
Post-push cleanup: removal of unneeded assertions.
Diffstat (limited to 'sql/mdl.h')
-rw-r--r--sql/mdl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/mdl.h b/sql/mdl.h
index 6d29ad968c6..d30d30ac2fa 100644
--- a/sql/mdl.h
+++ b/sql/mdl.h
@@ -246,8 +246,6 @@ public:
}
void mdl_key_init(const MDL_key *rhs)
{
- DBUG_ASSERT(rhs->m_length <= NAME_LEN);
- DBUG_ASSERT(rhs->m_db_name_length <= NAME_LEN);
memcpy(m_ptr, rhs->m_ptr, rhs->m_length);
m_length= rhs->m_length;
m_db_name_length= rhs->m_db_name_length;