• Narayanan V's avatar
    Bug#44025 Some schema names longer than 8 characters not supported by IBMDB2I · f286444b
    Narayanan V authored
    On IBM i 5.4, schemas with names that are longer 
    than 8 characters and contain digits or an underscore
    cannot contain IBMDB2I tables, even though this should
    theoritically be possible if all alpha characters
    are uppercase.
    
    THe current patch fixes the IBMDB2I engine to
    allow digits and the underscore(_) to be used in
    schema names longer than 8 characters on IBM i 5.4.
    
    storage/ibmdb2i/db2i_misc.h:
      The function which detected whether the
      operating system would treat a schema as an "ordinary identifier" (allowing 10 characters in the name instead of 8) did not cover all possible cases.Function was
      renamed and enhanced to detect all
      possible cases of "ordinary identifiers".
    storage/ibmdb2i/ha_ibmdb2i.cc:
      use the renamed function to cover all
      possible cases of ordinary identifiers.
    f286444b
ha_ibmdb2i.cc 93.2 KB