summaryrefslogtreecommitdiff
path: root/innobase/row/row0mysql.c
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2005-02-17 17:15:29 +0200
committermarko@hundin.mysql.fi <>2005-02-17 17:15:29 +0200
commit612e06617c7019412727a61026aee6d977e79134 (patch)
treec7f0fcd17c220dc071ec22c5ba7c04fc4544d346 /innobase/row/row0mysql.c
parentab2a4c4d540f664683cd9bbb93f46ae1768842fe (diff)
downloadmariadb-git-612e06617c7019412727a61026aee6d977e79134.tar.gz
InnoDB: Make CREATE TABLE return error when the minimum row length
exceeds the maximum record size. (Bug #5682)
Diffstat (limited to 'innobase/row/row0mysql.c')
-rw-r--r--innobase/row/row0mysql.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c
index 0ec261e798f..39c4b76f814 100644
--- a/innobase/row/row0mysql.c
+++ b/innobase/row/row0mysql.c
@@ -238,7 +238,8 @@ row_mysql_convert_row_to_innobase(
+ templ->mysql_col_offset,
mysql_rec + templ->mysql_col_offset,
templ->mysql_col_len,
- templ->type, templ->is_unsigned);
+ templ->type, prebuilt->table->comp,
+ templ->is_unsigned);
next_column:
;
}