• stewart@flamingspork.com[stewart]'s avatar
    [PATCH] BUG#27404 util thd mysql_parse sig11 when mysqld default multibyte charset · 77e9eb56
    stewart@flamingspork.com[stewart] authored
    NDB util thread calls mysql_parse internally with plain old c strings (7bit ascii) to create tables (e.g. mysql.ndb_schema). With mysqld default charset set to a multibyte one (e.g. ucs2) mysql_parse would try to interpret the 7bit string as UCS2 and promptly explode in a heap.
    
    Solution is to set the util thread to be using utf8 charset.
    
    Index: ndb-work/sql/ha_ndbcluster.cc
    ===================================================================
    77e9eb56
ha_ndbcluster.cc 293 KB