[Django] #28794: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Django] #28794: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71

Django
#28794: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71
-------------------------------------+-------------------------------------
               Reporter:  JC         |          Owner:  nobody
                   Type:             |         Status:  new
  Uncategorized                      |
              Component:  Database   |        Version:  2.0
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:  mysql
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Testing on ubuntu 17.10 and received this warning.

 /site-packages/django/db/backends/mysql/base.py:71: Warning: (1287,
 "'@@tx_isolation' is deprecated and will be removed in a future release.
 Please use '@@transaction_isolation' instead")
   return self.cursor.execute(query, args)

 Error does not halt execution but thought I would report it.


 Ubuntu = 17.10
 Python 3.6.3
 MySQL Server/libmysqlclient = 5.7.20
 Django version = 2.0b1

--
Ticket URL: <https://code.djangoproject.com/ticket/28794>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/052.6f4372c1ab1859d98ee79ca2d5c1fbf6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28794: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71

Django
#28794: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71
-------------------------------------+-------------------------------------
     Reporter:  JC                   |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  mysql                |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sergey Fedoseev):

 * stage:  Unreviewed => Accepted


Comment:

 There is some notes in MySQL docs: https://dev.mysql.com/doc/refman/5.7/en
 /server-system-variables.html#sysvar_tx_isolation.

--
Ticket URL: <https://code.djangoproject.com/ticket/28794#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.6afa8a2dd9b2de253f70385ca995634a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28794: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71

Django
In reply to this post by Django
#28794: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71
-------------------------------------+-------------------------------------
     Reporter:  JC                   |                    Owner:  Sergey
                                     |  Fedoseev
         Type:  Uncategorized        |                   Status:  assigned
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  mysql                |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sergey Fedoseev):

 * owner:  nobody => Sergey Fedoseev
 * status:  new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/28794#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.533224fa2cfe69b8a48a19801723cd1d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28794: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71

Django
In reply to this post by Django
#28794: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71
-------------------------------------+-------------------------------------
     Reporter:  JC                   |                    Owner:  Sergey
                                     |  Fedoseev
         Type:  Uncategorized        |                   Status:  assigned
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  mysql                |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sergey Fedoseev):

 * has_patch:  0 => 1


Comment:

 [https://github.com/django/django/pull/9352 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/28794#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.3946a83955f161fdbd0ab61ca80f58ed%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28794: tx_isolation deprecation warning with MySQL 5.7.20+ (was: @@tx_isolation is deprecated warning in django/db/backends/mysql/base.py:71)

Django
In reply to this post by Django
#28794: tx_isolation deprecation warning with MySQL 5.7.20+
-------------------------------------+-------------------------------------
     Reporter:  JC                   |                    Owner:  Sergey
         Type:                       |  Fedoseev
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  mysql                |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * type:  Uncategorized => Cleanup/optimization
 * stage:  Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/28794#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.e894b7c4ab95a5d8dfe221edd2c25fef%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28794: tx_isolation deprecation warning with MySQL 5.7.20+

Django
In reply to this post by Django
#28794: tx_isolation deprecation warning with MySQL 5.7.20+
-------------------------------------+-------------------------------------
     Reporter:  JC                   |                    Owner:  Sergey
         Type:                       |  Fedoseev
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  mysql                |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"967450a3bf940c43db891fe1e2ef3bcf73456ff8" 967450a3]:
 {{{
 #!CommitTicketReference repository=""
 revision="967450a3bf940c43db891fe1e2ef3bcf73456ff8"
 Fixed #28794 -- Fixed tx_isolation deprecation warning on MySQL 5.7.20+.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28794#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.4d3016e6031ea723dddcbc5b0a4b3046%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28794: tx_isolation deprecation warning with MySQL 5.7.20+

Django
In reply to this post by Django
#28794: tx_isolation deprecation warning with MySQL 5.7.20+
-------------------------------------+-------------------------------------
     Reporter:  JC                   |                    Owner:  Sergey
         Type:                       |  Fedoseev
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  mysql                |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"5638b77627a6b733fae5ab0dbf1b5c3425461d56" 5638b77]:
 {{{
 #!CommitTicketReference repository=""
 revision="5638b77627a6b733fae5ab0dbf1b5c3425461d56"
 [2.0.x] Fixed #28794 -- Fixed tx_isolation deprecation warning on MySQL
 5.7.20+.

 Backport of 967450a3bf940c43db891fe1e2ef3bcf73456ff8 from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28794#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

--
You received this message because you are subscribed to the Google Groups "Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.e0103ab738fb91c162b72defc4b4ed60%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.