mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fixed signed/unsigned error on Windows
This commit is contained in:
parent
dd3ffdbd92
commit
1f5a8e1f77
1 changed files with 2 additions and 1 deletions
|
@ -17555,7 +17555,8 @@ xid:
|
|||
{
|
||||
MYSQL_YYABORT_UNLESS($1->length() <= MAXGTRIDSIZE &&
|
||||
$3->length() <= MAXBQUALSIZE &&
|
||||
$5 <= std::numeric_limits<int32_t>::max());
|
||||
$5 <= static_cast<ulong>(
|
||||
std::numeric_limits<int32_t>::max()));
|
||||
if (unlikely(!(Lex->xid=(XID *)thd->alloc(sizeof(XID)))))
|
||||
MYSQL_YYABORT;
|
||||
Lex->xid->set($5, $1->ptr(), $1->length(), $3->ptr(), $3->length());
|
||||
|
|
Loading…
Add table
Reference in a new issue