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

« back to all changes in this revision

Viewing changes to tests/randgen/conf/temporal/temporal_functions.zz

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.2.11) (2.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20120619104649-9ij634mxm4x8pp4l
Tags: 1:7.1.36-stable-1ubuntu1
* Merge from Debian unstable. (LP: #987575)
  Remaining changes:
  - Added upstart script.
* debian/drizzle.upstart: dropped logger since upstart logs job
  output now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This program is free software; you can redistribute it and/or modify
 
2
# it under the terms of the GNU General Public License as published by
 
3
# the Free Software Foundation; version 2 of the License.
 
4
#
 
5
# This program is distributed in the hope that it will be useful, but
 
6
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
7
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 
8
# General Public License for more details.
 
9
#
 
10
# You should have received a copy of the GNU General Public License
 
11
# along with this program; if not, write to the Free Software
 
12
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
 
13
# USA
 
14
 
 
15
$tables = {
 
16
        partitions => [ undef , 'KEY (pk) PARTITIONS 2' ],
 
17
        pk => [
 
18
                'datetime', 'timestamp', 'time',
 
19
                'datetime(3)', 'timestamp(3)', 'time(3)',
 
20
                'datetime(6)', 'timestamp(6)', 'time(6)'
 
21
        ]
 
22
};
 
23
 
 
24
$fields = {
 
25
        types => [ 'date',              'time', 'time(3)', 'time(6)',
 
26
                'datetime', 'datetime(3)', 'datetime(6)',
 
27
                'timestamp', 'timestamp(3)', 'timestamp(6)'
 
28
        ],
 
29
        indexes => [undef, 'key' ],
 
30
        null => [undef, 'not null']
 
31
};
 
32
 
 
33
$data = {
 
34
        temporals => ['date', 'time', 'timestamp', 'year', 'null', undef ]
 
35
}