fetch (DB2::Statement)

    # File lib/active_record/vendor/db2.rb, line 296
        def fetch
          cols = get_col_desc
          rc = SQLFetch(@handle)
          if rc == SQL_NO_DATA_FOUND
            SQLFreeStmt(@handle, SQL_CLOSE)        # Close cursor
            SQLFreeStmt(@handle, SQL_RESET_PARAMS) # Reset parameters
            return nil
          end
          raise "ERROR" unless rc == SQL_SUCCESS

          retval = []
          cols.each_with_index do |c, i|
            rc, content = SQLGetData(@handle, i + 1, c[1], c[2] + 1) #yun added 1 to c[2]
            retval << adjust_content(content)
          end
          retval
        end