Ticket #36948: spatial_index_patch.patch
File spatial_index_patch.patch, 721 bytes (added by , 9 years ago) |
---|
-
wp-admin/includes/upgrade.php
2198 2198 case 'primary': 2199 2199 case 'index': 2200 2200 case 'fulltext': 2201 case 'spatial': 2201 2202 case 'unique': 2202 2203 case 'key': 2203 2204 $validfield = false; … … 2301 2302 if ( 'FULLTEXT' === strtoupper( $index_data['index_type'] ) ) { 2302 2303 $index_string .= 'FULLTEXT '; 2303 2304 } 2305 if ( 'SPATIAL' === strtoupper( $index_data['index_type'] ) ) { 2306 $index_string .= 'SPATIAL '; 2307 } 2304 2308 $index_string .= 'KEY '; 2305 2309 if ($index_name != 'PRIMARY') { 2306 2310 $index_string .= $index_name;