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

runtime error: invalid memory address or nil pointer dereference #125

Closed
lcb823 opened this issue Jul 5, 2019 · 5 comments · Fixed by #126
Closed

runtime error: invalid memory address or nil pointer dereference #125

lcb823 opened this issue Jul 5, 2019 · 5 comments · Fixed by #126
Assignees
Labels
bug Something isn't working

Comments

@lcb823
Copy link

lcb823 commented Jul 5, 2019

image

@k1LoW
Copy link
Owner

k1LoW commented Jul 6, 2019

Hi @luchaobo . Thank you for your report !

Could you show me following ?

  • The result of tbls version
  • The result of DEBUG=1 tbls doc YOUR_DSN
  • MySQL version
  • Your database table names

@k1LoW k1LoW added the bug Something isn't working label Jul 6, 2019
@lcb823
Copy link
Author

lcb823 commented Jul 8, 2019

Hi @luchaobo . Thank you for your report !

Could you show me following ?

  • The result of tbls version
  • The result of DEBUG=1 tbls doc YOUR_DSN
  • MySQL version
  • Your database table names

Thanks to reply.
I use the download link "https://github.com/k1LoW/tbls/releases/download/v1.17.0/tbls_v1.17.0_linux_amd64.tar.gz"

The result of "tbls version": dev

The result of "DEBUG=1 tbls doc YOUR_DSN" :
image

MySQL version:MySQL 5.6

Table names: 600+ tables in database.

Maybe too many tables cause the error? I run the command with other db and it works fine.

@lcb823
Copy link
Author

lcb823 commented Jul 8, 2019

Problem solved. Table name contain '-' causes the error. eg:tmp-tablename

@k1LoW
Copy link
Owner

k1LoW commented Jul 8, 2019

Problem solved. Table name contain '-' causes the error. eg:tmp-tablename

Oh! Thank you !! This is bug. I'll fix it.

@k1LoW k1LoW self-assigned this Jul 8, 2019
@k1LoW
Copy link
Owner

k1LoW commented Jul 8, 2019

Table names: 600+ tables in database.

Too big...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants