~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 21:57:14 UTC
  • mto: This revision was merged to the branch mainline in revision 2348.
  • Revision ID: olafvdspek@gmail.com-20110622215714-0wmhwrx6of27etov
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
1032
1032
  table->setup_tmp_table_column_bitmaps();
1033
1033
 
1034
1034
  recinfo=param->start_recinfo;
1035
 
  null_flags=(unsigned char*) table->getInsertRecord();
 
1035
  null_flags= table->getInsertRecord();
1036
1036
  pos=table->getInsertRecord()+ null_pack_length;
1037
1037
  if (null_pack_length)
1038
1038
  {
1042
1042
    recinfo++;
1043
1043
    memset(null_flags, 255, null_pack_length);  // Set null fields
1044
1044
 
1045
 
    table->null_flags= (unsigned char*) table->getInsertRecord();
 
1045
    table->null_flags= table->getInsertRecord();
1046
1046
    table->getMutableShare()->null_fields= null_count+ hidden_null_count;
1047
1047
    table->getMutableShare()->null_bytes= null_pack_length;
1048
1048
  }