mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fixed bug #32282: TEXT silently truncates when value is exactly 65536
bytes length. The server has been modified to report warnings on truncation to 65536 bytes as usual.
This commit is contained in:
@ -858,7 +858,7 @@ outp:
|
||||
with optional left padding (for binary -> UCS2 conversion)
|
||||
|
||||
SYNOPSIS
|
||||
well_formed_copy_nhars()
|
||||
well_formed_copy_nchars()
|
||||
to Store result here
|
||||
to_length Maxinum length of "to" string
|
||||
to_cs Character set of "to" string
|
||||
@ -997,7 +997,10 @@ outp:
|
||||
goto outp;
|
||||
}
|
||||
else
|
||||
{
|
||||
from= from_prev;
|
||||
break;
|
||||
}
|
||||
}
|
||||
*from_end_pos= from;
|
||||
res= to - to_start;
|
||||
|
Reference in New Issue
Block a user