~posulliv/drizzle/memcached_applier

« back to all changes in this revision

Viewing changes to drizzled/sql_select.cc

  • Committer: Brian Aker
  • Date: 2009-07-11 19:15:43 UTC
  • mto: (1039.2.54 staging)
  • mto: This revision was merged to the branch mainline in revision 1064.
  • Revision ID: brian@gaz-20090711191543-7tpgoaqnrlw23n36
Fix TABLE_REF structure

Show diffs side-by-side

added added

removed removed

Lines of Context:
2209
2209
      1. update_ref_and_keys() accumulates info about null-rejecting
2210
2210
         predicates in in KEY_FIELD::null_rejecting
2211
2211
      1.1 add_key_part saves these to KeyUse.
2212
 
      2. create_ref_for_key copies them to TABLE_REF.
 
2212
      2. create_ref_for_key copies them to table_reference_st.
2213
2213
      3. add_not_null_conds adds "x IS NOT NULL" to join_tab->select_cond of
2214
2214
         appropiate JoinTable members.
2215
2215
*/
6750
6750
    != 0;
6751
6751
}
6752
6752
 
6753
 
bool cp_buffer_from_ref(Session *session, TABLE_REF *ref)
 
6753
bool cp_buffer_from_ref(Session *session, table_reference_st *ref)
6754
6754
{
6755
6755
  enum enum_check_fields save_count_cuted_fields= session->count_cuted_fields;
6756
6756
  session->count_cuted_fields= CHECK_FIELD_IGNORE;