~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/csv_alter_table.test

pandora-build v0.72 - Moved remaining hard-coded tests into pandora-build
macros.
Add PANDORA_DRIZZLE_BUILD to run the extra checks that drizzle needs that 
plugins would also need to run so we can just use that macro in generated
external plugin builds.
Added support to register_plugins for external plugin building.
Renamed register_plugins.py to pandora-plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#                             
18
18
#############################################################################
19
19
-- echo # ===== csv_alter_table.1 =====
 
20
--disable_warnings
20
21
DROP TABLE IF EXISTS t1;
 
22
--enable_warnings
21
23
 
22
 
CREATE TABLE t1 (a int NOT NULL) ENGINE = CSV;
 
24
CREATE TEMPORARY TABLE t1 (a int NOT NULL) ENGINE = CSV;
23
25
ALTER TABLE t1 ADD COLUMN b CHAR(5) NOT NULL;
24
26
DESC t1;
25
27
ALTER TABLE t1 DROP COLUMN b;
38
38
# These queries should not succeed / should throw errors
39
39
#############################################################################
40
40
-- echo # ===== csv_alter_table.2 =====
41
41
DROP TABLE IF EXISTS t1;
42
42
 
43
 
CREATE TABLE t1 (a int NOT NULL) ENGINE = CSV;
 
43
CREATE TEMPORARY TABLE t1 (a int NOT NULL) ENGINE = CSV;
44
44
--error ER_CHECK_NOT_IMPLEMENTED
45
45
ALTER TABLE t1 ADD COLUMN b CHAR(5);
46
46
DESC t1;