FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-108364: In sqlite3, disable foreign keys before dumping SQL schema by felixxm · Pull Request #113957 · python/cpython · GitHub

Repository navigation

gh-108364: In sqlite3, disable foreign keys before dumping SQL schema - #113957

Merged
erlend-aasland merged 1 commit into
python:mainfrom
felixxm:pr/108471
Jan 12, 2024
Merged

erlend-aasland merged 1 commit into
python:mainfrom
felixxm:pr/108471

Conversation

felixxm commented Jan 11, 2024 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Comment thread Lib/sqlite3/dump.py Outdated
Comment thread Lib/test/test_sqlite3/test_dump.py Outdated

erlend-aasland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks, Mariusz!

Please apply Serhiy's style suggestions; I'll land this tomorrow.

…schema

Co-Authored-By: Erlend E. Aasland <erlend@python.org>

felixxm commented Jan 12, 2024

Copy link
Copy Markdown
Contributor Author

Thanks for reviews 🥇 Updated.

serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

For future, please do not use rebase and force push. It helps reviewers to see what was changed since the last review.

erlend-aasland merged commit de777e4 into python:main Jan 12, 2024

Copy link
Copy Markdown
Contributor

Thanks, @felixxm!

kulikjak pushed a commit to kulikjak/cpython that referenced this pull request Jan 22, 2024
…schema (python#113957)

sqlite3.Connection.iterdump now ensures that foreign key support is
disabled before dumping the database schema, if there is any foreign key
violation.

Co-authored-by: Erlend E. Aasland <erlend@python.org>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…schema (python#113957)

sqlite3.Connection.iterdump now ensures that foreign key support is
disabled before dumping the database schema, if there is any foreign key
violation.

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…schema (python#113957)

sqlite3.Connection.iterdump now ensures that foreign key support is
disabled before dumping the database schema, if there is any foreign key
violation.

Co-authored-by: Erlend E. Aasland <erlend@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL