Bug #53629 | Inserting records using NDB API adds empty padding to make value take max space | ||
---|---|---|---|
Submitted: | 13 May 2010 20:32 | Modified: | 16 May 2010 16:51 |
Reporter: | George Tsafas | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Cluster: NDB API | Severity: | S1 (Critical) |
Version: | NDB 7.1.3 | OS: | Any |
Assigned to: | Andrew Hutchings | CPU Architecture: | Any |
Tags: | cluster, ndb, ndbapi, padding, record |
[13 May 2010 20:32]
George Tsafas
[16 May 2010 16:51]
Andrew Hutchings
MySQL uses the space character for padding char characters, so if your application's data needs to be read by MySQL you need to pad using space characters. Please see the third paragraph of: http://dev.mysql.com/doc/refman/5.1/en/char.html