Below is the list of changes that have just been committed into a local
4.1 repository of bar. When bar 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://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2467 05/10/27 16:48:49 bar@stripped +1 -0
conf_to_src.c:
Updating to conform the current CHARSET_INFO structure.
strings/conf_to_src.c
1.14 05/10/27 16:48:00 bar@stripped +40 -26
Updating to conform the current structure.
# 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: bar
# Host: bar.intranet.mysql.r18.ru
# Root: /usr/home/bar/mysql-4.1.12076
--- 1.13/strings/conf_to_src.c 2003-11-28 14:18:10 +04:00
+++ 1.14/strings/conf_to_src.c 2005-10-27 16:48:00 +05:00
@@ -179,40 +179,49 @@
if (cs->name)
{
- fprintf(f," \"%s\",\n",cs->csname);
- fprintf(f," \"%s\",\n",cs->name);
- fprintf(f," \"\",\n");
- fprintf(f," ctype_%s,\n",cs->name);
- fprintf(f," to_lower_%s,\n",cs->name);
- fprintf(f," to_upper_%s,\n",cs->name);
+ fprintf(f," \"%s\", /* cset name */\n",cs->csname);
+ fprintf(f," \"%s\", /* coll name */\n",cs->name);
+ fprintf(f," \"\", /* comment */\n");
+ fprintf(f," NULL, /* tailoring */\n");
+ fprintf(f," ctype_%s, /* ctype */\n",cs->name);
+ fprintf(f," to_lower_%s, /* lower */\n",cs->name);
+ fprintf(f," to_upper_%s, /* upper */\n",cs->name);
if (cs->sort_order)
- fprintf(f," sort_order_%s,\n",cs->name);
+ fprintf(f," sort_order_%s, /* sort_order */\n",cs->name);
else
- fprintf(f," NULL,\n");
- fprintf(f," to_uni_%s,\n",cs->name);
- fprintf(f," from_uni_%s,\n",cs->name);
+ fprintf(f," NULL, /* sort_order */\n");
+ fprintf(f," NULL, /* contractions */\n");
+ fprintf(f," NULL, /* sort_order_big*/\n");
+ fprintf(f," to_uni_%s, /* to_uni */\n",cs->name);
}
else
{
- fprintf(f," NULL,\n");
- fprintf(f," NULL,\n");
- fprintf(f," NULL,\n");
- fprintf(f," NULL,\n");
- fprintf(f," NULL,\n");
- fprintf(f," NULL,\n");
- fprintf(f," NULL,\n");
- fprintf(f," NULL,\n");
- fprintf(f," NULL,\n");
+ fprintf(f," NULL, /* cset name */\n");
+ fprintf(f," NULL, /* coll name */\n");
+ fprintf(f," NULL, /* comment */\n");
+ fprintf(f," NULL, /* tailoging */\n");
+ fprintf(f," NULL, /* ctype */\n");
+ fprintf(f," NULL, /* lower */\n");
+ fprintf(f," NULL, /* upper */\n");
+ fprintf(f," NULL, /* sort order */\n");
+ fprintf(f," NULL, /* contractions */\n");
+ fprintf(f," NULL, /* sort_order_big*/\n");
+ fprintf(f," NULL, /* to_uni */\n");
}
-
- fprintf(f," \"\",\n");
- fprintf(f," \"\",\n");
- fprintf(f," 0,\n");
- fprintf(f," 0,\n");
- fprintf(f," 0,\n");
+
+ fprintf(f," NULL, /* from_uni */\n");
+ fprintf(f," NULL, /* state map */\n");
+ fprintf(f," NULL, /* ident map */\n");
+ fprintf(f," 1, /* strxfrm_multiply*/\n");
+ fprintf(f," 1, /* mbminlen */\n");
+ fprintf(f," 1, /* mbmaxlen */\n");
+ fprintf(f," 0, /* min_sort_char */\n");
+ fprintf(f," 255, /* max_sort_char */\n");
+ fprintf(f," 0, /* escape_with_backslash_is_dangerous */\n");
+
fprintf(f," &my_charset_8bit_handler,\n");
if (cs->state & MY_CS_BINSORT)
- fprintf(f," &my_collation_bin_handler,\n");
+ fprintf(f," &my_collation_8bit_bin_handler,\n");
else
fprintf(f," &my_collation_8bit_simple_ci_handler,\n");
fprintf(f,"}\n");
@@ -250,6 +259,11 @@
}
}
}
+
+
+ fprintf(f,"#include <my_global.h>\n");
+ fprintf(f,"#include <m_ctype.h>\n\n");
+
for (cs=all_charsets; cs < all_charsets+256; cs++)
{
| Thread |
|---|
| • bk commit into 4.1 tree (bar:1.2467) | bar | 27 Oct |