Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /usr/share/mysql-test/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/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;

haha - 2025