PHP 클래스 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.
저자: Gabor de Mooij and the RedBeanPHP Community
상속: extends RedUNIT\Mysql
파일 보기 프로젝트 열기: gabordemooij/redbean

공개 메소드들

메소드 설명
testInnoDBIndexLimit ( ) : void Test varchar 191 condition.

메소드 상세

testInnoDBIndexLimit() 공개 메소드

Test varchar 191 condition.
public testInnoDBIndexLimit ( ) : void
리턴 void