Files
maridadb_python_connecter_s…/README.MD
2020-09-14 13:50:57 +02:00

10 lines
480 B
Markdown

## Usage
1. start the db with *docker-compose.yml*
2. create the tables and fill them with mock-data using *mockdata.sql*
3. run the script *segfault_python.py* enter any number below 1000 when prompted, **NO padding**. eg. "345"
4. Everything is fine.
5. change the zero-padding of the uid column with *change_zfill.sql*
6. run the script *segfault_python.py*, enter any number below 1000 but **REMEMBER to zero pad to 10 digits** eg. *"0000000345"* .
7. Watch the world burn.