docs: void checkCheckConstraint(Session session, Table table, Object[] data) {
  
  /*
          if (session.compiledStatementExecutor.rangeIterators[1] == null) {
              session.compiledStatementExecutor.rangeIterators[1] =
                  rangeVariable.getIterator(session);
          }
  */
          RangeIteratorBase it =
              (RangeIteratorBase) session.sessionContext.getCheckIterator();
  
          if (it == null) {
              it = rangeVariable.getIterator(session);
  
              session.sessionContext.setCheckIterator(it);
          }
  
          it.currentData = data;
  
          boolean nomatch = Boolean.FALSE.equals(check.getValue(session));
  
          it.currentData = null;
  
          if (nomatch) {
              String[] info = new String[] {
                  name.name, table.tableName.name
              };
  
              throw Error.error(ErrorCode.X_23504, ErrorCode.CONSTRAINT, info);
          }
      }