Skip to content

Commit c78b197

Browse files
author
tulin@dl145c.mysql.com
committed
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
into dl145c.mysql.com:/home/ndbdev/tomas/mysql-5.0
2 parents 74bd42f + a6c19c2 commit c78b197

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sql/sql_select.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#include <hash.h>
2929
#include <ft_global.h>
3030

31+
typedef uint32 cache_rec_length_type;
32+
3133
const char *join_type_str[]={ "UNKNOWN","system","const","eq_ref","ref",
3234
"MAYBE_REF","ALL","range","index","fulltext",
3335
"ref_or_null","unique_subquery","index_subquery",
@@ -11604,7 +11606,7 @@ used_blob_length(CACHE_FIELD **ptr)
1160411606
static bool
1160511607
store_record_in_cache(JOIN_CACHE *cache)
1160611608
{
11607-
ulong length;
11609+
cache_rec_length_type length;
1160811610
uchar *pos;
1160911611
CACHE_FIELD *copy,*end_field;
1161011612
bool last_record;
@@ -11685,7 +11687,7 @@ static void
1168511687
read_cached_record(JOIN_TAB *tab)
1168611688
{
1168711689
uchar *pos;
11688-
uint length;
11690+
cache_rec_length_type length;
1168911691
bool last_record;
1169011692
CACHE_FIELD *copy,*end_field;
1169111693

0 commit comments

Comments
 (0)