mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
10.0-monty merge
includes: * remove some remnants of "Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING" * introduce LOCK_share, now LOCK_ha_data is strictly for engines * rea_create_table() always creates .par file (even in "frm-only" mode) * fix a 5.6 bug, temp file leak on dummy ALTER TABLE
This commit is contained in:
@@ -762,7 +762,7 @@ dbcontext::cmd_find_internal(dbcallback_i& cb, const prep_stmt& pst,
|
||||
return cb.dbcb_resp_short(2, "idxnum");
|
||||
}
|
||||
KEY& kinfo = table->key_info[pst.get_idxnum()];
|
||||
if (args.kvalslen > kinfo.key_parts) {
|
||||
if (args.kvalslen > kinfo.user_defined_key_parts) {
|
||||
return cb.dbcb_resp_short(2, "kpnum");
|
||||
}
|
||||
uchar *const key_buf = DENA_ALLOCA_ALLOCATE(uchar, kinfo.key_length);
|
||||
|
Reference in New Issue
Block a user