Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong table count on space separated numbers #16895

Closed
williamdes opened this issue May 10, 2021 · 1 comment
Closed

Wrong table count on space separated numbers #16895

williamdes opened this issue May 10, 2021 · 1 comment
Assignees
Labels
Bug A problem or regression with an existing feature
Projects
Milestone

Comments

@williamdes
Copy link
Member

Describe the bug

Sélection_2021051022:57:59001

Sélection_2021051023:01:22001
Sélection_2021051023:02:11001

Server configuration

  • phpMyAdmin version: 5.1
@williamdes williamdes added the Bug A problem or regression with an existing feature label May 10, 2021
@williamdes williamdes added this to the 5.1.1 milestone May 10, 2021
@williamdes williamdes self-assigned this May 10, 2021
@williamdes williamdes added this to Needs triage in issues via automation May 10, 2021
@williamdes williamdes moved this from Needs triage to Reproduced in issues May 10, 2021
@williamdes
Copy link
Member Author

$ node
> strRows ="7 973 078"
'7 973 078'
> strRows = strRows.replace(/[,.]/g, '');
'7 973 078'
> strRows = strRows.replace(/[,. ]/g, '');
'7973078'
> strRows = strRows.replace(/[,.\s]/g, '');
'7973078'
> strRows ="7 973 078"
'7 973 078'
> strRows = strRows.replace(/[,.\s]/g, '');
'7973078'
> parseInt(strRows)
7973078
> strRows ="7 973 078"
'7 973 078'
> parseInt(strRows)
7
> 

@williamdes williamdes changed the title Wrong table could on space separated numbers Wrong table count on space separated numbers May 10, 2021
williamdes added a commit that referenced this issue May 10, 2021
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from Reproduced to Closed May 10, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature
Projects
issues
  
Closed
Development

No branches or pull requests

1 participant