~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/hash0hash.h

  • Committer: Brian Aker
  • Date: 2010-12-25 00:28:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225002849-g73mg6ihulajis0o
First pass in refactoring of the name of my_decimal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
                } else {\
285
285
                        /* We have to look for the predecessor of the top\
286
286
                        node */\
287
 
                        node111 = static_cast<TYPE *>(cell111->node);\
 
287
                        node111 = cell111->node;\
288
288
\
289
289
                        while (top_node111 != HASH_GET_NEXT(NAME, node111)) {\
290
290
\
291
 
                                node111 = static_cast<TYPE *>(HASH_GET_NEXT(NAME, node111));\
 
291
                                node111 = HASH_GET_NEXT(NAME, node111);\
292
292
                        }\
293
293
\
294
294
                        /* Now we have the predecessor node */\
314
314
        cell_count2222 = hash_get_n_cells(OLD_TABLE);\
315
315
\
316
316
        for (i2222 = 0; i2222 < cell_count2222; i2222++) {\
317
 
                NODE_TYPE*      node2222 = static_cast<NODE_TYPE *>(HASH_GET_FIRST((OLD_TABLE), i2222));\
 
317
                NODE_TYPE*      node2222 = HASH_GET_FIRST((OLD_TABLE), i2222);\
318
318
\
319
319
                while (node2222) {\
320
 
                        NODE_TYPE*      next2222 = static_cast<NODE_TYPE *>(node2222->PTR_NAME);\
 
320
                        NODE_TYPE*      next2222 = node2222->PTR_NAME;\
321
321
                        ulint           fold2222 = FOLD_FUNC(node2222);\
322
322
\
323
323
                        HASH_INSERT(NODE_TYPE, PTR_NAME, (NEW_TABLE),\