~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to conf/repeatable_read.yy

initial import from internal tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
query_init:
 
2
        SET GLOBAL TRANSACTION ISOLATION LEVEL REPEATABLE READ ; SET AUTOCOMMIT=OFF ;
 
3
 
 
4
query:
 
5
        transaction | insert | update | delete | select ;
 
6
transaction:
 
7
        START TRANSACTION | COMMIT | ROLLBACK | SAVEPOINT A | ROLLBACK TO SAVEPOINT A ;
 
8
 
 
9
update:
 
10
        UPDATE _table SET _field = _digit WHERE condition LIMIT _digit ;
 
11
 
 
12
delete:
 
13
        DELETE FROM _table WHERE condition LIMIT _digit ;
 
14
 
 
15
insert:
 
16
        INSERT INTO _table ( `int_key`, `int` ) VALUES ( _digit , _digit ) ;
 
17
 
 
18
condition:
 
19
        1 = 1 |
 
20
        _field < _digit |
 
21
        _field = _digit |
 
22
        _field > _digit |
 
23
        _field BETWEEN _digit and _digit |
 
24
        _field IN ( _digit , _digit , _digit );
 
25
 
 
26
select:
 
27
        SELECT _field FROM _table WHERE condition ;