⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
jp
/
t
/
View File Name :
jp_lpad_sjis.test
--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 LPAD() 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`, LPAD(`�b�P`,5,'�') FROM `�s�P`; SELECT `�b�P`, LPAD(`�b�P`,5,'�w') FROM `�s�Q`; SELECT `�b�P`, LPAD(`�b�P`,5,'�\') FROM `�s�R`; #MyISAM SELECT `�b�P`, LPAD(`�b�P`,5,'�') FROM `�s�S`; SELECT `�b�P`, LPAD(`�b�P`,5,'�w') FROM `�s�T`; SELECT `�b�P`, LPAD(`�b�P`,5,'�\' ) FROM `�s�U`; #MEMORY SELECT `�b�P`, LPAD(`�b�P`,5,'�') FROM `�s�V`; SELECT `�b�P`, LPAD(`�b�P`,5,'�w') FROM `�s�W`; SELECT `�b�P`, LPAD(`�b�P`,5,'�\' ) 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`;