mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
df0d80a31b
into sita.local:/Users/tsmith/m/bk/maint/51 This merge requires a post-merge fix to remove rpl_udf from suite/rpl/t/disabled.def. mysql-test/lib/mtr_report.pl: Auto merged mysql-test/r/show_check.result: Auto merged mysql-test/suite/ndb/r/ndb_dd_basic.result: Auto merged mysql-test/suite/ndb/r/ndb_dd_ddl.result: Auto merged mysql-test/suite/ndb/r/ndb_gis.result: Auto merged mysql-test/suite/ndb/r/ndb_row_format.result: Auto merged mysql-test/suite/ndb/r/ndb_single_user.result: Auto merged mysql-test/suite/ndb/t/ndb_single_user.test: Auto merged mysql-test/suite/rpl/r/rpl_extraCol_innodb.result: Auto merged mysql-test/suite/rpl/r/rpl_extraCol_myisam.result: Auto merged mysql-test/suite/rpl/r/rpl_incident.result: Auto merged mysql-test/suite/rpl/r/rpl_row_tabledefs_2myisam.result: Auto merged mysql-test/suite/rpl/r/rpl_row_tabledefs_3innodb.result: Auto merged mysql-test/suite/rpl/r/rpl_sp.result: Auto merged mysql-test/suite/rpl_ndb/r/rpl_ndb_extraCol.result: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged sql/log.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_show.cc: Auto merged storage/csv/ha_tina.cc: Auto merged storage/innobase/handler/ha_innodb.cc: Auto merged mysql-test/r/csv.result: Manual merge mysql-test/t/csv.test: Manual merge mysql-test/t/disabled.def: Manual merge
65 lines
1.5 KiB
Text
65 lines
1.5 KiB
Text
DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6,t7;
|
|
drop database if exists mysqltest;
|
|
CREATE TABLE t1
|
|
( a INT KEY,
|
|
b VARCHAR(10) )
|
|
ROW_FORMAT=FIXED
|
|
ENGINE=NDB;
|
|
ERROR HY000: Can't create table 'test.t1' (errno: 138)
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
Error 1475 Table storage engine 'ndbcluster' does not support the create option 'Row format FIXED incompatible with variable sized attribute'
|
|
Error 1005 Can't create table 'test.t1' (errno: 138)
|
|
CREATE TABLE t1
|
|
( a INT KEY,
|
|
b INT )
|
|
ENGINE=NDB;
|
|
ForceVarPart: 1
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1
|
|
( a INT KEY,
|
|
b INT )
|
|
ROW_FORMAT=DEFAULT
|
|
ENGINE=NDB;
|
|
ForceVarPart: 1
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1
|
|
( a INT KEY,
|
|
b INT )
|
|
ROW_FORMAT=FIXED
|
|
ENGINE=NDB;
|
|
ForceVarPart: 0
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1
|
|
( a INT KEY,
|
|
b INT )
|
|
ROW_FORMAT=DYNAMIC
|
|
ENGINE=NDB;
|
|
ForceVarPart: 1
|
|
DROP TABLE t1;
|
|
create table t1 (a int auto_increment primary key, b varchar(1000)) engine = ndb;
|
|
insert into t1(b) values ('0123456789');
|
|
insert into t1(b) select b from t1;
|
|
insert into t1(b) select b from t1;
|
|
insert into t1(b) select b from t1;
|
|
insert into t1(b) select b from t1;
|
|
insert into t1(b) select b from t1;
|
|
insert into t1(b) select b from t1;
|
|
insert into t1(b) select b from t1;
|
|
insert into t1(b) select b from t1;
|
|
insert into t1(b) select b from t1;
|
|
insert into t1(b) select b from t1;
|
|
select count(*) from t1;
|
|
count(*)
|
|
1024
|
|
begin;
|
|
update t1 set b = concat(b,b);
|
|
update t1 set b = concat(b,b);
|
|
update t1 set b = concat(b,b);
|
|
update t1 set b = concat(b,b);
|
|
update t1 set b = concat(b,b);
|
|
rollback;
|
|
select count(*),b from t1 group by b;
|
|
count(*) b
|
|
1024 0123456789
|
|
drop table t1;
|