-
Bug
-
Resolution: Fixed
-
Major
-
2.7
-
MOODLE_27_STABLE
-
MOODLE_28_STABLE
-
wip_
MDL-46235_m28_innodbtext -
Some addons may try to create tables with very many text columns, the problem is that later inserts into the table end up with error message:
core_ddl_testcase::test_innodb_wide_tables
dml_write_exception: Error writing to database (Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.
INSERT INTO phpu_test_innodb (text0,text1,text2,text3,text4,text5,text6,text7,text8,text9,text10,text11,text12,text13,text14,text15,text16,text17,text18,text19) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
Multiple standard tables are affected too - user, profile fields and mod_data tables.