| 2793 | |
| 2794 | |
| 2795 | bool Type_handler_string::Key_part_spec_init_ft(Key_part_spec *part, |
| 2796 | const Column_definition &def) |
| 2797 | const |
| 2798 | { |
| 2799 | /* |
| 2800 | Set length to 0. It's set to the real column width later for CHAR. |
| 2801 | It has to be the correct col width for CHAR, as its data are not |
| 2802 | prefixed with length (unlike blobs). |
| 2803 | */ |
| 2804 | part->length= 0; |
| 2805 | return !Charset(def.charset).is_good_for_ft(); |
| 2806 | } |
| 2807 | |
| 2808 | |
| 2809 | bool Type_handler_varchar::Key_part_spec_init_ft(Key_part_spec *part, |
no test coverage detected