Mariusz Felisiak
|
a41b09266d
|
Fixed #30380 -- Handled bytes in MySQL backend for PyMySQL support.
This commit partly reverts efd8a82e26 .
|
2019-04-19 20:34:20 +02:00 |
can
|
cef3f2d3c6
|
Fixed #28373 -- Used connection timezone instead of UTC when making dates timezone-aware on MySQL, SQLite, and Oracle.
Thanks vtalpaert for the initial patch.
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
2019-04-08 08:59:17 +02:00 |
Sergey Fedoseev
|
1933e56eca
|
Removed uneeded generator expressions and list comprehensions.
|
2019-02-09 09:18:48 -05:00 |
Tim Graham
|
284b3221a2
|
Fixed #30013 -- Fixed DatabaseOperations.last_executed_query() with mysqlclient 1.3.14+.
|
2018-12-05 14:46:23 -05:00 |
Mariusz Felisiak
|
f2e2a1bd4b
|
Fixed #29845 -- Fixed Cast crash on MySQL when casting to DecimalField.
|
2018-10-15 15:57:22 +02:00 |
Sergey Fedoseev
|
3957f767bb
|
Simplified handling of DurationField values on MySQL/MariaDB.
|
2018-10-09 10:38:42 -04:00 |
Jon Dufresne
|
efd8a82e26
|
Refs #27795 -- Removed force_bytes() usage in MySQL backend.
The mysqlclient cursor attribute `_last_executed` is always stored as
bytes. Decode it.
TextField values are already type str. No need to decode.
|
2018-10-03 10:37:36 +02:00 |
Jon Dufresne
|
82f286cf6f
|
Refs #29784 -- Switched to https:// links where available.
|
2018-09-26 08:48:47 +02:00 |
Sigurd Ljødal
|
3e09b37f80
|
Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.
|
2018-08-18 13:09:15 -04:00 |
Tom
|
f1fbef6cd1
|
Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts.
|
2018-08-03 17:40:46 -04:00 |
Mariusz Felisiak
|
ac25dd1f8d
|
Fixed #29569 -- Fixed Cast() with AutoField and BigAutoField.
|
2018-07-25 08:00:11 +02:00 |
Tom Forbes
|
45c035c823
|
Refs #29548 -- Fixed non-GIS test failures on MariaDB.
|
2018-07-09 14:59:42 -04:00 |
Michal Čihař
|
39e287d8bf
|
Fixed #29544 -- Fixed regex lookup on MariaDB.
Regression in 4249076844 .
|
2018-07-05 12:11:49 -04:00 |
Tom
|
4249076844
|
Refs #29451 -- Fixed regex/iregex lookups on MySQL 8.
|
2018-06-20 10:57:28 -04:00 |
Tom
|
c1c163b427
|
Fixed #28574 -- Added QuerySet.explain().
|
2018-04-19 10:52:19 -04:00 |
Sergey Fedoseev
|
d696fccae6
|
Fixed #29209 -- Fixed Cast() with TextField on MySQL and Oracle.
|
2018-03-12 21:57:14 -04:00 |
Sergey Fedoseev
|
ba4a986240
|
Refs #28459 -- Improved performance of time difference expressions on MySQL.
|
2018-03-01 14:42:21 +05:00 |
Sigurd Ljødal
|
a455e732a0
|
Fixed #28650 -- Added TruncWeek database function.
|
2018-01-27 09:59:13 -05:00 |
Sergey Fedoseev
|
ae6fa914aa
|
Fixed #28926 -- Fixed loss of precision of big DurationField values on SQLite and MySQL.
|
2017-12-28 17:35:41 -05:00 |
Sergey Fedoseev
|
44908d4d93
|
Fixed #28967 -- Prevented Cast to FloatField from rounding to integer on MySQL.
|
2017-12-27 19:16:37 -05:00 |
Nick Pope
|
d13a9e44de
|
Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.
|
2017-12-11 07:08:45 -05:00 |
Sergey Fedoseev
|
c5a2f48bed
|
Improved performance of loading DateTimeField on Oracle and MySQL.
|
2017-12-08 09:53:27 -05:00 |
Tim Graham
|
8a1768432b
|
Fixed #28552 -- Dropped support for MySQL 5.5.
|
2017-09-25 14:48:11 -04:00 |
Mariusz Felisiak
|
b61d5b1991
|
Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't provided.
Thanks Tim Graham for the review.
|
2017-07-27 19:36:47 +02:00 |
Mariusz Felisiak
|
8e41373c81
|
Allowed database backends to specify data types for Cast().
A small refactor ahead of refs #28371.
|
2017-07-26 20:26:58 -04:00 |
Tim Graham
|
487362fa8f
|
Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value().
Unused since a0d166306f .
|
2017-07-20 16:30:08 -04:00 |
Mariusz Felisiak
|
df1106a40f
|
Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value with similar methods.
|
2017-07-06 07:37:47 -04:00 |
Mads Jensen
|
c7f6ffbdcf
|
Fixed #28103 -- Added quarter extract, truncation, and lookup.
Thanks Mariusz Felisiak, Tim Graham, and Adam Johnson for review.
|
2017-06-08 15:15:29 -04:00 |
Sergey Fedoseev
|
e7afef13f5
|
Fixed #26788 -- Fixed QuerySet.update() crash when updating a geometry to another one.
|
2017-04-10 13:26:26 -04:00 |
Mariusz Felisiak
|
15c14f6f16
|
Fixed #27802 -- Unified return value of db backend datetime SQL methods.
|
2017-02-06 09:19:13 -05:00 |
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
Claude Paroz
|
7b2f2e74ad
|
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
|
2017-01-18 20:18:46 +01:00 |
Claude Paroz
|
d7b9aaa366
|
Refs #23919 -- Removed encoding preambles and future imports
|
2017-01-18 09:55:19 +01:00 |
Tim Graham
|
5139832398
|
Refs #26285 -- Removed MySQL __search lookup per deprecation timeline.
|
2017-01-17 20:52:03 -05:00 |
anabelensc
|
1c12df4aa6
|
Fixed #25912 -- Added binary left/right shift operators to F expressions.
Thanks Mariusz Felisiak for review and MySQL advice.
|
2017-01-03 14:15:46 -05:00 |
Mariusz Felisiak
|
fd2f7e4767
|
Fixed #27681 -- Fixed binary &/| operators for negative values on MySQL.
|
2017-01-03 12:41:44 -05:00 |
Mariusz Felisiak
|
b63d0c54b0
|
Fixed #24959 -- Fixed queries using negative timedeltas on MySQL and Oracle.
|
2016-11-23 09:10:47 -05:00 |
Mads Jensen
|
1446902be4
|
Fixed #25240 -- Added ExtractWeek and exposed it through the __week lookup.
Thanks to Mariusz Felisiak and Tim Graham for review.
|
2016-11-11 08:01:40 -05:00 |
Matthew Wilkes
|
4f138fe5a4
|
Fixed #22288 -- Fixed F() expressions with the __range lookup.
|
2016-08-19 13:40:56 -04:00 |
Anderson Resende
|
0d1218896f
|
Fixed #26950 -- Removed obsolete DatabaseOperations SQL methods.
Unused as of 2b039d966f .
|
2016-07-27 07:34:44 -04:00 |
Simon Charette
|
8a4f017f45
|
Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.
Thanks Tim for the review.
|
2016-07-08 12:35:34 -04:00 |
Simon Charette
|
082c52dbed
|
Refs #25774, #26348 -- Allowed Trunc functions to operate with time fields.
Thanks Josh for the amazing testing setup and Tim for the review.
|
2016-07-08 12:35:34 -04:00 |
Tim Graham
|
df8d8d4292
|
Fixed E128 flake8 warnings in django/.
|
2016-04-08 09:51:06 -04:00 |
Claude Paroz
|
204e00c0c5
|
Fixed #26140 -- Suppressed MySQL warning when inserting binary content
Thanks Tim Graham for the review.
|
2016-03-14 18:08:13 +01:00 |
Marc Tamlyn
|
8ddc79a799
|
Fixed #26285 -- Deprecated the MySQL-specific __search lookup.
|
2016-03-02 14:41:56 -05:00 |
Simon Charette
|
766afc22a1
|
Fixed #24793 -- Unified temporal difference support.
|
2016-02-26 12:25:12 -05:00 |
George Marshall
|
710e11d076
|
Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL.
|
2015-11-24 11:09:15 -05:00 |
Mariusz Felisiak
|
0f6d51e6a0
|
Fixed #25470 -- Avoided unnecessary, expensive DATETIME typecast on MySQL.
|
2015-10-21 19:24:19 -04:00 |
Alex Hill
|
134ca4d438
|
Fixed #24509 -- Added Expression support to SQLInsertCompiler
|
2015-09-22 23:35:24 +10:00 |
Jon Dufresne
|
44f3ee7716
|
Fixed #9596 -- Added date transform for DateTimeField.
|
2015-06-02 08:49:10 -04:00 |