Below is the list of changes that have just been committed into a local
5.0 repository of georg. When georg 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.1943 05/07/15 17:05:00 georg@stripped +1 -0
minor fix for restoring the previous characterset in
test_client_character_set
tests/mysql_client_test.c
1.139 05/07/15 17:04:55 georg@stripped +3 -3
minor fix for restoring the previous characterset.
# 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: georg
# Host: lmy002.wdf.sap.corp
# Root: /home/georg/work/mysql-5.0
--- 1.138/tests/mysql_client_test.c 2005-07-15 14:30:42 +02:00
+++ 1.139/tests/mysql_client_test.c 2005-07-15 17:04:55 +02:00
@@ -13617,12 +13617,12 @@
static void test_client_character_set()
{
MY_CHARSET_INFO cs;
- char *csname;
+ char *csname = (char*) "utf8";
+ char *csdefault = (char*)mysql_character_set_name(mysql);
int rc;
myheader("test_client_character_set");
- csname= (char*) "utf8";
rc= mysql_set_character_set(mysql, csname);
DIE_UNLESS(rc == 0);
@@ -13630,7 +13630,7 @@
DIE_UNLESS(!strcmp(cs.csname, "utf8"));
DIE_UNLESS(!strcmp(cs.name, "utf8_general_ci"));
/* Restore the default character set */
- rc= mysql_query(mysql, "set names default");
+ rc= mysql_set_character_set(mysql, csdefault);
myquery(rc);
}
| Thread |
|---|
| • bk commit into 5.0 tree (georg:1.1943) | Georg Richter | 15 Jul |