mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
This commit is contained in:
commit
c7a317d440
1 changed files with 1 additions and 4 deletions
|
@ -1476,10 +1476,7 @@ int ha_ndbcluster::set_bounds(NdbIndexScanOperation *op,
|
|||
// Set bound if not cancelled via type -1
|
||||
if (p.bound_type != -1)
|
||||
{
|
||||
char truncated_field_name[NDB_MAX_ATTR_NAME_SIZE];
|
||||
strnmov(truncated_field_name,field->field_name,sizeof(truncated_field_name));
|
||||
truncated_field_name[sizeof(truncated_field_name)-1]= '\0';
|
||||
if (op->setBound(truncated_field_name, p.bound_type, p.bound_ptr))
|
||||
if (op->setBound(i, p.bound_type, p.bound_ptr))
|
||||
ERR_RETURN(op->getNdbError());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue