summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/vcol/inc/vcol_supported_sql_funcs.inc
blob: c3f159418b175aec9a0758eeb8bb4db57977cc0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
################################################################################
# inc/vcol_supported_sql_funcs.inc                                             #
#                                                                              #
# Purpose:                                                                     #
#  Tests frame for allowed sql functions                                       #
#                                                                              #
#                                                                              #
#------------------------------------------------------------------------------#
# Original Author: Andrey Zhakov                                               #
# Original Date: 2008-08-31                                                    #
# Change Author:                                                               #
# Change Date:                                                                 #
# Change:                                                                      #
################################################################################

--enable_warnings
set sql_warnings = 1;
eval create table t1 ($cols);
show create table t1;
if ($rows)
{
  eval insert into t1 values ($values1);
  dec $rows;
}
if ($rows)
{
  eval insert ignore into t1 values ($values2);
  dec $rows;
}
if ($rows)
{
  eval insert into t1 values ($values3);
  dec $rows;
}
if ($rows)
{
  eval insert into t1 values ($values4);
  dec $rows;
}
select * from t1;
drop table t1;
set sql_warnings = 0;