Re: [Django] #21196: Warning when running the test suite under MySQL

2014-10-18 Thread Django
#21196: Warning when running the test suite under MySQL
---+-
 Reporter:  aaugustin  |Owner:  tchaumeny
 Type:  Bug|   Status:  closed
Component:  contrib.admin  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+-
Changes (by Loic Bistuer ):

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


Comment:

 In [changeset:"825ea8385857a98a36b3dc67c427bb5d9112"]:
 {{{
 #!CommitTicketReference repository=""
 revision="825ea8385857a98a36b3dc67c427bb5d9112"
 Fixed #21196 -- Removed index on test field causing MySQL specific
 warning.
 }}}

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.1e2d773c76ae575bfd1a11855dc82364%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21196: Warning when running the test suite under MySQL

2014-10-18 Thread Django
#21196: Warning when running the test suite under MySQL
---+-
 Reporter:  aaugustin  |Owner:  tchaumeny
 Type:  Bug|   Status:  assigned
Component:  contrib.admin  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+-

Comment (by loic):

 Indeed:
 Prefix support and lengths of prefixes (where supported) are storage
 engine dependent. For example, a prefix can be up to 1000 bytes long for
 MyISAM tables, and 767 bytes for InnoDB tables.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.2ab4df6f26d717375b81c77e276a481b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21196: Warning when running the test suite under MySQL

2014-10-18 Thread Django
#21196: Warning when running the test suite under MySQL
---+-
 Reporter:  aaugustin  |Owner:  tchaumeny
 Type:  Bug|   Status:  assigned
Component:  contrib.admin  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+-
Changes (by tchaumeny):

 * owner:  nobody => tchaumeny
 * cc: t.chaumeny@… (added)
 * has_patch:  0 => 1
 * status:  new => assigned


Comment:

 I encountered the same problem when trying to run the test suite under
 MySQL. It looks like MySQL doesn't support indexing VARCHAR fields with a
 length of 767+ on InnoDB tables (see
 http://dev.mysql.com/doc/refman/5.1/en/create-index.html). #15938
 introduced a `SlugField` on a field with `max_length = 1000` for a test.

 https://github.com/django/django/pull/3388 sets `db_index=False`, which
 solves the problem.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.016920bcab9d3be23c503c8708a65ce0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #21196: Warning when running the test suite under MySQL

2014-02-27 Thread Django
#21196: Warning when running the test suite under MySQL
---+
 Reporter:  aaugustin  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  contrib.admin  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by afuna):

 `python -Walways ./runtests.py` gives me
 `django/db/backends/mysql/base.py:128: Warning: Specified key was too
 long; max key length is 767 bytes`

 I'd be happy to dig into this more, but I'm not sure what desired behavior
 is. Is it to silence the warning, turn it into an exception, adjust the
 test, or something else? :)

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.67a3e38457f4a3647b85c3d5877fc92b%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.