code: public void get_table( String sql, String args[], TableResult tbl ) throws jsqlite.Exception {
          tbl.clear();
          if (!is3()) {
              try {
                  exec(sql, tbl, args);
              } catch (jsqlite.Exception e) {
                  if (tbl.maxrows <= 0 || !tbl.atmaxrows) {
                      throw e;
                  }
              }
          } else {
              synchronized (this) {
                  /* only one statement !!! */
                  Vm vm = compile(sql, args);
                  if (tbl.maxrows > 0) {
                      while( tbl.nrows < tbl.maxrows && vm.step(tbl) ) {
                          set_last_error(vm.error_code);
                      }
                  } else {
                      while( vm.step(tbl) ) {
                          set_last_error(vm.error_code);
                      }
                  }
                  vm.finalize();
              }
          }
      }
docs: Convenience method to retrieve an entire result
  set into memory.
  
  @param sql the SQL statement to be executed
  @param args arguments for the SQL statement, '%q' substitution
  @param tbl TableResult to receive result set