Bug #46633 Obsolete Serbian locale name
Submitted: 10 Aug 2009 16:35 Modified: 12 Nov 2009 18:58
Reporter: Peter Gulutzan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Charsets Severity:S3 (Non-critical)
Version:MySQL 5.4 OS:Any
Assigned to: Alexander Barkov CPU Architecture:Any

[10 Aug 2009 16:35] Peter Gulutzan
Description:
According to MySQL's Bogdan Kecman and according to IANA
http://www.iana.org/assignments/language-subtag-registry
(which will be our official authority for language and region subtag codes),
the locale name 'sr_YU' is obsolete.
We should continue to allow it in case somebody has used it, it's harmless.

However we should also allow 'sr_RS' with exactly the same rules as 'sr_YU'.

We should not also allow 'sr_CS' which is also obsolete.
This affects @@lc_time_names and @@lc_messages.
The MySQL Reference Manual
http://dev.mysql.com/doc/refman/5.1/en/locale-support.html
should describe sr_SR as 'Serbian - Serbia'.

How to repeat:
How to repeat:
SET @@lc_time_names='sr_YU';
SET @@lc_time_names='sr_RS';
[10 Aug 2009 16:41] MySQL Verification Team
Thank you for the bug report.
[19 Oct 2009 8:03] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/87253
[19 Oct 2009 8:05] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/87254
[22 Oct 2009 9:20] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/87744
[28 Oct 2009 10:05] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/88464
[29 Oct 2009 11:14] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/88575

2909 Alexander Barkov	2009-10-29
      A postfix for Bug#46633 Obsolete Serbian locale name
      
      Re-Allowing sr_YU with a "deprecated" warning.
[2 Nov 2009 17:25] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/88977

2904 Alexander Barkov	2009-11-02 [merge]
      Merging a postfix for Bug#46633 Obsolete Serbian locale
      from mysql-next-mr-bar
[3 Nov 2009 8:39] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091103083733-yon5t2ixj51ozcv3) (version source revid:bar@mysql.com-20091102173853-6hiovm598quhb52m) (merge vers: 6.0.14-alpha) (pib:13)
[3 Nov 2009 11:46] Alexander Barkov
Pushed into MySQL 5.5.0-beta and MySQL-6.0-14-beta.
[12 Nov 2009 3:24] Paul DuBois
Noted in 5.5.0, 6.0.14 changelogs.

The Serbian locale name 'sr_YU' is obsolete. It is still recognized
for backward compatibility, but 'sr_RS' now should be used instead.
[12 Nov 2009 8:16] Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091110093229-0bh5hix780cyeicl) (version source revid:mikael@mysql.com-20091103113702-p61dlwc6ml6fxg18) (merge vers: 5.5.0-beta) (pib:13)