Below is the list of changes that have just been committed into a local
mysqldoc repository of paul. When paul does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html
ChangeSet
1.3600 05/09/20 10:11:49 paul@stripped +4 -0
How CHAR() determines character set.
refman/functions.xml
1.52 05/09/20 10:11:47 paul@stripped +8 -4
How CHAR() determines character set.
refman-common/news-5.0.xml
1.214 05/09/20 10:11:47 paul@stripped +5 -1
How CHAR() determines character set.
refman-5.1/functions.xml
1.33 05/09/20 10:11:47 paul@stripped +8 -4
Sync.
refman-5.0/functions.xml
1.47 05/09/20 10:11:47 paul@stripped +8 -4
Sync.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: paul
# Host: frost.snake.net
# Root: /Users/paul/bk/mysqldoc
--- 1.32/refman-5.1/functions.xml 2005-09-19 14:58:44 -05:00
+++ 1.33/refman-5.1/functions.xml 2005-09-20 10:11:47 -05:00
@@ -1957,10 +1957,14 @@
</programlisting>
<para>
- As of MySQL 5.0.14, for an argument
- <replaceable>n</replaceable> to <literal>CHAR()</literal>, the
- result is <replaceable>n</replaceable> mod 256 for single-byte
- character sets. For multi-byte character sets,
+ As of MySQL 5.0.14, the <literal>CHAR()</literal> function now
+ takes into account the character set and collation given by
+ the <literal>character_set_connection</literal> and
+ <literal>collation_connection</literal> system variables. For
+ an argument <replaceable>n</replaceable> to
+ <literal>CHAR()</literal>, the result is
+ <replaceable>n</replaceable> mod 256 for single-byte character
+ sets. For multi-byte character sets,
<replaceable>n</replaceable> must be a valid code point in the
character set. Also, the result string from
<literal>CHAR()</literal> is checked for well-formedness. For
--- 1.213/refman-common/news-5.0.xml 2005-09-19 15:06:19 -05:00
+++ 1.214/refman-common/news-5.0.xml 2005-09-20 10:11:47 -05:00
@@ -183,7 +183,11 @@
<listitem>
<para>
- For an argument <replaceable>n</replaceable> to
+ The <literal>CHAR()</literal> function now takes into account
+ the character set and collation given by the
+ <literal>character_set_connection</literal> and
+ <literal>collation_connection</literal> system variables. For
+ an argument <replaceable>n</replaceable> to
<literal>CHAR()</literal>, the result is
<replaceable>n</replaceable> mod 256 for single-byte character
sets. For multi-byte character sets,
--- 1.51/refman/functions.xml 2005-09-19 14:58:44 -05:00
+++ 1.52/refman/functions.xml 2005-09-20 10:11:47 -05:00
@@ -2004,10 +2004,14 @@
</programlisting>
<para>
- As of MySQL 5.0.14, for an argument
- <replaceable>n</replaceable> to <literal>CHAR()</literal>, the
- result is <replaceable>n</replaceable> mod 256 for single-byte
- character sets. For multi-byte character sets,
+ As of MySQL 5.0.14, the <literal>CHAR()</literal> function now
+ takes into account the character set and collation given by
+ the <literal>character_set_connection</literal> and
+ <literal>collation_connection</literal> system variables. For
+ an argument <replaceable>n</replaceable> to
+ <literal>CHAR()</literal>, the result is
+ <replaceable>n</replaceable> mod 256 for single-byte character
+ sets. For multi-byte character sets,
<replaceable>n</replaceable> must be a valid code point in the
character set. Also, the result string from
<literal>CHAR()</literal> is checked for well-formedness. For
--- 1.46/refman-5.0/functions.xml 2005-09-19 14:58:43 -05:00
+++ 1.47/refman-5.0/functions.xml 2005-09-20 10:11:47 -05:00
@@ -1962,10 +1962,14 @@
</programlisting>
<para>
- As of MySQL 5.0.14, for an argument
- <replaceable>n</replaceable> to <literal>CHAR()</literal>, the
- result is <replaceable>n</replaceable> mod 256 for single-byte
- character sets. For multi-byte character sets,
+ As of MySQL 5.0.14, the <literal>CHAR()</literal> function now
+ takes into account the character set and collation given by
+ the <literal>character_set_connection</literal> and
+ <literal>collation_connection</literal> system variables. For
+ an argument <replaceable>n</replaceable> to
+ <literal>CHAR()</literal>, the result is
+ <replaceable>n</replaceable> mod 256 for single-byte character
+ sets. For multi-byte character sets,
<replaceable>n</replaceable> must be a valid code point in the
character set. Also, the result string from
<literal>CHAR()</literal> is checked for well-formedness. For
| Thread |
|---|
| • bk commit - mysqldoc@docsrva tree (paul:1.3600) | paul | 20 Sep |