~ubuntu-branches/ubuntu/trusty/drizzle/trusty-updates

« back to all changes in this revision

Viewing changes to tests/kewpie/randgen/conf/engines/falcon/falcon_replication.yy

  • Committer: Package Import Robot
  • Author(s): Tobias Frost
  • Date: 2012-04-04 15:12:07 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120404151207-xwsgn1xegslle4p0
Tags: 1:7.1.32-rc-1
* New upstream release.
* Plugin-filtered-replicator upstream removed and will no longer be built.
* Updating d/*install files to accommodate upstream changes from drizzle7
  to drizzle
* Added symlink in libdrizzledmessage-dev to library
* libdrizzle: soname-bump
* Rename package drizzle-plugin-performance-dictionary to shorten package name
  (due to linitan warning package-has-long-file-name)
* Debian/control: removed unused substitution variable ${shlibs:Depends} for
  -dbg and -dev packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2008 Sun Microsystems, Inc. All rights reserved.
 
2
# Use is subject to license terms.
 
3
#
 
4
# This program is free software; you can redistribute it and/or modify
 
5
# it under the terms of the GNU General Public License as published by
 
6
# the Free Software Foundation; version 2 of the License.
 
7
#
 
8
# This program is distributed in the hope that it will be useful, but
 
9
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 
11
# General Public License for more details.
 
12
#
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program; if not, write to the Free Software
 
15
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
 
16
# USA
 
17
 
 
18
query:
 
19
        insert | update | delete | transaction | load_data_infile;
 
20
 
 
21
 
 
22
transaction:
 
23
        START TRANSACTION | COMMIT | ROLLBACK |
 
24
        SAVEPOINT A | ROLLBACK TO SAVEPOINT A | RELEASE SAVEPOINT A |
 
25
        implicit_commit ;
 
26
 
 
27
implicit_commit:
 
28
        CREATE DATABASE implicit_commit ; CREATE TABLE implicit_commit . _letter SELECT * FROM _table LIMIT digit ; DROP DATABASE implicit_commit |
 
29
        SET AUTOCOMMIT = ON | SET AUTOCOMMIT = OFF |
 
30
        CREATE TABLE IF NOT EXISTS _letter ENGINE = engine SELECT * FROM _table LIMIT digit |
 
31
        RENAME TABLE _letter TO _letter |
 
32
        TRUNCATE TABLE _letter |
 
33
        DROP TABLE IF EXISTS _letter |
 
34
        LOCK TABLE _table WRITE ; UNLOCK TABLES ;
 
35
 
 
36
load_data_infile:
 
37
        SELECT * FROM _table ORDER BY _field LIMIT digit INTO OUTFILE tmpnam ; LOAD DATA INFILE tmpnam REPLACE INTO TABLE _table ;
 
38
 
 
39
insert:
 
40
        INSERT INTO _table ( _field , _field , _field , _field ) VALUES ( value , value , value , value ) |
 
41
        INSERT INTO _table ( _field , _field , _field ) VALUES ( value , value , value ) |
 
42
        INSERT INTO _table ( _field , _field ) VALUES ( value , value ) |
 
43
        INSERT INTO _table SELECT * FROM _table LIMIT digit ;
 
44
 
 
45
update:
 
46
        UPDATE _table SET _field = value where order_by limit ;
 
47
 
 
48
delete:
 
49
        DELETE FROM _table where LIMIT digit ;
 
50
 
 
51
where:
 
52
        WHERE _field > value |
 
53
        WHERE _field < value |
 
54
        WHERE _field = value ;
 
55
 
 
56
order_by:
 
57
        | ORDER BY _field ;
 
58
 
 
59
limit:
 
60
        | LIMIT digit ;
 
61
 
 
62
value:
 
63
        _digit | _letter | _english | _data | 
 
64
        _digit | _letter | _english | _data | NULL ;