phpmyadmin / phpmyadmin/phpmyadmin

Paging issue with Stored Procedure Results

Open
#17,861 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
PHP
Stars
7.9k
Forks
3.6k
Avg merge
4d 18h
Merged PRs (30d)
36

Description

Describe the bug

When a large number of rows are returned from a Stored Procedure, they are not paged correctly, and all are displayed at once.

To Reproduce

Steps to reproduce the behavior:

  1. create a stored procedure which selects multiple rows
  2. In the SQL tab, run call
  3. Scroll down to result
  4. See that the results are not paged correctly
Expected behavior

The paging rate would apply to the Stored Procedure Results as well.

Screenshots

image
Image says 'Showing rows 0-24' but all 300 rows are returned in this page.

Server configuration

Currently on PhpMyAdmin Demo Site

  • phpMyAdmin version: 5.2.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the SQL tab on the phpMyAdmin demo site with a stored procedure that returns many rows, then trace how its result set is rendered and paginated. Done means a result showing rows 0-24 displays only that page and subsequent pages contain the remaining rows.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
databases, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.