diff options
author | unknown <ramil@mysql.com> | 2005-12-09 19:55:59 +0400 |
---|---|---|
committer | unknown <ramil@mysql.com> | 2005-12-09 19:55:59 +0400 |
commit | 8f634dfc20852197cbe18a8dc5aa5a464de5f1b5 (patch) | |
tree | 76d4a31f667638b32ddb56d7a43cfabea0179572 /sql/table.cc | |
parent | 6cf8483dfe3da5de4438dc67ccf1ad048e3d1bc8 (diff) | |
download | mariadb-git-8f634dfc20852197cbe18a8dc5aa5a464de5f1b5.tar.gz |
Fix for bug #15602: 5.0.17 test case 'create' failure.
sql/table.cc:
Fix for bug #15602: 5.0.17 test case 'create' failure.
- always test create_info->max_rows/min_rows as they are of ulonglong type.
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/table.cc b/sql/table.cc index 268d7a0be49..fc75568b615 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -1403,13 +1403,12 @@ File create_frm(THD *thd, my_string name, const char *db, if (create_info->options & HA_LEX_CREATE_TMP_TABLE) create_flags|= O_EXCL | O_NOFOLLOW; -#if SIZEOF_OFF_T > 4 /* Fix this when we have new .frm files; Current limit is 4G rows (QQ) */ if (create_info->max_rows > UINT_MAX32) create_info->max_rows= UINT_MAX32; if (create_info->min_rows > UINT_MAX32) create_info->min_rows= UINT_MAX32; -#endif + /* Ensure that raid_chunks can't be larger than 255, as this would cause problems with drop database |