blob: 88f2f7c4da10d3743529817369b48bdf246c24b5 (
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
43
44
45
46
47
|
################################################################################
# inc/gcol_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)
{
# Allow out-of-range errors
--error 0,1264,1690,3020
eval insert into t1 values ($values1);
dec $rows;
}
if ($rows)
{
--error 0,1292,1690,3020
eval insert into t1 values ($values2);
dec $rows;
}
if ($rows)
{
--error 0,1690,3020
eval insert into t1 values ($values3);
dec $rows;
}
if ($rows)
{
eval insert into t1 values ($values4);
dec $rows;
}
--sorted_result
select * from t1;
drop table t1;
set sql_warnings = 0;
|