public void testBug22613() throws Exception {
  createTable("bug22613","( s set('a','bc','def','ghij') default NULL, t enum('a', 'ab', 'cdef'), s2 SET('1','2','3','4','1585','ONE','TWO','Y','N','THREE'))");
  checkMetadataForBug22613(this.conn);
  if (versionMeetsMinimum(5,0)) {
    Connection infoSchemConn=null;
    try {
      Properties props=new Properties();
      props.setProperty("useInformationSchema","true");
      infoSchemConn=getConnectionWithProps(props);
      checkMetadataForBug22613(infoSchemConn);
    }
  finally {
      if (infoSchemConn != null) {
        infoSchemConn.close();
      }
    }
  }
}

public void testBug22613 ( ) throws Exception { createTable ( "bug22613" , "( s set('a','bc','def','ghij') default NULL, t enum('a', 'ab', 'cdef'), s2 SET('1','2','3','4','1585','ONE','TWO','Y','N','THREE'))" ) ; checkMetadataForBug22613 ( this . conn ) ; if ( versionMeetsMinimum ( 5 , 0 ) ) { Connection infoSchemConn = null ; try { Properties props = new Properties ( ) ; props . setProperty ( "useInformationSchema" , "true" ) ; infoSchemConn = getConnectionWithProps ( props ) ; checkMetadataForBug22613 ( infoSchemConn ) ; } finally { if ( infoSchemConn != null ) { infoSchemConn . close ( ) ; } } } }
tests fix for bug # 22613 - dbmd . getcolumns ( ) does not return expected column_size for the set type ( fixed to be consistent with the odbc driver )
