~jan-kneschke/mysql-proxy/packet-tracking-assertions

« back to all changes in this revision

Viewing changes to tags/mysql-proxy-0.6.0/tests/suite/base/r/tokens2.result

  • Committer: Kay Roepke
  • Author(s): Jan Kneschke
  • Date: 2008-01-23 22:00:28 UTC
  • Revision ID: kay@mysql.com-20080123220028-hq2xqb69apa75fnx
first round on mysql-shell based on the proxy code

this is mostly a verification if the proxy-code is flexible enough to handle 
all three scenarios of: client, server and forwarding (proxy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
select 1;
 
2
id      name    text
 
3
204     TK_SQL_SELECT   select
 
4
11      TK_INTEGER      1
 
5
select count(*) from mysql.user;
 
6
id      name    text
 
7
204     TK_SQL_SELECT   select
 
8
10      TK_FUNCTION     count
 
9
16      TK_OBRACE       (
 
10
19      TK_STAR *
 
11
17      TK_CBRACE       )
 
12
105     TK_SQL_FROM     from
 
13
9       TK_LITERAL      mysql
 
14
13      TK_DOT  .
 
15
9       TK_LITERAL      user
 
16
create table t1 (id int) engine = myisam;
 
17
id      name    text
 
18
59      TK_SQL_CREATE   create
 
19
222     TK_SQL_TABLE    table
 
20
9       TK_LITERAL      t1
 
21
16      TK_OBRACE       (
 
22
9       TK_LITERAL      id
 
23
123     TK_SQL_INT      int
 
24
17      TK_CBRACE       )
 
25
9       TK_LITERAL      engine
 
26
5       TK_EQ   =
 
27
9       TK_LITERAL      myisam
 
28
/* comment */select /*! 1 */;
 
29
id      name    text
 
30
8       TK_COMMENT       comment 
 
31
204     TK_SQL_SELECT   select
 
32
261     TK_COMMENT_MYSQL         1 
 
33
select /*!50000 1 + */ 1;
 
34
id      name    text
 
35
204     TK_SQL_SELECT   select
 
36
261     TK_COMMENT_MYSQL        50000 1 + 
 
37
11      TK_INTEGER      1