Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
 
 
 

Benutzer

 jp_length_sjis.test  Interaktion und
Portierbarkeitunbekannt

 
Anforderungen.test Begriffe der KonzeptbildungSQL {SQL[203] Lisp[71] Masm[71]}Entwicklung

--source include/have_sjis.inc
--source include/have_innodb.inc
--character_set sjis
--disable_warnings
drop table if exists `‚s‚P`;
drop table if exists `‚s‚Q`;
drop table if exists `‚s‚R`;
drop table if exists `‚s‚S`;
drop table if exists `‚s‚T`;
drop table if exists `‚s‚U`;
drop table if exists `‚s‚V`;
drop table if exists `‚s‚W`;
drop table if exists `‚s‚X`;
--enable_warnings

#
# Test LENGTH() function with Japanese character in sjis encoding
#

SET NAMES sjis;
SET character_set_database = sjis;

CREATE TABLE `‚s‚P` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `‚s‚Q` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `‚s‚R` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `‚s‚S` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `‚s‚T` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `‚s‚U` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `‚s‚V` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = MEMORY;
CREATE TABLE `‚s‚W` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = MEMORY;
CREATE TABLE `‚s‚X` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = MEMORY;

INSERT INTO `‚s‚P` VALUES ('±²³´µ'),('±²³´'),('±²³'),('±²'),('±'),('');
INSERT INTO `‚s‚Q` VALUES ('‚ ‚¢‚¤‚¦‚¨'),('‚ ‚¢‚¤‚¦'),('‚ ‚¢‚¤'),('‚ ‚¢'),('‚ '),('');
INSERT INTO `‚s‚R` VALUES ('ƒ\\•\—\\'),('ƒ\\•\—\'),('ƒ\\•\'),('ƒ\\'),('ƒ\'),('');
INSERT INTO `‚s‚S` VALUES ('±²³´µ'),('±²³´'),('±²³'),('±²'),('±'),('');
INSERT INTO `‚s‚T` VALUES ('‚ ‚¢‚¤‚¦‚¨'),('‚ ‚¢‚¤‚¦'),('‚ ‚¢‚¤'),('‚ ‚¢'),('‚ '),('');
INSERT INTO `‚s‚U` VALUES ('ƒ\\•\—\\'),('ƒ\\•\—\'),('ƒ\\•\'),('ƒ\\'),('ƒ\'),('');
INSERT INTO `‚s‚V` VALUES ('±²³´µ'),('±²³´'),('±²³'),('±²'),('±'),('');
INSERT INTO `‚s‚W` VALUES ('‚ ‚¢‚¤‚¦‚¨'),('‚ ‚¢‚¤‚¦'),('‚ ‚¢‚¤'),('‚ ‚¢'),('‚ '),('');
INSERT INTO `‚s‚X` VALUES ('ƒ\\•\—\\'),('ƒ\\•\—\'),('ƒ\\•\'),('ƒ\\'),('ƒ\'),('');

#InnoDB
SELECT `‚b‚P`, LENGTH(`‚b‚P`) FROM `‚s‚P`;
SELECT `‚b‚P`, LENGTH(`‚b‚P`) FROM `‚s‚Q`;
SELECT `‚b‚P`, LENGTH(`‚b‚P`) FROM `‚s‚R`;

#MyISAM
SELECT `‚b‚P`, LENGTH(`‚b‚P`) FROM `‚s‚S`;
SELECT `‚b‚P`, LENGTH(`‚b‚P`) FROM `‚s‚T`;
SELECT `‚b‚P`, LENGTH(`‚b‚P`) FROM `‚s‚U`;

#MEMORY
SELECT `‚b‚P`, LENGTH(`‚b‚P`) FROM `‚s‚V`;
SELECT `‚b‚P`, LENGTH(`‚b‚P`) FROM `‚s‚W`;
SELECT `‚b‚P`, LENGTH(`‚b‚P`) FROM `‚s‚X`;

DROP TABLE `‚s‚P`;
DROP TABLE `‚s‚Q`;
DROP TABLE `‚s‚R`;
DROP TABLE `‚s‚S`;
DROP TABLE `‚s‚T`;
DROP TABLE `‚s‚U`;
DROP TABLE `‚s‚V`;
DROP TABLE `‚s‚W`;
DROP TABLE `‚s‚X`;

[Konzepte0.48Was zu einem Entwurf gehört]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126438
#Domains=1897691