summaryrefslogtreecommitdiff
path: root/mysql-test/t/events_bugs.test
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2006-06-22 16:42:50 +0200
committerunknown <knielsen@mysql.com>2006-06-22 16:42:50 +0200
commit3c6d0b6ae8f766d78e08505909d6de73833cb971 (patch)
tree0d04a669f70251865e4db969a401ca732fa193ba /mysql-test/t/events_bugs.test
parentcb28cf8d88bf2a0e99fc37059d05c97dd1a904ec (diff)
downloadmariadb-git-3c6d0b6ae8f766d78e08505909d6de73833cb971.tar.gz
BUG#20549: Fix missing memory initialization.
Some values were not initialized, causing Valgrind errors (and potential random bugs): - NDB binlog thread thd->variables.pseudo_thread_id. - Table null bits. - Field bytes for columns with NULL values. sql/ha_ndbcluster_binlog.cc: Fix initialization of thd->variables.pseudo_thread_id. Change double alloc_root() call to multi_alloc_root(). Fix missing initialization of null bits. sql/sql_class.cc: Do not read from the supplied record for NULL values, use the default value record instead. Otherwise we will get Valgrind errors about uninitialised values written to binlog, as NDB does not initialize the memory in records for NULL fields.
Diffstat (limited to 'mysql-test/t/events_bugs.test')
0 files changed, 0 insertions, 0 deletions