diff options
Diffstat (limited to 'mysql-test/t/strict.test')
-rw-r--r-- | mysql-test/t/strict.test | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/mysql-test/t/strict.test b/mysql-test/t/strict.test index 5779ea97bc2..d1e136bf5fa 100644 --- a/mysql-test/t/strict.test +++ b/mysql-test/t/strict.test @@ -1166,6 +1166,40 @@ set @@sql_mode='traditional'; --error ER_TOO_LONG_TABLE_COMMENT create table t1 (i int) comment '123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789*123456789* 123456789*123456789*123456789*123456789*123456789*'; --error ER_TOO_LONG_FIELD_COMMENT create table t1 ( @@ -1176,6 +1210,26 @@ i int comment 123456789*123456789*123456789*123456789* 123456789*123456789*123456789*123456789* 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* 123456789*123456789*123456789*123456789*'); set @@sql_mode= @org_mode; create table t1 @@ -1186,6 +1240,26 @@ create table t1 123456789*123456789*123456789*123456789* 123456789*123456789*123456789*123456789* 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* + 123456789*123456789*123456789*123456789* 123456789*123456789*123456789*123456789*'); select column_name, column_comment from information_schema.columns where |