| Bug #42731 | Binary column padded with \0, not trimmed on retrieve | ||
|---|---|---|---|
| Submitted: | 10 Feb 2009 14:56 | Modified: | 10 Feb 2009 17:43 |
| Reporter: | Olaf van der Spek (Basic Quality Contributor) | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 5.1.31 | OS: | Windows |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | qc | ||
[10 Feb 2009 14:56]
Olaf van der Spek
[10 Feb 2009 17:17]
Sergei Golubchik
See here: http://dev.mysql.com/doc/refman/5.1/en/binary-varbinary.html " Values are right-padded with 0x00 on insert, and no trailing bytes are removed on select. "
[10 Feb 2009 17:43]
Olaf van der Spek
Yeah, thanks, my bad. Binary values shouldn't be trimmed anyway.
