Value metaResult = mysql_query(env, sql, null);
Mysqli conn = getConnection(env);  Value metaResult = conn.validateConnection().query(sql);
  public Value mysql_field_flags(Env env,                                 @NotNull MysqliResult result,                                 int fieldOffset)    throws Throwable  {    if (result == null)      return BooleanValue.FALSE;    Value fieldTable = result.fetch_field_table(fieldOffset);    Value fieldName = result.fetch_field_name(fieldOffset);    if ((fieldTable == BooleanValue.FALSE) || (fieldName == BooleanValue.FALSE))      return BooleanValue.FALSE;    String sql = "SHOW FULL COLUMNS FROM " + fieldTable.toString() + " LIKE \'" + fieldName.toString() + "\'";    Value metaResult = mysql_query(env, sql, null);    if (metaResult instanceof JdbcResultResource)      return ((JdbcResultResource) metaResult).getFieldFlags();    return BooleanValue.FALSE;  }