loaddata crashes on SQLite when table names are SQL keywords. Description
loaddata crashes on SQLite when table names are SQL keywords. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Steps to reproduce: Create a Model called Order. (order is a SQL reserved word) Create fixtures for the model Use manage.py loaddata to load the fixture. Notice that it…
The task
Steps to reproduce: Create a Model called Order. (order is a SQL reserved word) Create fixtures for the model Use manage.py loaddata to load the fixture. Notice that it fails with the following error. This is because the table name order is not quoted properly (0.000) PRAGMA foreign_key_check(order); args=None…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.