Commit 38e7ee63 authored by joreland@mysql.com's avatar joreland@mysql.com

Merge mysql.com:/home/jonas/src/mysql-5.0

into mysql.com:/home/jonas/src/mysql-5.0-ndb
parents 68f6ef90 a609bc45
...@@ -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
......
...@@ -1922,7 +1922,7 @@ AC_CHECK_FUNCS(alarm bcmp bfill bmove bzero chsize cuserid fchmod fcntl \ ...@@ -1922,7 +1922,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)
...@@ -2708,7 +2708,8 @@ ndb_transporter_opt_objs="" ...@@ -2708,7 +2708,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])
......
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.
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` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T2` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T3` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = innodb;
CREATE TABLE `T4` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T5` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T6` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
CREATE TABLE `T7` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T8` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T9` (`C1` ENUM('龔','龖','龗'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = heap;
CREATE TABLE `T10` (`C1` ENUM('ア','イ','ウ'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
CREATE TABLE `T11` (`C1` ENUM('あ','い','う'), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = bdb;
CREATE TABLE `T12` (`C1` ENUM('龔','龖','龗'), 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 * FROM `T1`;
C1
SELECT * FROM `T2`;
C1
SELECT * FROM `T3`;
C1
SELECT * FROM `T4`;
C1
SELECT * FROM `T5`;
C1
SELECT * FROM `T6`;
C1
SELECT * FROM `T7`;
C1
SELECT * FROM `T8`;
C1
SELECT * FROM `T9`;
C1
SELECT * FROM `T10`;
C1
SELECT * FROM `T11`;
C1
SELECT * FROM `T12`;
C1
SHOW CREATE TABLE `T1`;
Table Create Table
T1 CREATE TABLE `T1` (
`C1` enum('ア','イ','ウ') default NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T2`;
Table Create Table
T2 CREATE TABLE `T2` (
`C1` enum('あ','い','う') default NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T3`;
Table Create Table
T3 CREATE TABLE `T3` (
`C1` enum('龔','龖','龗') default NULL,
KEY `C1` (`C1`)
) ENGINE=InnoDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T4`;
Table Create Table
T4 CREATE TABLE `T4` (
`C1` enum('ア','イ','ウ') default NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T5`;
Table Create Table
T5 CREATE TABLE `T5` (
`C1` enum('あ','い','う') default NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T6`;
Table Create Table
T6 CREATE TABLE `T6` (
`C1` enum('龔','龖','龗') default NULL,
KEY `C1` (`C1`)
) ENGINE=MyISAM DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T7`;
Table Create Table
T7 CREATE TABLE `T7` (
`C1` enum('ア','イ','ウ') default NULL,
KEY `C1` (`C1`)
) ENGINE=HEAP DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T8`;
Table Create Table
T8 CREATE TABLE `T8` (
`C1` enum('あ','い','う') default NULL,
KEY `C1` (`C1`)
) ENGINE=HEAP DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T9`;
Table Create Table
T9 CREATE TABLE `T9` (
`C1` enum('龔','龖','龗') default NULL,
KEY `C1` (`C1`)
) ENGINE=HEAP DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T10`;
Table Create Table
T10 CREATE TABLE `T10` (
`C1` enum('ア','イ','ウ') default NULL,
KEY `C1` (`C1`)
) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T11`;
Table Create Table
T11 CREATE TABLE `T11` (
`C1` enum('あ','い','う') default NULL,
KEY `C1` (`C1`)
) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
SHOW CREATE TABLE `T12`;
Table Create Table
T12 CREATE TABLE `T12` (
`C1` enum('龔','龖','龗') default NULL,
KEY `C1` (`C1`)
) ENGINE=BerkeleyDB DEFAULT CHARSET=ucs2
DESC `T1`;
Field Type Null Key Default Extra
C1 enum('ア','イ','ウ') YES MUL NULL
DESC `T2`;
Field Type Null Key Default Extra
C1 enum('あ','い','う') YES MUL NULL
DESC `T3`;
Field Type Null Key Default Extra
C1 enum('龔','龖','龗') YES MUL NULL
DESC `T4`;
Field Type Null Key Default Extra
C1 enum('ア','イ','ウ') YES MUL NULL
DESC `T5`;
Field Type Null Key Default Extra
C1 enum('あ','い','う') YES MUL NULL
DESC `T6`;
Field Type Null Key Default Extra
C1 enum('龔','龖','龗') YES MUL NULL
DESC `T7`;
Field Type Null Key Default Extra
C1 enum('ア','イ','ウ') YES MUL NULL
DESC `T8`;
Field Type Null Key Default Extra
C1 enum('あ','い','う') YES MUL NULL
DESC `T9`;
Field Type Null Key Default Extra
C1 enum('龔','龖','龗') YES MUL NULL
DESC `T10`;
Field Type Null Key Default Extra
C1 enum('ア','イ','ウ') YES MUL NULL
DESC `T11`;
Field Type Null Key Default Extra
C1 enum('あ','い','う') YES MUL NULL
DESC `T12`;
Field Type Null Key Default Extra
C1 enum('龔','龖','龗') YES MUL NULL
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.
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