~stewart/percona-playback/cassert-header

« back to all changes in this revision

Viewing changes to test/parser/trace.cc

  • Committer: Oleg Tsarev
  • Date: 2011-03-21 02:10:49 UTC
  • Revision ID: oleg.tsarev@percona.com-20110321021049-0olp7o9gjk545yr7
splitfy progress
add "try-run" option
add "split-to" and "from-split" options
change boolean type "is_read_query" to "Unknow", "Read", "Write" types
fix result names of perf test files

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
  {
9
9
    std::cout << "use " << a << ";\n";
10
10
  }
11
 
  void admin(String const &a)
 
11
  void admin(String const &a, Enum_Query_Type type)
12
12
  {
13
13
    std::cout << "admin: " << a << "\n";
 
14
    std::cout << type << "\n";
14
15
  }
15
 
  void query(String const &a)
 
16
  void query(String const &a, Enum_Query_Type type)
16
17
  {
17
18
    std::cout << "query: '";
18
19
    std::string result;
24
25
      else
25
26
        result += *i;
26
27
    std::cout << result << "'\n";
 
28
    std::cout << type << "\n";
27
29
  }
28
30
  void timestamp(long long int const a)
29
31
  {