Skip to content

table "ref_commits" does not have column "commit_hash" #365

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

Closed
ajnavarro opened this issue Jul 3, 2018 · 1 comment
Closed

table "ref_commits" does not have column "commit_hash" #365

ajnavarro opened this issue Jul 3, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ajnavarro
Copy link
Contributor

Trying to executing the following query:

mysql> SELECT files.blob_hash,files.file_path, ref_commits.commit_hash from files NATURAL JOIN commit_files NATURAL JOIN ref_commits where ref_commits.ref_name = 'HEAD' and ref_commits.index = 0;

I have the next error:

ERROR 1105 (HY000): unknown error: table "ref_commits" does not have column "commit_hash"

ref_commits table:

mysql> describe table ref_commits;
+---------------+-------+
| name          | type  |
+---------------+-------+
| repository_id | TEXT  |
| commit_hash   | TEXT  |
| ref_name      | TEXT  |
| index         | INT64 |
+---------------+-------+
4 rows in set (0,00 sec)
@erizocosmico
Copy link
Contributor

Closed by #260

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

No branches or pull requests

3 participants