~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-12-07 21:33:25 UTC
  • mto: This revision was merged to the branch mainline in revision 1987.
  • Revision ID: brian@tangent.org-20101207213325-u6vbc107dpe0c7ld
Added compatible REGEX for Drizzle to MySQL's syntax.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 2007, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 2007, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
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
    {
900
901
      push(row->trx_query);
901
 
    else
902
 
      push();
903
 
 
904
 
    if (row->trx_operation_state)
905
 
      push(row->trx_operation_state);
906
 
    else
907
 
      push();
908
 
 
 
902
    }
 
903
    else
 
904
    {
 
905
      push();
 
906
    }
 
907
    push(row->trx_operation_state);
909
908
//    push(row->trx_tables_in_use);
910
909
    push(static_cast<uint64_t>(row->trx_tables_locked));
911
910
    push(static_cast<uint64_t>(row->trx_lock_structs));
916
915
    push(row->trx_isolation_level);
917
916
    push(static_cast<uint64_t>(row->trx_unique_checks));
918
917
    push(static_cast<uint64_t>(row->trx_foreign_key_checks));
919
 
    if (row->trx_foreign_key_error)
920
 
      push(row->trx_foreign_key_error);
921
 
    else
922
 
      push();
923
 
 
 
918
    push(row->trx_foreign_key_error);
924
919
    push(static_cast<uint64_t>(row->trx_has_search_latch));
925
920
    push(static_cast<uint64_t>(row->trx_search_latch_timeout));
926
921
}