Skip to content
  • Lakshmi Narayanan Sreethar's avatar
    c1125521
    BUG#14798022 : "CHAR (0)" DATATYPE CAUSING ERROR 1296 (HY000) · c1125521
    Lakshmi Narayanan Sreethar authored
    PART III
    
    Fixes regression caused by the original patch on SPARC machines.
    The actual patch gave wrong results when the condition for the char(0)
    field was pushed down to ndbd during select queries on SPARC machines.
    Root Cause : bit fields are not supported in condition pushdown.
    Since char(0) is treated as bit internally, the error occured.
    This patch fixes that by disabling char(0) condition push down.
    Changes:
      - ndb_serialize_cond now disallows pushing char(0) conditions
      - added test case
    c1125521
    BUG#14798022 : "CHAR (0)" DATATYPE CAUSING ERROR 1296 (HY000)
    Lakshmi Narayanan Sreethar authored
    PART III
    
    Fixes regression caused by the original patch on SPARC machines.
    The actual patch gave wrong results when the condition for the char(0)
    field was pushed down to ndbd during select queries on SPARC machines.
    Root Cause : bit fields are not supported in condition pushdown.
    Since char(0) is treated as bit internally, the error occured.
    This patch fixes that by disabling char(0) condition push down.
    Changes:
      - ndb_serialize_cond now disallows pushing char(0) conditions
      - added test case
Loading