~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Mats Kindahl
  • Date: 2008-08-25 11:54:47 UTC
  • mto: (489.1.2 codestyle)
  • mto: This revision was merged to the branch mainline in revision 372.
  • Revision ID: mats@mysql.com-20080825115447-tg73zkyjnldm7p4c
Hiding THD::proc_info field and providing a setter and getter.
Replacing use of swap_variables() in C++ code with std::swap().
Moving swap_variables() into C files where it is used.
Replacing some function-like macros with inline functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6464
6464
      if (in_buf == val)
6465
6465
        in_buf= r->odd_buf;
6466
6466
 
6467
 
      swap_variables(char*,in_buf,out_buf);
 
6467
      std::swap(in_buf,out_buf);
6468
6468
 
6469
6469
      buf_len_p= (out_buf == r->even_buf) ? &r->even_buf_len :
6470
6470
        &r->odd_buf_len;