~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/semi_join_table.h

  • Committer: Brian Aker
  • Date: 2009-07-09 22:21:12 UTC
  • mto: (1090.1.1 staging)
  • mto: This revision was merged to the branch mainline in revision 1091.
  • Revision ID: brian@gaz-20090709222112-rq58gug7noraiv2z
Rename work (cheery pick from new-cleanup). Jay's fix for auth_http. Update
to valgrind suppressions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_SJ_TMP_TABLE_H
21
 
#define DRIZZLED_SJ_TMP_TABLE_H
 
20
#ifndef DRIZZLED_SEMI_JOIN_TABLE_H
 
21
#define DRIZZLED_SEMI_JOIN_TABLE_H
22
22
 
23
23
#include <drizzled/server_includes.h>
24
 
#include "table.h"
 
24
#include <drizzled/table.h>
25
25
 
26
26
/*
27
27
  Describes use of one temporary table to weed out join duplicates.
36
36
       - null bit address.
37
37
*/
38
38
 
39
 
class SJ_TMP_TABLE : public Sql_alloc
 
39
class SemiJoinTable : public Sql_alloc
40
40
{
41
41
public:
42
42
  /* Array of pointers to tables that should be "used" */
61
61
  MI_COLUMNDEF *recinfo;
62
62
 
63
63
  /* Pointer to next table (next->start_idx > this->end_idx) */
64
 
  SJ_TMP_TABLE *next;
 
64
  SemiJoinTable *next;
 
65
 
 
66
  Table *createTable(Session *session,
 
67
                     uint32_t uniq_tuple_length_arg);
65
68
};
66
69
 
67
 
Table *create_duplicate_weedout_tmp_table(Session *session,
68
 
                                          uint32_t uniq_tuple_length_arg,
69
 
                                          SJ_TMP_TABLE *sjtbl);
70
 
 
71
 
#endif /* DRIZZLED_SJ_TMP_TABLE_H */
 
70
#endif /* DRIZZLED_SEMI_JOIN_TABLE_H */