mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
This commit is contained in:
commit
09d4105f7d
1 changed files with 5 additions and 0 deletions
|
@ -1086,6 +1086,11 @@ int
|
|||
NdbIndexScanOperation::setBound(const NdbColumnImpl* tAttrInfo,
|
||||
int type, const void* aValue, Uint32 len)
|
||||
{
|
||||
if (!tAttrInfo)
|
||||
{
|
||||
setErrorCodeAbort(4318); // Invalid attribute
|
||||
return -1;
|
||||
}
|
||||
if (theOperationType == OpenRangeScanRequest &&
|
||||
(0 <= type && type <= 4) &&
|
||||
len <= 8000) {
|
||||
|
|
Loading…
Add table
Reference in a new issue