MDL-30760 question engine: reduce summary max size
commit0016ed01153985c5e02adbfd32b849f2132de7e9
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 23 Dec 2011 00:10:03 +0000 (23 01:10 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 23 Dec 2011 00:16:00 +0000 (23 01:16 +0100)
tree0f0ffe7cb2c0874f4d2b234eb5bbdb1497a549d4
parent0c5e3d45646ebe62140d519c04a5599bc535291d
MDL-30760 question engine: reduce summary max size

MySQL only accepts 65536 (aprox) bytes in default TEXT
columns. So we define the max allowed as 32000 to allow
99.9% of utf-8 contents to fit. If some day MDL-19603 is
implemented and all current TEXTs are moved (MySQL) to
the BIG counterparts, this restriction can be out (MDL-19603).
question/engine/bank.php