~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/handler/data_dictionary.cc

  • Committer: Andrew Hutchings
  • Date: 2010-12-07 20:21:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1982.
  • Revision ID: andrew@linuxjedi.co.uk-20101207202139-si72z7smhfolub3d
Empty strings were pushed instead of an empty push triggering an assert.

Show diffs side-by-side

added added

removed removed

Lines of Context:
897
897
    push(static_cast<int64_t>(row->trx_weight));
898
898
    push(static_cast<uint64_t>(row->trx_mysql_thread_id));
899
899
    if (row->trx_query)
900
 
    {
901
900
      push(row->trx_query);
902
 
    }
903
 
    else
904
 
    {
905
 
      push();
906
 
    }
907
 
    push(row->trx_operation_state);
 
901
    else
 
902
      push();
 
903
 
 
904
    if (row->trx_operation_state)
 
905
      push(row->trx_operation_state);
 
906
    else
 
907
      push();
 
908
 
908
909
//    push(row->trx_tables_in_use);
909
910
    push(static_cast<uint64_t>(row->trx_tables_locked));
910
911
    push(static_cast<uint64_t>(row->trx_lock_structs));
915
916
    push(row->trx_isolation_level);
916
917
    push(static_cast<uint64_t>(row->trx_unique_checks));
917
918
    push(static_cast<uint64_t>(row->trx_foreign_key_checks));
918
 
    push(row->trx_foreign_key_error);
 
919
    if (row->trx_foreign_key_error)
 
920
      push(row->trx_foreign_key_error);
 
921
    else
 
922
      push();
 
923
 
919
924
    push(static_cast<uint64_t>(row->trx_has_search_latch));
920
925
    push(static_cast<uint64_t>(row->trx_search_latch_timeout));
921
926
}