mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
Applying InnoDB snapshot
Detailed revision comments: r6864 | mmakela | 2010-03-24 14:05:53 +0200 (Wed, 24 Mar 2010) | 1 line branches/zip: dtype_new_store_for_order_and_null_size(): Add ut_ad() on mtype.
This commit is contained in:
parent
64d2ade65d
commit
538d3f2a75
1 changed files with 4 additions and 0 deletions
|
@ -285,6 +285,10 @@ dtype_new_store_for_order_and_null_size(
|
|||
#endif
|
||||
ulint len;
|
||||
|
||||
ut_ad(type);
|
||||
ut_ad(type->mtype >= DATA_VARCHAR);
|
||||
ut_ad(type->mtype <= DATA_MYSQL);
|
||||
|
||||
buf[0] = (byte)(type->mtype & 0xFFUL);
|
||||
|
||||
if (type->prtype & DATA_BINARY_TYPE) {
|
||||
|
|
Loading…
Reference in a new issue