mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +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,
|
NdbIndexScanOperation::setBound(const NdbColumnImpl* tAttrInfo,
|
||||||
int type, const void* aValue, Uint32 len)
|
int type, const void* aValue, Uint32 len)
|
||||||
{
|
{
|
||||||
|
if (!tAttrInfo)
|
||||||
|
{
|
||||||
|
setErrorCodeAbort(4318); // Invalid attribute
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
if (theOperationType == OpenRangeScanRequest &&
|
if (theOperationType == OpenRangeScanRequest &&
|
||||||
(0 <= type && type <= 4) &&
|
(0 <= type && type <= 4) &&
|
||||||
len <= 8000) {
|
len <= 8000) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue