| Age | Commit message (Collapse) | Author |
|
on SQLite.
Regression in 2f73e5406d54cb8945e187eff302a3a3373350be.
Thanks David Wobrock for the report.
Backport of 7b0e9ea53ca99de2f485ec582f3a79be34b531d4 from main
|
|
parallel using spawn on Windows.
Thanks Simon Willison for inspiration.
Backport of 80777d30b34968c39479d943822d2d335aba1571 from main
|
|
Regression in 0b95a96ee10d3e12aef01d449467bcf4641286b4.
Thanks Aristotelis Mikropoulos for the report.
Backport of 4483a9b12f295908e68b82d6599f460de943444f from main
|
|
SQLite 3.35.5+.
Regression in 702819227fd0cdd9b581cd99e11d1561d51cbeb.
Thanks cessor for the report.
Backport of c0beff21239e70cbdcc9597e5be09e505bb8f76c from main
|
|
parameters.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 877c800f255ccaa7abde1fb944de45d1616f5cc9 from main
|
|
|
|
|
|
Co-authored-by: Valz <ahmadahussein0@gmail.com>
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
|
|
In SQLite 3.35+ some math functions are available built-in as long as
they are not disabled at compile time. We can introspect this and use
these built-in functions in preference to our slower implementations.
|
|
Thanks Tim Graham for the review.
|
|
ALTER TABLE ... DROP COLUMN was introduced in SQLite 3.35+ however
a data corruption issue was fixed in SQLite 3.35.5.
|
|
|
|
|
|
SQLite 3.7.11 introduced the ability to use multiple values directly.
SQLite 3.8.8 made multiple values not subject to the
SQLITE_LIMIT_COMPOUND_SELECT (500).
|
|
Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope,
and Mariusz Felisiak for reviews.
|
|
Regression in 2f73e5406d54cb8945e187eff302a3a3373350be.
Thanks Alan Crosswell for the report.
|
|
|
|
|
|
Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
|
|
SQLite.
Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
|
|
Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
|
|
Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
|
|
Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
|
|
Thanks to Nick Pope for spotting the bug in Code Review.
Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
|
|
SQLite.
|
|
This flag is currently unused on SQLite because it doesn't support
dropping a DEFAULT clause, however it requires literal defaults, rather
than parameterized ones, so we can set it for clarity.
|
|
|
|
|
|
Unneeded since c0e3c65b9d1b26cfc38137b7666ef0e108aab77f.
|
|
DatabaseIntrospection._get_foreign_key_constraints().
The get_relations() method returns the exact same data in a more generic
format.
|
|
Previous solution was using brittle and complex parsing rules to
extract them from the SQL used to define the tables.
Removed a now unnecessary unit test that ensured the removed parsing
logic accounted for optional spacing.
|
|
tables.
All the other backends behave this way and we had to make adjustments
to our test suite to account for this discrepancy.
This also allows SQLite's get_relations() not to raise on a nonexistent
table while making sure the InspectDBTestCase.test_introspection_errors
test which ensures an error during introspection is surfaced in
generated models files still passes.
|
|
Thanks yakimka for the report.
Regression in fde9b7d35e4e185903cc14aa587ca870037941b1.
|
|
Thanks Simon Charette for the report.
|
|
The foreign keys are "in" the given table, not "to" it.
|
|
DatabaseFeatures.supports_mixed_date_datetime_comparisons.
|
|
BaseDatabaseFeatures.has_case_insensitive_like to False.
|
|
Thanks Simon Charette for the implementation idea.
|
|
md5 is not an approved algorithm in FIPS mode, and trying to instantiate
a hashlib.md5() will fail when the system is running in FIPS mode.
md5 is allowed when in a non-security context. There is a plan to add a
keyword parameter (usedforsecurity) to hashlib.md5() to annotate whether
or not the instance is being used in a security context.
In the case where it is not, the instantiation of md5 will be allowed.
See https://bugs.python.org/issue9216 for more details.
Some downstream python versions already support this parameter. To
support these versions, a new encapsulation of md5() has been added.
This encapsulation will pass through the usedforsecurity parameter in
the case where the parameter is supported, and strip it if it is not.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick
Pope, and Paul Ganssle for reviews.
|
|
BaseDatabaseSchemaEditor.column_sql().
|
|
covering/deferrable unique constraints on SQLite.
|
|
scalar values on SQLite.
|
|
|
|
ThreadedWSGIServer is used by LiveServerTestCase.
|
|
SQLite 3.35+.
|
|
|
|
SQLite.
|
|
transforms with booleans on SQLite.
Thanks Matthew Cornell for the report.
|
|
Thanks Ian Foote and Mariusz Felisiak for reviews.
|