Value result = validateConnection().getCatalogs();  if (result instanceof JdbcResultResource) return _env.wrapJava(new MysqliResult((JdbcResultResource) result)); else return result;
return validateConnection().getCatalogs();
  public Value list_dbs()  {    Value result = validateConnection().getCatalogs();    if (result instanceof JdbcResultResource)      return _env.wrapJava(new MysqliResult((JdbcResultResource) result));    else      return result;  }