mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-patches
This commit is contained in:
commit
f8862eaafa
2 changed files with 13 additions and 1 deletions
|
@ -1926,7 +1926,19 @@ row_sel_convert_mysql_key_to_innobase(
|
|||
|
||||
if (key_ptr > key_end) {
|
||||
/* The last field in key was not a complete
|
||||
field but a prefix of it */
|
||||
field but a prefix of it.
|
||||
|
||||
Print a warning about this! HA_READ_PREFIX_LAST
|
||||
does not currently work in InnoDB with partial-field
|
||||
key value prefixes. Since MySQL currently uses a
|
||||
padding trick to calculate LIKE 'abc%' type queries
|
||||
there should never be partial-field prefixes
|
||||
in searches. */
|
||||
|
||||
ut_print_timestamp(stderr);
|
||||
|
||||
fprintf(stderr,
|
||||
" InnoDB: Warning: using a partial-field key prefix in search\n");
|
||||
|
||||
ut_ad(dfield_get_len(dfield) != UNIV_SQL_NULL);
|
||||
|
||||
|
|
0
netware/nwbootstrap
Normal file → Executable file
0
netware/nwbootstrap
Normal file → Executable file
Loading…
Reference in a new issue