• cmiller@maint1.mysql.com's avatar
    Bug#15583: BIN()/OCT()/CONV() do not work with BIT values · 60a88a57
    cmiller@maint1.mysql.com authored
    Converting BIT to a string (an intermediate step in conversion) does 
    not yield an ASCII numeric string, so we skip that step for BIT and
    get the integer value directly from the item.
    
    This site in sql/item_strfunc.cc may be ripe for refactoring for
    other types as well, where converting to a string is a waste of time.
    60a88a57
item_strfunc.cc 79.2 KB