mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- Fix MDEV-16167 Cannot insert unsigned values into a VEC table
modified: storage/connect/filamvct.cpp modified: storage/connect/tabvct.cpp _ Typo modified: storage/connect/CMakeLists.txt
This commit is contained in:
@@ -456,13 +456,11 @@ bool VCTCOL::SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check)
|
||||
|
||||
if (tdbp->Txfp->GetAmType() == TYPE_AM_VMP && ok) {
|
||||
Blk = AllocValBlock(g, (void*)1, Buf_Type, tdbp->Txfp->Nrec,
|
||||
Format.Length,
|
||||
Format.Prec, check);
|
||||
Format.Length, Format.Prec, check, true, Unsigned);
|
||||
Status |= BUF_MAPPED; // Will point into mapped file
|
||||
} else
|
||||
Blk = AllocValBlock(g, NULL, Buf_Type, tdbp->Txfp->Nrec,
|
||||
Format.Length,
|
||||
Format.Prec, check);
|
||||
Format.Length, Format.Prec, check, true, Unsigned);
|
||||
} // endif Mode
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user