Commit d52bac6a authored by tulin@build.mysql.com's avatar tulin@build.mysql.com

Merge bk-internal:/home/bk/mysql-4.1

into build.mysql.com:/users/tulin/mysql-4.1-cluster-extra
parents cee870e9 77bc68f9
...@@ -43,5 +43,6 @@ fi ...@@ -43,5 +43,6 @@ fi
--with-berkeley-db \ --with-berkeley-db \
--with-innodb \ --with-innodb \
--enable-thread-safe-client \ --enable-thread-safe-client \
--with-extra-charsets=complex \
--with-ndbcluster --with-ndbcluster
make make
...@@ -31,6 +31,7 @@ $opt_help= undef; ...@@ -31,6 +31,7 @@ $opt_help= undef;
$opt_log= undef; $opt_log= undef;
$opt_mail= ""; $opt_mail= "";
$opt_skip_dmg= undef; $opt_skip_dmg= undef;
$opt_skip_prefpane= undef;
$opt_skip_si= undef; $opt_skip_si= undef;
$opt_suffix= undef; $opt_suffix= undef;
$opt_verbose= undef; $opt_verbose= undef;
...@@ -41,6 +42,7 @@ GetOptions( ...@@ -41,6 +42,7 @@ GetOptions(
"help|h", "help|h",
"log|l:s", "log|l:s",
"mail|m=s", "mail|m=s",
"skip-prefpane|p",
"skip-dmg|skip-disk-image|s", "skip-dmg|skip-disk-image|s",
"skip-si|skip-startup-item", "skip-si|skip-startup-item",
"suffix=s", "suffix=s",
...@@ -82,6 +84,7 @@ $HOST=~ /^([^.-]*)/; ...@@ -82,6 +84,7 @@ $HOST=~ /^([^.-]*)/;
$HOST= $1; $HOST= $1;
$LOGFILE= "$PWD/Logs/$HOST-$MAJOR.$MINOR$SUFFIX.log"; $LOGFILE= "$PWD/Logs/$HOST-$MAJOR.$MINOR$SUFFIX.log";
$BUILDDIR= "$PWD/$HOST"; $BUILDDIR= "$PWD/$HOST";
$PREFPANE= "$PWD/mysql-administrator/source/mac/PreferencePane/build/MySQL.prefPane";
$SRCBASEDIR= <$BUILDDIR/mysql*-$VERSION>; $SRCBASEDIR= <$BUILDDIR/mysql*-$VERSION>;
$SUPFILEDIR= <$SRCBASEDIR/support-files/MacOSX>; $SUPFILEDIR= <$SRCBASEDIR/support-files/MacOSX>;
$TAR= <$BUILDDIR/$NAME-apple-darwin*-powerpc.tar.gz>; $TAR= <$BUILDDIR/$NAME-apple-darwin*-powerpc.tar.gz>;
...@@ -219,6 +222,19 @@ unless ($opt_skip_si) ...@@ -219,6 +222,19 @@ unless ($opt_skip_si)
&run_command($command, "Error while building package $SI_NAME.pkg!"); &run_command($command, "Error while building package $SI_NAME.pkg!");
} }
#
# Include the MySQL Preference Pane
#
unless ($opt_skip_prefpane)
{
&abort("Could not find PrefPane helper application. Did you compile and install it?")
unless (-f "$PREFPANE/Contents/Resources/mahelper");
&logger("Including $PREFPANE in $PKGDEST");
&run_command("mkdir $PKGDEST/MySQL.prefPane", "Could not create $PKGDEST/MySQL.prefPane!");
&run_command("ditto $PREFPANE $PKGDEST/MySQL.prefPane", "Could not copy $PREFPANE into $PKGDEST!");
&run_command("chown -R root:wheel $PKGDEST/MySQL.prefPane", "Cannot chown $PKGDEST/MySQL.prefPane!");
}
if ($opt_skip_dmg) if ($opt_skip_dmg)
{ {
&logger("SUCCESS: Package $PKGDEST/$NAME.pkg created"); &logger("SUCCESS: Package $PKGDEST/$NAME.pkg created");
...@@ -254,6 +270,7 @@ chomp($mountpoint=`mount | grep "\/Volumes\/$NAME" | cut -f3 -d" "`) if (!$opt_d ...@@ -254,6 +270,7 @@ chomp($mountpoint=`mount | grep "\/Volumes\/$NAME" | cut -f3 -d" "`) if (!$opt_d
&logger("Copying $PKGDEST/$NAME.pkg to Disk image /Volumes/$NAME"); &logger("Copying $PKGDEST/$NAME.pkg to Disk image /Volumes/$NAME");
&run_command("ditto $PKGDEST /Volumes/$NAME", "Could not copy $PKGDEST to /Volumes/$NAME!"); &run_command("ditto $PKGDEST /Volumes/$NAME", "Could not copy $PKGDEST to /Volumes/$NAME!");
&run_command("ditto $SUPFILEDIR/ReadMe.txt /Volumes/$NAME", "Could not copy $SPFILEDIR/ReadMe.txt to /Volumes/$NAME!"); &run_command("ditto $SUPFILEDIR/ReadMe.txt /Volumes/$NAME", "Could not copy $SPFILEDIR/ReadMe.txt to /Volumes/$NAME!");
&run_command("chown root:wheel /Volumes/$NAME/ReadMe.txt", "Could not fix ownerships of /Volumes/$NAME/ReadMe.txt!");
chomp($mountpoint=`mount | grep "\/Volumes\/$NAME" | cut -f1 -d" "`) if (!$opt_dry_run); chomp($mountpoint=`mount | grep "\/Volumes\/$NAME" | cut -f1 -d" "`) if (!$opt_dry_run);
&abort("/Volumes/$NAME not attached!") if (!$mountpoint && !$opt_dry_run); &abort("/Volumes/$NAME not attached!") if (!$mountpoint && !$opt_dry_run);
&logger("Unmounting $mountpoint"); &logger("Unmounting $mountpoint");
...@@ -302,6 +319,7 @@ Options: ...@@ -302,6 +319,7 @@ Options:
if logging is enabled) if logging is enabled)
Note that the \@-Sign needs to be quoted! Note that the \@-Sign needs to be quoted!
Example: --mail=user\\\@domain.com Example: --mail=user\\\@domain.com
-p, --skip-prefpane Skip including the PreferencePane
-s, --skip-disk-image, --skip-dmg Just build the PKGs, don't put it into a -s, --skip-disk-image, --skip-dmg Just build the PKGs, don't put it into a
disk image afterwards disk image afterwards
--skip-startup-item, --skip-si Skip the creation of the StartupItem PKG --skip-startup-item, --skip-si Skip the creation of the StartupItem PKG
......
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
#define SHUTDOWN_DEF_TIMEOUT 3600 /* Wait for shutdown */ #define SHUTDOWN_DEF_TIMEOUT 3600 /* Wait for shutdown */
#define MAX_TRUNC_LENGTH 3 #define MAX_TRUNC_LENGTH 3
char *host= NULL, *user= 0, *opt_password= 0; char *host= NULL, *user= 0, *opt_password= 0,
*default_charset= NULL;
char truncated_var_names[MAX_MYSQL_VAR][MAX_TRUNC_LENGTH]; char truncated_var_names[MAX_MYSQL_VAR][MAX_TRUNC_LENGTH];
char ex_var_names[MAX_MYSQL_VAR][FN_REFLEN]; char ex_var_names[MAX_MYSQL_VAR][FN_REFLEN];
ulonglong last_values[MAX_MYSQL_VAR]; ulonglong last_values[MAX_MYSQL_VAR];
...@@ -145,6 +146,9 @@ static struct my_option my_long_options[] = ...@@ -145,6 +146,9 @@ static struct my_option my_long_options[] =
{"character-sets-dir", OPT_CHARSETS_DIR, {"character-sets-dir", OPT_CHARSETS_DIR,
"Directory where character sets are.", (gptr*) &charsets_dir, "Directory where character sets are.", (gptr*) &charsets_dir,
(gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, (gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"default-character-set", OPT_DEFAULT_CHARSET,
"Set the default character set.", (gptr*) &default_charset,
(gptr*) &default_charset, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"help", '?', "Display this help and exit.", 0, 0, 0, GET_NO_ARG, {"help", '?', "Display this help and exit.", 0, 0, 0, GET_NO_ARG,
NO_ARG, 0, 0, 0, 0, 0, 0}, NO_ARG, 0, 0, 0, 0, 0, 0},
{"host", 'h', "Connect to host.", (gptr*) &host, (gptr*) &host, 0, GET_STR, {"host", 'h', "Connect to host.", (gptr*) &host, (gptr*) &host, 0, GET_STR,
...@@ -343,6 +347,8 @@ int main(int argc,char *argv[]) ...@@ -343,6 +347,8 @@ int main(int argc,char *argv[])
if (shared_memory_base_name) if (shared_memory_base_name)
mysql_options(&mysql,MYSQL_SHARED_MEMORY_BASE_NAME,shared_memory_base_name); mysql_options(&mysql,MYSQL_SHARED_MEMORY_BASE_NAME,shared_memory_base_name);
#endif #endif
if (default_charset)
mysql_options(&mysql, MYSQL_SET_CHARSET_NAME, default_charset);
if (sql_connect(&mysql, option_wait)) if (sql_connect(&mysql, option_wait))
{ {
unsigned int err= mysql_errno(&mysql); unsigned int err= mysql_errno(&mysql);
...@@ -826,13 +832,39 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv) ...@@ -826,13 +832,39 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
if (argv[1][0]) if (argv[1][0])
{ {
char *pw= argv[1]; char *pw= argv[1];
bool old= find_type(argv[0], &command_typelib, 2) == ADMIN_OLD_PASSWORD;
#ifdef __WIN__ #ifdef __WIN__
uint pw_len= strlen(pw); uint pw_len= strlen(pw);
if (pw_len > 1 && pw[0] == '\'' && pw[pw_len-1] == '\'') if (pw_len > 1 && pw[0] == '\'' && pw[pw_len-1] == '\'')
printf("Warning: single quotes were not trimmed from the password by" printf("Warning: single quotes were not trimmed from the password by"
" your command\nline client, as you might have expected.\n"); " your command\nline client, as you might have expected.\n");
#endif #endif
if (find_type(argv[0], &command_typelib, 2) == ADMIN_OLD_PASSWORD) /*
If we don't already know to use an old-style password, see what
the server is using
*/
if (!old) {
if (mysql_query(mysql, "SHOW VARIABLES LIKE 'old_passwords'")) {
my_printf_error(0, "Could not determine old_passwords setting from server; error: '%s'",
MYF(ME_BELL),mysql_error(mysql));
return -1;
} else {
MYSQL_RES *res= mysql_store_result(mysql);
if (!res) {
my_printf_error(0, "Could not get old_passwords setting from server; error: '%s'",
MYF(ME_BELL),mysql_error(mysql));
return -1;
}
if (!mysql_num_rows(res)) {
old= 1;
} else {
MYSQL_ROW row= mysql_fetch_row(res);
old= !strncmp(row[1], "ON", 2);
}
mysql_free_result(res);
}
}
if (old)
make_scrambled_password_323(crypted_pw, pw); make_scrambled_password_323(crypted_pw, pw);
else else
make_scrambled_password(crypted_pw, pw); make_scrambled_password(crypted_pw, pw);
......
...@@ -106,7 +106,14 @@ FILE *md_result_file; ...@@ -106,7 +106,14 @@ FILE *md_result_file;
static char *shared_memory_base_name=0; static char *shared_memory_base_name=0;
#endif #endif
static uint opt_protocol= 0; static uint opt_protocol= 0;
static char *default_charset= (char*) MYSQL_UNIVERSAL_CLIENT_CHARSET; /*
Constant for detection of default value of default_charset.
If default_charset is equal to mysql_universal_client_charset, then
it is the default value which assigned at the very beginning of main().
*/
static const char *mysql_universal_client_charset=
MYSQL_UNIVERSAL_CLIENT_CHARSET;
static char *default_charset;
static CHARSET_INFO *charset_info= &my_charset_latin1; static CHARSET_INFO *charset_info= &my_charset_latin1;
const char *default_dbug_option="d:t:o,/tmp/mysqldump.trace"; const char *default_dbug_option="d:t:o,/tmp/mysqldump.trace";
...@@ -678,7 +685,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), ...@@ -678,7 +685,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
Set charset to the default compiled value if it hasn't Set charset to the default compiled value if it hasn't
been reset yet by --default-character-set=xxx. been reset yet by --default-character-set=xxx.
*/ */
if (default_charset == (char*) MYSQL_UNIVERSAL_CLIENT_CHARSET) if (default_charset == mysql_universal_client_charset)
default_charset= (char*) MYSQL_DEFAULT_CHARSET_NAME; default_charset= (char*) MYSQL_DEFAULT_CHARSET_NAME;
break; break;
} }
...@@ -2403,6 +2410,7 @@ static char *primary_key_fields(const char *table_name) ...@@ -2403,6 +2410,7 @@ static char *primary_key_fields(const char *table_name)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
compatible_mode_normal_str[0]= 0; compatible_mode_normal_str[0]= 0;
default_charset= (char *)mysql_universal_client_charset;
MY_INIT(argv[0]); MY_INIT(argv[0]);
if (get_options(&argc, &argv)) if (get_options(&argc, &argv))
......
...@@ -1924,7 +1924,7 @@ AC_CHECK_FUNCS(alarm bcmp bfill bmove bzero chsize cuserid fchmod fcntl \ ...@@ -1924,7 +1924,7 @@ AC_CHECK_FUNCS(alarm bcmp bfill bmove bzero chsize cuserid fchmod fcntl \
pthread_key_delete pthread_rwlock_rdlock pthread_setprio \ pthread_key_delete pthread_rwlock_rdlock pthread_setprio \
pthread_setprio_np pthread_setschedparam pthread_sigmask readlink \ pthread_setprio_np pthread_setschedparam pthread_sigmask readlink \
realpath rename rint rwlock_init setupterm \ realpath rename rint rwlock_init setupterm \
shmget shmat shmdt shmctl \ shmget shmat shmdt shmctl sigaction \
sighold sigset sigthreadmask \ sighold sigset sigthreadmask \
snprintf socket stpcpy strcasecmp strerror strnlen strpbrk strstr strtol \ snprintf socket stpcpy strcasecmp strerror strnlen strpbrk strstr strtol \
strtoll strtoul strtoull tell tempnam thr_setconcurrency vidattr) strtoll strtoul strtoull tell tempnam thr_setconcurrency vidattr)
...@@ -3097,7 +3097,8 @@ ndb_transporter_opt_objs="" ...@@ -3097,7 +3097,8 @@ ndb_transporter_opt_objs=""
if test "$ac_cv_func_shmget" = "yes" && if test "$ac_cv_func_shmget" = "yes" &&
test "$ac_cv_func_shmat" = "yes" && test "$ac_cv_func_shmat" = "yes" &&
test "$ac_cv_func_shmdt" = "yes" && test "$ac_cv_func_shmdt" = "yes" &&
test "$ac_cv_func_shmctl" = "yes" test "$ac_cv_func_shmctl" = "yes" &&
test "$ac_cv_func_sigaction" = "yes"
then then
AC_DEFINE([NDB_SHM_TRANSPORTER], [1], AC_DEFINE([NDB_SHM_TRANSPORTER], [1],
[Including Ndb Cluster DB shared memory transporter]) [Including Ndb Cluster DB shared memory transporter])
......
...@@ -631,6 +631,7 @@ extern int pthread_dummy(int); ...@@ -631,6 +631,7 @@ extern int pthread_dummy(int);
/* All thread specific variables are in the following struct */ /* All thread specific variables are in the following struct */
#define THREAD_NAME_SIZE 10 #define THREAD_NAME_SIZE 10
#ifndef DEFAULT_THREAD_STACK
#if defined(__ia64__) #if defined(__ia64__)
/* /*
MySQL can survive with 32K, but some glibc libraries require > 128K stack MySQL can survive with 32K, but some glibc libraries require > 128K stack
...@@ -640,6 +641,7 @@ extern int pthread_dummy(int); ...@@ -640,6 +641,7 @@ extern int pthread_dummy(int);
#else #else
#define DEFAULT_THREAD_STACK (192*1024) #define DEFAULT_THREAD_STACK (192*1024)
#endif #endif
#endif
struct st_my_thread_var struct st_my_thread_var
{ {
......
...@@ -1763,7 +1763,21 @@ os_file_flush( ...@@ -1763,7 +1763,21 @@ os_file_flush(
#else #else
int ret; int ret;
#ifdef HAVE_FDATASYNC #ifdef HAVE_DARWIN_THREADS
/* Apple has disabled fsync() for internal disk drives in OS X. That
caused corruption for a user when he tested a power outage. Let us in
OS X use a nonstandard flush method recommended by an Apple
engineer. */
ret = fcntl(file, F_FULLFSYNC, NULL);
if (ret) {
/* If we are not on a file system that supports this, then
fall back to a plain fsync. */
ret = fsync(file);
}
#elif HAVE_FDATASYNC
ret = fdatasync(file); ret = fdatasync(file);
#else #else
/* fprintf(stderr, "Flushing to file %p\n", file); */ /* fprintf(stderr, "Flushing to file %p\n", file); */
......
...@@ -239,11 +239,12 @@ MYSQL_TEST_SSL_OPTS="" ...@@ -239,11 +239,12 @@ MYSQL_TEST_SSL_OPTS=""
USE_TIMER="" USE_TIMER=""
USE_EMBEDDED_SERVER="" USE_EMBEDDED_SERVER=""
RESULT_EXT="" RESULT_EXT=""
TEST_MODE="default"
while test $# -gt 0; do while test $# -gt 0; do
case "$1" in case "$1" in
--embedded-server) USE_EMBEDDED_SERVER=1 ; USE_MANAGER=0 ; NO_SLAVE=1 ; \ --embedded-server) USE_EMBEDDED_SERVER=1 USE_MANAGER=0 NO_SLAVE=1 ; \
USE_RUNNING_SERVER="" RESULT_EXT=".es" ;; USE_RUNNING_SERVER="" RESULT_EXT=".es" TEST_MODE="embedded" ;;
--user=*) DBUSER=`$ECHO "$1" | $SED -e "s;--user=;;"` ;; --user=*) DBUSER=`$ECHO "$1" | $SED -e "s;--user=;;"` ;;
--force) FORCE=1 ;; --force) FORCE=1 ;;
--timer) USE_TIMER=1 ;; --timer) USE_TIMER=1 ;;
...@@ -323,7 +324,7 @@ while test $# -gt 0; do ...@@ -323,7 +324,7 @@ while test $# -gt 0; do
SLEEP_TIME_AFTER_RESTART=`$ECHO "$1" | $SED -e "s;--sleep=;;"` SLEEP_TIME_AFTER_RESTART=`$ECHO "$1" | $SED -e "s;--sleep=;;"`
;; ;;
--ps-protocol) --ps-protocol)
EXTRA_MYSQL_TEST_OPT="$EXTRA_MYSQL_TEST_OPT $1" ;; TEST_MODE="ps-protocol" EXTRA_MYSQL_TEST_OPT="$EXTRA_MYSQL_TEST_OPT $1" ;;
--user-test=*) --user-test=*)
USER_TEST=`$ECHO "$1" | $SED -e "s;--user-test=;;"` USER_TEST=`$ECHO "$1" | $SED -e "s;--user-test=;;"`
;; ;;
...@@ -1561,7 +1562,7 @@ run_testcase () ...@@ -1561,7 +1562,7 @@ run_testcase ()
show_failed_diff $tname show_failed_diff $tname
$ECHO $ECHO
if [ x$FORCE != x1 ] ; then if [ x$FORCE != x1 ] ; then
$ECHO "Aborting: $tname failed. To continue, re-run with '--force'." $ECHO "Aborting: $tname failed in $TEST_MODE mode. To continue, re-run with '--force'."
$ECHO $ECHO
if [ -z "$DO_GDB" ] && [ -z "$USE_RUNNING_SERVER" ] && \ if [ -z "$DO_GDB" ] && [ -z "$USE_RUNNING_SERVER" ] && \
[ -z "$DO_DDD" ] && [ -z "$USE_EMBEDDED_SERVER" ] [ -z "$DO_DDD" ] && [ -z "$USE_EMBEDDED_SERVER" ]
...@@ -1742,7 +1743,7 @@ $ECHO ...@@ -1742,7 +1743,7 @@ $ECHO
[ "$DO_GPROF" ] && gprof_collect # collect coverage information [ "$DO_GPROF" ] && gprof_collect # collect coverage information
if [ $TOT_FAIL -ne 0 ]; then if [ $TOT_FAIL -ne 0 ]; then
$ECHO "mysql-test-run: *** Failing the test(s):$FAILED_CASES" $ECHO "mysql-test-run in $TEST_MODE mode: *** Failing the test(s):$FAILED_CASES"
$ECHO $ECHO
exit 1 exit 1
else else
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
drop table if exists `T1`;
drop table if exists `T2`;
drop table if exists `T3`;
drop table if exists `T4`;
drop table if exists `T5`;
drop table if exists `T6`;
drop table if exists `T7`;
drop table if exists `T8`;
drop table if exists `T9`;
drop table if exists `T10`;
drop table if exists `T11`;
drop table if exists `T12`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `T2` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = heap;
CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = heap;
CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = heap;
CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = bdb;
CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = bdb;
CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = sjis engine = bdb;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('ソ十表予構'),('ソ十表予'),('ソ十表'),('ソ十'),('ソ'),('');
INSERT INTO `T4` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T5` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T6` VALUES ('ソ十表予構'),('ソ十表予'),('ソ十表'),('ソ十'),('ソ'),('');
INSERT INTO `T7` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T8` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T9` VALUES ('ソ十表予構'),('ソ十表予'),('ソ十表'),('ソ十'),('ソ'),('');
INSERT INTO `T10` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T11` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T12` VALUES ('ソ十表予構'),('ソ十表予'),('ソ十表'),('ソ十'),('ソ'),('');
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T1`;
C1 CHAR_LENGTH(`C1`)
0
ア 1
アイ 2
アイウ 3
アイウエ 4
アイウエオ 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T2`;
C1 CHAR_LENGTH(`C1`)
0
あ 1
あい 2
あいう 3
あいうえ 4
あいうえお 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T3`;
C1 CHAR_LENGTH(`C1`)
0
ソ 1
ソ十 2
ソ十表 3
ソ十表予 4
ソ十表予構 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T4`;
C1 CHAR_LENGTH(`C1`)
0
ア 1
アイ 2
アイウ 3
アイウエ 4
アイウエオ 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T5`;
C1 CHAR_LENGTH(`C1`)
0
あ 1
あい 2
あいう 3
あいうえ 4
あいうえお 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T6`;
C1 CHAR_LENGTH(`C1`)
0
ソ 1
ソ十 2
ソ十表 3
ソ十表予 4
ソ十表予構 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T7`;
C1 CHAR_LENGTH(`C1`)
アイウエオ 5
アイウエ 4
アイウ 3
アイ 2
ア 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T8`;
C1 CHAR_LENGTH(`C1`)
あいうえお 5
あいうえ 4
あいう 3
あい 2
あ 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T9`;
C1 CHAR_LENGTH(`C1`)
ソ十表予構 5
ソ十表予 4
ソ十表 3
ソ十 2
ソ 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T10`;
C1 CHAR_LENGTH(`C1`)
アイウエオ 5
アイウエ 4
アイウ 3
アイ 2
ア 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T11`;
C1 CHAR_LENGTH(`C1`)
あいうえお 5
あいうえ 4
あいう 3
あい 2
あ 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T12`;
C1 CHAR_LENGTH(`C1`)
ソ十表予構 5
ソ十表予 4
ソ十表 3
ソ十 2
ソ 1
0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
DROP TABLE `T4`;
DROP TABLE `T5`;
DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
DROP TABLE `T10`;
DROP TABLE `T11`;
DROP TABLE `T12`;
drop table if exists `T1`;
drop table if exists `T2`;
drop table if exists `T3`;
drop table if exists `T4`;
drop table if exists `T5`;
drop table if exists `T6`;
drop table if exists `T7`;
drop table if exists `T8`;
drop table if exists `T9`;
drop table if exists `T10`;
drop table if exists `T11`;
drop table if exists `T12`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T2` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
INSERT INTO `T4` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T5` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T6` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
INSERT INTO `T7` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T8` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T9` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
INSERT INTO `T10` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T11` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T12` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T1`;
C1 CHAR_LENGTH(`C1`)
0
ア 1
アイ 2
アイウ 3
アイウエ 4
アイウエオ 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T2`;
C1 CHAR_LENGTH(`C1`)
0
あ 1
あい 2
あいう 3
あいうえ 4
あいうえお 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T3`;
C1 CHAR_LENGTH(`C1`)
0
龔 1
龔龖 2
龔龖龗 3
龔龖龗龞 4
龔龖龗龞龡 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T4`;
C1 CHAR_LENGTH(`C1`)
0
ア 1
アイ 2
アイウ 3
アイウエ 4
アイウエオ 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T5`;
C1 CHAR_LENGTH(`C1`)
0
あ 1
あい 2
あいう 3
あいうえ 4
あいうえお 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T6`;
C1 CHAR_LENGTH(`C1`)
0
龔 1
龔龖 2
龔龖龗 3
龔龖龗龞 4
龔龖龗龞龡 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T7`;
C1 CHAR_LENGTH(`C1`)
アイウエオ 5
アイウエ 4
アイウ 3
アイ 2
ア 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T8`;
C1 CHAR_LENGTH(`C1`)
あいうえお 5
あいうえ 4
あいう 3
あい 2
あ 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T9`;
C1 CHAR_LENGTH(`C1`)
龔龖龗龞龡 5
龔龖龗龞 4
龔龖龗 3
龔龖 2
龔 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T10`;
C1 CHAR_LENGTH(`C1`)
アイウエオ 5
アイウエ 4
アイウ 3
アイ 2
ア 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T11`;
C1 CHAR_LENGTH(`C1`)
あいうえお 5
あいうえ 4
あいう 3
あい 2
あ 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T12`;
C1 CHAR_LENGTH(`C1`)
龔龖龗龞龡 5
龔龖龗龞 4
龔龖龗 3
龔龖 2
龔 1
0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
DROP TABLE `T4`;
DROP TABLE `T5`;
DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
DROP TABLE `T10`;
DROP TABLE `T11`;
DROP TABLE `T12`;
drop table if exists `T1`;
drop table if exists `T2`;
drop table if exists `T3`;
drop table if exists `T4`;
drop table if exists `T5`;
drop table if exists `T6`;
drop table if exists `T7`;
drop table if exists `T8`;
drop table if exists `T9`;
drop table if exists `T10`;
drop table if exists `T11`;
drop table if exists `T12`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T2` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = heap;
CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = bdb;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
INSERT INTO `T4` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T5` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T6` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
INSERT INTO `T7` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T8` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T9` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
INSERT INTO `T10` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T11` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T12` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T1`;
C1 CHAR_LENGTH(`C1`)
0
ア 1
アイ 2
アイウ 3
アイウエ 4
アイウエオ 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T2`;
C1 CHAR_LENGTH(`C1`)
0
あ 1
あい 2
あいう 3
あいうえ 4
あいうえお 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T3`;
C1 CHAR_LENGTH(`C1`)
0
龔 1
龔龖 2
龔龖龗 3
龔龖龗龞 4
龔龖龗龞龡 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T4`;
C1 CHAR_LENGTH(`C1`)
0
ア 1
アイ 2
アイウ 3
アイウエ 4
アイウエオ 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T5`;
C1 CHAR_LENGTH(`C1`)
0
あ 1
あい 2
あいう 3
あいうえ 4
あいうえお 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T6`;
C1 CHAR_LENGTH(`C1`)
0
龔 1
龔龖 2
龔龖龗 3
龔龖龗龞 4
龔龖龗龞龡 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T7`;
C1 CHAR_LENGTH(`C1`)
アイウエオ 5
アイウエ 4
アイウ 3
アイ 2
ア 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T8`;
C1 CHAR_LENGTH(`C1`)
あいうえお 5
あいうえ 4
あいう 3
あい 2
あ 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T9`;
C1 CHAR_LENGTH(`C1`)
龔龖龗龞龡 5
龔龖龗龞 4
龔龖龗 3
龔龖 2
龔 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T10`;
C1 CHAR_LENGTH(`C1`)
アイウエオ 5
アイウエ 4
アイウ 3
アイ 2
ア 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T11`;
C1 CHAR_LENGTH(`C1`)
あいうえお 5
あいうえ 4
あいう 3
あい 2
あ 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T12`;
C1 CHAR_LENGTH(`C1`)
龔龖龗龞龡 5
龔龖龗龞 4
龔龖龗 3
龔龖 2
龔 1
0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
DROP TABLE `T4`;
DROP TABLE `T5`;
DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
DROP TABLE `T10`;
DROP TABLE `T11`;
DROP TABLE `T12`;
drop table if exists `T1`;
drop table if exists `T2`;
drop table if exists `T3`;
drop table if exists `T4`;
drop table if exists `T5`;
drop table if exists `T6`;
drop table if exists `T7`;
drop table if exists `T8`;
drop table if exists `T9`;
drop table if exists `T10`;
drop table if exists `T11`;
drop table if exists `T12`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `T2` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = bdb;
CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = bdb;
CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = bdb;
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
INSERT INTO `T4` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T5` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T6` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
INSERT INTO `T7` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T8` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T9` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
INSERT INTO `T10` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
INSERT INTO `T11` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
INSERT INTO `T12` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T1`;
C1 CHAR_LENGTH(`C1`)
0
ア 1
アイ 2
アイウ 3
アイウエ 4
アイウエオ 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T2`;
C1 CHAR_LENGTH(`C1`)
0
あ 1
あい 2
あいう 3
あいうえ 4
あいうえお 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T3`;
C1 CHAR_LENGTH(`C1`)
0
龔 1
龔龖 2
龔龖龗 3
龔龖龗龞 4
龔龖龗龞龡 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T4`;
C1 CHAR_LENGTH(`C1`)
0
ア 1
アイ 2
アイウ 3
アイウエ 4
アイウエオ 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T5`;
C1 CHAR_LENGTH(`C1`)
0
あ 1
あい 2
あいう 3
あいうえ 4
あいうえお 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T6`;
C1 CHAR_LENGTH(`C1`)
0
龔 1
龔龖 2
龔龖龗 3
龔龖龗龞 4
龔龖龗龞龡 5
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T7`;
C1 CHAR_LENGTH(`C1`)
アイウエオ 5
アイウエ 4
アイウ 3
アイ 2
ア 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T8`;
C1 CHAR_LENGTH(`C1`)
あいうえお 5
あいうえ 4
あいう 3
あい 2
あ 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T9`;
C1 CHAR_LENGTH(`C1`)
龔龖龗龞龡 5
龔龖龗龞 4
龔龖龗 3
龔龖 2
龔 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T10`;
C1 CHAR_LENGTH(`C1`)
アイウエオ 5
アイウエ 4
アイウ 3
アイ 2
ア 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T11`;
C1 CHAR_LENGTH(`C1`)
あいうえお 5
あいうえ 4
あいう 3
あい 2
あ 1
0
SELECT `C1`, CHAR_LENGTH(`C1`) FROM `T12`;
C1 CHAR_LENGTH(`C1`)
龔龖龗龞龡 5
龔龖龗龞 4
龔龖龗 3
龔龖 2
龔 1
0
DROP TABLE `T1`;
DROP TABLE `T2`;
DROP TABLE `T3`;
DROP TABLE `T4`;
DROP TABLE `T5`;
DROP TABLE `T6`;
DROP TABLE `T7`;
DROP TABLE `T8`;
DROP TABLE `T9`;
DROP TABLE `T10`;
DROP TABLE `T11`;
DROP TABLE `T12`;
drop table if exists `sP`;
drop table if exists `sQ`;
drop table if exists `sR`;
drop table if exists `sS`;
drop table if exists `sT`;
drop table if exists `sU`;
drop table if exists `sV`;
drop table if exists `sW`;
drop table if exists `sX`;
drop table if exists `sPO`;
drop table if exists `sPP`;
drop table if exists `sPQ`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `sP` (`bP` char(20)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sQ` (`bP` char(20)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sR` (`bP` char(20)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `sS` (`bP` char(20)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sT` (`bP` char(20)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sU` (`bP` char(20)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `sV` (`bP` char(20)) DEFAULT CHARSET = sjis engine = heap;
CREATE TABLE `sW` (`bP` char(20)) DEFAULT CHARSET = sjis engine = heap;
CREATE TABLE `sX` (`bP` char(20)) DEFAULT CHARSET = sjis engine = heap;
CREATE TABLE `sPO` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
CREATE TABLE `sPP` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
CREATE TABLE `sPQ` (`bP` char(20)) DEFAULT CHARSET = sjis engine = bdb;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sP`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sQ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sR`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sS`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sT`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sU`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sV`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sW`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sX`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `sPO`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `sPP`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `sPQ`;
SELECT DISTINCT CHARSET(`bP`) FROM `sP`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(`bP`) FROM `sQ`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(`bP`) FROM `sR`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sP`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sP`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sP`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sP`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sQ`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sQ`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sQ`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sQ`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sR`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sR`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sR`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sR`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(`bP`) FROM `sS`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(`bP`) FROM `sT`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(`bP`) FROM `sU`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sS`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sS`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sS`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sS`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sT`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sT`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sT`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sT`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sU`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sU`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sU`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sU`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(`bP`) FROM `sV`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(`bP`) FROM `sW`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(`bP`) FROM `sX`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sV`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sV`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sV`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sV`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sW`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sW`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sW`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sW`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sX`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sX`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sX`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sX`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(`bP`) FROM `sPO`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(`bP`) FROM `sPP`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(`bP`) FROM `sPQ`;
CHARSET(`bP`)
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sPO`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sPO`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sPO`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sPO`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sPP`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sPP`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sPP`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sPP`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING utf8)) FROM `sPQ`;
CHARSET(CONVERT(`bP` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ucs2)) FROM `sPQ`;
CHARSET(CONVERT(`bP` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`bP` USING sjis)) FROM `sPQ`;
CHARSET(CONVERT(`bP` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`bP` USING ujis)) FROM `sPQ`;
CHARSET(CONVERT(`bP` USING ujis))
ujis
drop table `sP`;
drop table `sQ`;
drop table `sR`;
drop table `sS`;
drop table `sT`;
drop table `sU`;
drop table `sV`;
drop table `sW`;
drop table `sX`;
drop table `sPO`;
drop table `sPP`;
drop table `sPQ`;
This diff is collapsed.
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
drop table if exists `ԣ`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = myisam;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = heap;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = heap;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = heap;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = bdb;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = bdb;
CREATE TABLE `ԣ` (`ã` char(20)) DEFAULT CHARSET = ujis engine = bdb;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_ujis.dat' INTO TABLE `ԣ`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_ujis.dat' INTO TABLE `ԣ`;
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(`ã`) FROM `ԣ`;
CHARSET(`ã`)
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING utf8)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ucs2)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`ã` USING sjis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`ã` USING ujis)) FROM `ԣ`;
CHARSET(CONVERT(`ã` USING ujis))
ujis
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table `ԣ`;
drop table if exists `T1`;
drop table if exists `T2`;
drop table if exists `T3`;
drop table if exists `T4`;
drop table if exists `T5`;
drop table if exists `T6`;
drop table if exists `T7`;
drop table if exists `T8`;
drop table if exists `T9`;
drop table if exists `T10`;
drop table if exists `T11`;
drop table if exists `T12`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE TABLE `T1` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `T2` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `T3` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `T4` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `T5` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `T6` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `T7` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `T8` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `T9` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `T10` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = bdb;
CREATE TABLE `T11` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = bdb;
CREATE TABLE `T12` (`C1` char(20)) DEFAULT CHARSET = utf8 engine = bdb;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `T1`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `T2`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `T3`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `T4`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `T5`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `T6`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `T7`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `T8`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `T9`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_utf8.dat' INTO TABLE `T10`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_utf8.dat' INTO TABLE `T11`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0212_utf8.dat' INTO TABLE `T12`;
SELECT DISTINCT CHARSET(`C1`) FROM `T1`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(`C1`) FROM `T2`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(`C1`) FROM `T3`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T1`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T1`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T1`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T1`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T2`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T2`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T2`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T2`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T3`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T3`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T3`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T3`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(`C1`) FROM `T4`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(`C1`) FROM `T5`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(`C1`) FROM `T6`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T4`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T4`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T4`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T4`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T5`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T5`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T5`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T5`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T6`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T6`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T6`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T6`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(`C1`) FROM `T7`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(`C1`) FROM `T8`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(`C1`) FROM `T9`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T7`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T7`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T7`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T7`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T8`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T8`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T8`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T8`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T9`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T9`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T9`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T9`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(`C1`) FROM `T10`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(`C1`) FROM `T11`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(`C1`) FROM `T12`;
CHARSET(`C1`)
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T10`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T10`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T10`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T10`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T11`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T11`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T11`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T11`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING utf8)) FROM `T12`;
CHARSET(CONVERT(`C1` USING utf8))
utf8
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ucs2)) FROM `T12`;
CHARSET(CONVERT(`C1` USING ucs2))
ucs2
SELECT DISTINCT CHARSET(CONVERT(`C1` USING sjis)) FROM `T12`;
CHARSET(CONVERT(`C1` USING sjis))
sjis
SELECT DISTINCT CHARSET(CONVERT(`C1` USING ujis)) FROM `T12`;
CHARSET(CONVERT(`C1` USING ujis))
ujis
drop table `T1`;
drop table `T2`;
drop table `T3`;
drop table `T4`;
drop table `T5`;
drop table `T6`;
drop table `T7`;
drop table `T8`;
drop table `T9`;
drop table `T10`;
drop table `T11`;
drop table `T12`;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
SET NAMES sjis;
SET character_set_database = sjis;
drop database if exists `ニホンゴ`;
drop database if exists `日本語`;
drop database if exists `ソ十表`;
CREATE DATABASE `ニホンゴ`;
CREATE DATABASE `日本語`;
CREATE DATABASE `ソ十表`;
SHOW DATABASES;
Database
mysql
test
ソ十表
日本語
ニホンゴ
USE `ニホンゴ`;
USE `日本語`;
USE `ソ十表`;
DROP DATABASE `ニホンゴ`;
DROP DATABASE `日本語`;
DROP DATABASE `ソ十表`;
drop database if exists `ニホンゴ`;
drop database if exists `日本語`;
drop database if exists `龔龖龗`;
SET NAMES ujis;
SET character_set_database = ucs2;
SET character_set_server = ucs2;
CREATE DATABASE `ニホンゴ`;
CREATE DATABASE `日本語`;
CREATE DATABASE `龔龖龗`;
SHOW DATABASES;
Database
mysql
test
日本語
龔龖龗
ニホンゴ
USE `ニホンゴ`;
USE `日本語`;
USE `龔龖龗`;
DROP DATABASE `ニホンゴ`;
DROP DATABASE `日本語`;
DROP DATABASE `龔龖龗`;
drop database if exists `ニホンゴ`;
drop database if exists `日本語`;
drop database if exists `龔龖龗`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE DATABASE `ニホンゴ`;
CREATE DATABASE `日本語`;
CREATE DATABASE `龔龖龗`;
SHOW DATABASES;
Database
mysql
test
日本語
龔龖龗
ニホンゴ
USE `ニホンゴ`;
USE `日本語`;
USE `龔龖龗`;
DROP DATABASE `ニホンゴ`;
DROP DATABASE `日本語`;
DROP DATABASE `龔龖龗`;
drop database if exists `ニホンゴ`;
drop database if exists `日本語`;
drop database if exists `龔龖龗`;
SET NAMES utf8;
SET character_set_database = utf8;
CREATE DATABASE `ニホンゴ`;
CREATE DATABASE `日本語`;
CREATE DATABASE `龔龖龗`;
SHOW DATABASES;
Database
mysql
test
日本語
龔龖龗
ニホンゴ
USE `ニホンゴ`;
USE `日本語`;
USE `龔龖龗`;
DROP DATABASE `ニホンゴ`;
DROP DATABASE `日本語`;
DROP DATABASE `龔龖龗`;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment