Below is the list of changes that have just been committed into a local
5.0 repository of marty. When marty does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.1919 05/08/01 11:52:07 mskold@stripped +1 -0
Merge mysql.com:/usr/local/home/marty/MySQL/mysql-5.0-release
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
sql/ha_ndbcluster.cc
1.197 05/08/01 11:52:01 mskold@stripped +0 -0
Auto merged
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: mskold
# Host: blowfish.ndb.mysql.com
# Root: /usr/local/home/marty/MySQL/mysql-5.0/RESYNC
--- 1.196/sql/ha_ndbcluster.cc 2005-08-01 11:50:26 +02:00
+++ 1.197/sql/ha_ndbcluster.cc 2005-08-01 11:52:01 +02:00
@@ -6353,12 +6353,14 @@
// result type
if (context->expecting(Item::FIELD_ITEM) &&
(context->expecting_field_result(field->result_type()) ||
- // Date and year can be written as strings
+ // Date and year can be written as string or int
((type == MYSQL_TYPE_TIME ||
type == MYSQL_TYPE_DATE ||
type == MYSQL_TYPE_YEAR ||
type == MYSQL_TYPE_DATETIME)
- ? context->expecting_field_result(STRING_RESULT) : true)) &&
+ ? (context->expecting_field_result(STRING_RESULT) ||
+ context->expecting_field_result(INT_RESULT))
+ : true)) &&
// Bit fields no yet supported in scan filter
type != MYSQL_TYPE_BIT)
{
@@ -6426,8 +6428,8 @@
}
else
{
- DBUG_PRINT("info", ("Was not expecting field of type %u",
- field->result_type()));
+ DBUG_PRINT("info", ("Was not expecting field of type %u(%u)",
+ field->result_type(), type));
context->supported= FALSE;
}
}
| Thread |
|---|
| • bk commit into 5.0 tree (mskold:1.1919) | Martin Skold | 1 Aug |