~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to conf/many_indexes.yy

initial import from internal tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
query:
 
2
        update | insert | delete | select ;
 
3
 
 
4
select:
 
5
        SELECT _field FROM _table ;
 
6
 
 
7
update:
 
8
        UPDATE _table SET _field_no_pk = value WHERE condition update_scope;
 
9
 
 
10
update_scope:
 
11
        |
 
12
        ORDER BY `pk` LIMIT _digit ;
 
13
 
 
14
delete:
 
15
        DELETE FROM _table WHERE condition ORDER BY `pk` LIMIT 1 ;
 
16
 
 
17
insert:
 
18
        INSERT INTO _table ( _field , _field , _field ) VALUES ( value , value , value ) ;
 
19
 
 
20
value:
 
21
        CONVERT( string USING charset ) |
 
22
        REPEAT( charset_underscore _hex , _tinyint_unsigned );
 
23
 
 
24
string:
 
25
        _english | _varchar(255);
 
26
 
 
27
charset:
 
28
        UTF8 | UTF16 | LATIN1 | ASCII | UCS2 ;
 
29
 
 
30
charset_underscore:
 
31
        _UTF8 | _UTF16 | _LATIN1 | _ASCII | _UCS2 ;
 
32
 
 
33
condition:
 
34
        _field operator value |
 
35
        _field BETWEEN value AND value |
 
36
        _field IN ( value , value , value , value , value , value , value ) |
 
37
        _field LIKE CONCAT( value , '%' ) |
 
38
        _field IS not NULL ;
 
39
 
 
40
not:
 
41
        | NOT ;
 
42
 
 
43
operator:
 
44
        < | > | = | <> | != | <= | >= ;