Updates to Code for MySQL Concurrency – v1.1 and v1.2
When I wrote the book MySQL Concurrency I included a Python module for MySQL Shell that would help reproducing the examples in the book. Since things change, it has been necessary to update the code. In this blog I will explain what the changes are which also give me a chance to say thanks to those that have submitted pull requests.
Version v1.1 was mostly about correcting the directory structure of the repository which was not as it was meant to be – and different from the instructions in the book. Additionally some files with code listings and images were missing. Finally, I added a check whether the
set_current_schema() method is available for the session in the
load() method. This check is needed as only the new X Protocol (the default for MySQL Shell) supports setting the default schema in MySQL Shell modules.
Version v1.2 updates the
load() feature to work with the new download location for the
world schema. It has been moved from https://downloads.mysql.com/docs/world.sql.zip to https://downloads.mysql.com/docs/world-db.zip, and the
world.sql file is now located inside the
world-db folder after unzipping the file.
If you do run into problems with the module or find any issues in the book, feel free to bring it to my attention, and I will do my best to rectify it.