mirror of
https://github.com/MariaDB/server.git
synced 2026-05-08 08:04:29 +02: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
743aa8780d
commit
242f45fd08
1 changed files with 4 additions and 0 deletions
|
|
@ -285,6 +285,10 @@ dtype_new_store_for_order_and_null_size(
|
||||||
#endif
|
#endif
|
||||||
ulint len;
|
ulint len;
|
||||||
|
|
||||||
|
ut_ad(type);
|
||||||
|
ut_ad(type->mtype >= DATA_VARCHAR);
|
||||||
|
ut_ad(type->mtype <= DATA_MYSQL);
|
||||||
|
|
||||||
buf[0] = (byte)(type->mtype & 0xFFUL);
|
buf[0] = (byte)(type->mtype & 0xFFUL);
|
||||||
|
|
||||||
if (type->prtype & DATA_BINARY_TYPE) {
|
if (type->prtype & DATA_BINARY_TYPE) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue