Bug #5687 InnoDB doesn't check row limit size on CREATE
| Submitted: | 21 Sep 2004 20:53 | Modified: | 21 Sep 2004 20:58 |
|---|---|---|---|
| Reporter: | Hartmut Holzgraefe | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
| Version: | OS: | ||
| Assigned to: | CPU Architecture: | Any |
[21 Sep 2004 20:58]
Marko Mäkelä
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead. Thank you for your interest in MySQL. Additional info: See bug #5682
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: InnoDB limits row sizes to 8k but doesn't check whether a table exceeds it at creation time. How to repeat: CREATE TABLE a ( -> f1 char(255) default '-', -> f2 char(255) default '-', -> f3 char(255) default '-', -> f4 char(255) default '-', -> f5 char(255) default '-', -> f6 char(255) default '-', -> f7 char(255) default '-', -> f8 char(255) default '-', -> f9 char(255) default '-', -> f10 char(255) default '-', -> f11 char(255) default '-', -> f12 char(255) default '-', -> f13 char(255) default '-', -> f14 char(255) default '-', -> f15 char(255) default '-', -> f16 char(255) default '-', -> f17 char(255) default '-', -> f18 char(255) default '-', -> f19 char(255) default '-', -> f20 char(255) default '-', -> f21 char(255) default '-', -> f22 char(255) default '-', -> f23 char(255) default '-', -> f24 char(255) default '-', -> f25 char(255) default '-', -> f26 char(255) default '-', -> f27 char(255) default '-', -> f28 char(255) default '-', -> f29 char(255) default '-', -> f30 char(255) default '-', -> f31 char(255) default '-', -> f32 char(255) default '-', -> f33 char(255) default '-', -> f34 char(255) default '-', -> f35 char(255) default '-', -> f36 char(255) default '-' -> ) type=InnoDB; /* no warning although the row size exceeds the 8k limit */ INSERT INTO a SET f1='x'; /* this returns 'ERROR 1030 (00000): Got error 139 from table handler' */ Suggested fix: make CREATE TABLE check the limit