You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Pagination doesn't work as expected for identical table names in different databases. Count is greater than rows in table.
I have attached the SQL files for both databases.
To Reproduce
Steps to reproduce the behavior:
Create two databases db_test_1 and db_test_2 (database names don't matter)
Create a table name db_test_1.tbl_test and insert 3 rows
Copy the table with structure and data in the second database
Insert 100-200 rows in db_test_2.tbl_test
Open db_test_1.tbl_test in a browser tab
Open db_test_2.tbl_test in another browser tab
Navigate to a page greater than 1 in db_test_2.tbl_test
Click on table name at the top in db_test_1.tbl_test
See error - Showing rows 75 - 74 (75 total, Query took 0.0004 seconds.) even though the first table has 3 rows, and pagination is messed.
Expected behavior
An accurate count should be done when clicking on table name at the top.
Screenshots
First table
Second table
Server configuration
Operating system: Windows
Web server: nginx/1.21.1
Database version: 5.7.35 - MySQL Community Server (GPL)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
BugA problem or regression with an existing featurehas-prAn issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Describe the bug
Pagination doesn't work as expected for identical table names in different databases. Count is greater than rows in table.
I have attached the SQL files for both databases.
To Reproduce
Steps to reproduce the behavior:
db_test_1anddb_test_2(database names don't matter)db_test_1.tbl_testand insert 3 rowsdb_test_2.tbl_testdb_test_1.tbl_testin a browser tabdb_test_2.tbl_testin another browser tabdb_test_2.tbl_testdb_test_1.tbl_testShowing rows 75 - 74 (75 total, Query took 0.0004 seconds.)even though the first table has 3 rows, and pagination is messed.Expected behavior
An accurate count should be done when clicking on table name at the top.
Screenshots
First table
Second table
Server configuration
Client configuration
Additional context
tables.zip
The text was updated successfully, but these errors were encountered: