mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Applied all changes from Igor and Sanja
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