diff options
author | monty@mashka.mysql.fi <> | 2002-11-24 15:47:19 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-11-24 15:47:19 +0200 |
commit | dfb60ca085104981a35f2ba72fa30a01b1befa07 (patch) | |
tree | ed4766483373d3e3ccd10186eea178ace4e50ae4 /mysql-test/r/constraints.result | |
parent | e60050c4dd652c7a431aebeb95b7dd944be87bf8 (diff) | |
download | mariadb-git-dfb60ca085104981a35f2ba72fa30a01b1befa07.tar.gz |
Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER
Added CEIL as an alias for CEILING
Cleaned up CHECK constraint handling.
(We don't anymore require braces after CHECK)
Added casting to CHAR.
Diffstat (limited to 'mysql-test/r/constraints.result')
-rw-r--r-- | mysql-test/r/constraints.result | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/constraints.result b/mysql-test/r/constraints.result new file mode 100644 index 00000000000..3b41e291e0f --- /dev/null +++ b/mysql-test/r/constraints.result @@ -0,0 +1,16 @@ +drop table if exists t1; +create table t1 (a int check (a>0)); +insert into t1 values (1); +insert into t1 values (0); +drop table t1; +create table t1 (a int ,b int, check a>b); +insert into t1 values (1,0); +insert into t1 values (0,1); +drop table t1; +create table t1 (a int ,b int, constraint abc check (a>b)); +insert into t1 values (1,0); +insert into t1 values (0,1); +drop table t1; +create table t1 (a int null); +insert into t1 values (1),(NULL); +drop table t1; |