PHP Class RedUNIT\Mysql\Issue411
InnoDB has a maximum index length of 767 bytes, so with utf8mb4
you can only store 191 characters. This means that when you
subsequently add an index to the column you get a
(not-so-obvious) MySQL-error. That's why we limit the varchar to
191 chars and then switch to TEXT type.
Show file
Open project: gabordemooij/redbean
Public Methods
Method Details
testInnoDBIndexLimit()
public method
Test varchar 191 condition.