$ docker-compose exec gitbase mysql -u root gitbase
...
Server version: 5.5.10-Vitess
MySQL [gitbase]> select * from files as f where blob_hash = '24a8e87939aa53cdd833f6be7610cb4972e063ad' and repository_id = 'github.com/dotnet-architecture/eShopOnUWP' and tree_hash = '7f8975e61c440a66a33eb8702655e393efcaaac3';
+-------------------------------------------+----------------+------------------------------------------+------------------------------------------+-----------------+--------------------------------------------+-----------+
| repository_id | file_path | blob_hash | tree_hash | tree_entry_mode | blob_content | blob_size |
+-------------------------------------------+----------------+------------------------------------------+------------------------------------------+-----------------+--------------------------------------------+-----------+
| github.com/dotnet-architecture/eShopOnUWP | .gitattributes | 24a8e87939aa53cdd833f6be7610cb4972e063ad | 7f8975e61c440a66a33eb8702655e393efcaaac3 | 0100644 | *.png filter=lfs diff=lfs merge=lfs -text
| 42 |
+-------------------------------------------+----------------+------------------------------------------+------------------------------------------+-----------------+--------------------------------------------+-----------+
1 row in set (0.06 sec)
MySQL [gitbase]> select loc(f.file_path, f.blob_content) as loc_value from files as f where blob_hash = '24a8e87939aa53cdd833f6be7610cb4972e063ad' and repository_id = 'github.com/dotnet-architecture/eShopOnUWP' and tree_hash = '7f8975e61c440a66a33eb8702655e393efcaaac3'
-> ;
ERROR 2013 (HY000): Lost connection to MySQL server during query
Running on the following repo:
https://github.com/dotnet-architecture/eShopOnUWP
, apparently: