Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
463c59e1
Commit
463c59e1
authored
Aug 30, 2002
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed tests to be independed from environment
parent
76aff635
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
29 additions
and
2 deletions
+29
-2
mysql-test/r/binary.result
mysql-test/r/binary.result
+1
-0
mysql-test/r/delayed.result
mysql-test/r/delayed.result
+1
-0
mysql-test/r/fulltext_left_join.result
mysql-test/r/fulltext_left_join.result
+1
-0
mysql-test/r/func_group.result
mysql-test/r/func_group.result
+1
-0
mysql-test/r/func_in.result
mysql-test/r/func_in.result
+1
-0
mysql-test/r/key_primary.result
mysql-test/r/key_primary.result
+1
-0
mysql-test/r/lock_multi.result
mysql-test/r/lock_multi.result
+1
-0
mysql-test/r/odbc.result
mysql-test/r/odbc.result
+1
-0
mysql-test/r/type_set.result
mysql-test/r/type_set.result
+1
-0
mysql-test/r/type_time.result
mysql-test/r/type_time.result
+1
-0
mysql-test/r/type_timestamp.result
mysql-test/r/type_timestamp.result
+1
-0
mysql-test/r/type_year.result
mysql-test/r/type_year.result
+1
-0
mysql-test/r/varbinary.result
mysql-test/r/varbinary.result
+1
-0
mysql-test/r/warnings.result
mysql-test/r/warnings.result
+1
-0
mysql-test/t/binary.test
mysql-test/t/binary.test
+1
-0
mysql-test/t/delayed.test
mysql-test/t/delayed.test
+1
-0
mysql-test/t/flush_table.test
mysql-test/t/flush_table.test
+1
-0
mysql-test/t/fulltext_left_join.test
mysql-test/t/fulltext_left_join.test
+1
-0
mysql-test/t/func_group.test
mysql-test/t/func_group.test
+1
-0
mysql-test/t/func_in.test
mysql-test/t/func_in.test
+1
-0
mysql-test/t/key_primary.test
mysql-test/t/key_primary.test
+1
-0
mysql-test/t/lock_multi.test
mysql-test/t/lock_multi.test
+1
-0
mysql-test/t/odbc.test
mysql-test/t/odbc.test
+1
-0
mysql-test/t/type_set.test
mysql-test/t/type_set.test
+1
-0
mysql-test/t/type_time.test
mysql-test/t/type_time.test
+1
-0
mysql-test/t/type_timestamp.test
mysql-test/t/type_timestamp.test
+1
-0
mysql-test/t/type_year.test
mysql-test/t/type_year.test
+1
-1
mysql-test/t/varbinary.test
mysql-test/t/varbinary.test
+1
-0
mysql-test/t/warnings.test
mysql-test/t/warnings.test
+1
-1
No files found.
mysql-test/r/binary.result
View file @
463c59e1
drop table if exists t1,t2;
create table t1 (name char(20) not null, primary key (name));
create table t2 (name char(20) binary not null, primary key (name));
insert into t1 values ("");
...
...
mysql-test/r/delayed.result
View file @
463c59e1
drop table if exists t1;
create table t1 (a char(10), tmsp timestamp);
insert into t1 set a = 1;
insert delayed into t1 set a = 2;
...
...
mysql-test/r/fulltext_left_join.result
View file @
463c59e1
drop table if exists t1, t2;
CREATE TABLE t1 (
id VARCHAR(255) NOT NULL PRIMARY KEY,
sujet VARCHAR(255),
...
...
mysql-test/r/func_group.result
View file @
463c59e1
drop table if exists t1,t2;
create table t1 (grp int, a bigint unsigned, c char(10) not null);
insert into t1 values (1,1,"a");
insert into t1 values (2,2,"b");
...
...
mysql-test/r/func_in.result
View file @
463c59e1
drop table if exists t1;
CREATE TABLE t1 (field char(1));
INSERT INTO t1 VALUES ('A'),(NULL);
SELECT * from t1 WHERE field IN (NULL);
...
...
mysql-test/r/key_primary.result
View file @
463c59e1
drop table if exists t1;
create table t1 (t1 char(3) primary key);
insert into t1 values("ABC");
insert into t1 values("ABA");
...
...
mysql-test/r/lock_multi.result
View file @
463c59e1
drop table if exists t1;
create table t1(n int);
insert into t1 values (1);
lock tables t1 write;
...
...
mysql-test/r/odbc.result
View file @
463c59e1
select {fn length("hello")}, { date "1997-10-20" };
{fn length("hello")} 1997-10-20
5 1997-10-20
drop table if exists t1;
create table t1 (a int not null auto_increment,b int not null,primary key (a,b));
insert into t1 SET A=NULL,B=1;
insert into t1 SET a=null,b=2;
...
...
mysql-test/r/type_set.result
View file @
463c59e1
drop table if exists t1;
create table t1 (a set (' ','a','b') not null);
show create table t1;
Table Create Table
...
...
mysql-test/r/type_time.result
View file @
463c59e1
drop table if exists t1;
create table t1 (t time);
insert into t1 values("10:22:33"),("12:34:56.78"),(10),(1234),(123456.78),(1234559.99),("1"),("1:23"),("1:23:45"), ("10.22"), ("-10 1:22:33.45"),("20 10:22:33"),("1999-02-03 20:33:34");
insert t1 values (30),(1230),("1230"),("12:30"),("12:30:35"),("1 12:30:31.32");
...
...
mysql-test/r/type_timestamp.result
View file @
463c59e1
drop table if exists t1;
CREATE TABLE t1 ( t timestamp);
SET TIMESTAMP=1234;
insert into t1 values(NULL);
...
...
mysql-test/r/type_year.result
View file @
463c59e1
drop table if exists t1;
create table t1 (y year,y2 year(2));
insert into t1 values (0,0),(1999,1999),(2000,2000),(2001,2001),(70,70),(69,69);
select * from t1;
...
...
mysql-test/r/varbinary.result
View file @
463c59e1
...
...
@@ -7,6 +7,7 @@ select 0x31+1,concat(0x31)+1,-0xf;
select x'31',X'ffff'+0;
x'31' X'ffff'+0
1 65535
drop table if exists t1;
create table t1 (ID int(8) unsigned zerofill not null auto_increment,UNIQ bigint(21) unsigned zerofill not null,primary key (ID),unique (UNIQ) );
insert into t1 set UNIQ=0x38afba1d73e6a18a;
insert into t1 set UNIQ=123;
...
...
mysql-test/r/warnings.result
View file @
463c59e1
drop table if exists t1;
create table t1 (a int);
insert into t1 values (1);
insert into t1 values ("hej");
...
...
mysql-test/t/binary.test
View file @
463c59e1
...
...
@@ -2,6 +2,7 @@
# test sort,min and max on binary fields
#
drop
table
if
exists
t1
,
t2
;
create
table
t1
(
name
char
(
20
)
not
null
,
primary
key
(
name
));
create
table
t2
(
name
char
(
20
)
binary
not
null
,
primary
key
(
name
));
insert
into
t1
values
(
""
);
...
...
mysql-test/t/delayed.test
View file @
463c59e1
...
...
@@ -3,6 +3,7 @@
# (Can't be tested with purify :( )
#
drop
table
if
exists
t1
;
create
table
t1
(
a
char
(
10
),
tmsp
timestamp
);
insert
into
t1
set
a
=
1
;
insert
delayed
into
t1
set
a
=
2
;
...
...
mysql-test/t/flush_table.test
View file @
463c59e1
...
...
@@ -4,6 +4,7 @@
# Test of flush table
#
#drop table if exists t1;
#create table t1 (a int not null auto_increment primary key);
#insert into t1 values(0);
#lock table t1 read;
...
...
mysql-test/t/fulltext_left_join.test
View file @
463c59e1
...
...
@@ -2,6 +2,7 @@
# Test for bug from Jean-Cdric COSTA <jean-cedric.costa@ensmp.fr>
#
drop
table
if
exists
t1
,
t2
;
CREATE
TABLE
t1
(
id
VARCHAR
(
255
)
NOT
NULL
PRIMARY
KEY
,
sujet
VARCHAR
(
255
),
...
...
mysql-test/t/func_group.test
View file @
463c59e1
...
...
@@ -2,6 +2,7 @@
# simple test of all group functions
#
drop
table
if
exists
t1
,
t2
;
create
table
t1
(
grp
int
,
a
bigint
unsigned
,
c
char
(
10
)
not
null
);
insert
into
t1
values
(
1
,
1
,
"a"
);
insert
into
t1
values
(
2
,
2
,
"b"
);
...
...
mysql-test/t/func_in.test
View file @
463c59e1
...
...
@@ -2,6 +2,7 @@
# test of IN (NULL)
#
drop
table
if
exists
t1
;
CREATE
TABLE
t1
(
field
char
(
1
));
INSERT
INTO
t1
VALUES
(
'A'
),(
NULL
);
SELECT
*
from
t1
WHERE
field
IN
(
NULL
);
...
...
mysql-test/t/key_primary.test
View file @
463c59e1
...
...
@@ -2,6 +2,7 @@
# test of primary key conversions
#
drop
table
if
exists
t1
;
create
table
t1
(
t1
char
(
3
)
primary
key
);
insert
into
t1
values
(
"ABC"
);
insert
into
t1
values
(
"ABA"
);
...
...
mysql-test/t/lock_multi.test
View file @
463c59e1
...
...
@@ -6,6 +6,7 @@
#
--
source
include
/
not_embedded
.
inc
drop
table
if
exists
t1
;
#test to see if select will get the lock ahead of low priority update
connect
(
locker
,
localhost
,
root
,,);
...
...
mysql-test/t/odbc.test
View file @
463c59e1
...
...
@@ -8,6 +8,7 @@ select {fn length("hello")}, { date "1997-10-20" };
# Test retreiving row with last insert_id value.
#
drop
table
if
exists
t1
;
create
table
t1
(
a
int
not
null
auto_increment
,
b
int
not
null
,
primary
key
(
a
,
b
));
insert
into
t1
SET
A
=
NULL
,
B
=
1
;
insert
into
t1
SET
a
=
null
,
b
=
2
;
...
...
mysql-test/t/type_set.test
View file @
463c59e1
...
...
@@ -2,6 +2,7 @@
# Test of SET with space
#
drop
table
if
exists
t1
;
create
table
t1
(
a
set
(
' '
,
'a'
,
'b'
)
not
null
);
show
create
table
t1
;
drop
table
t1
;
...
...
mysql-test/t/type_time.test
View file @
463c59e1
#
# testing of the TIME column type
#
drop
table
if
exists
t1
;
create
table
t1
(
t
time
);
insert
into
t1
values
(
"10:22:33"
),(
"12:34:56.78"
),(
10
),(
1234
),(
123456.78
),(
1234559.99
),(
"1"
),(
"1:23"
),(
"1:23:45"
),
(
"10.22"
),
(
"-10 1:22:33.45"
),(
"20 10:22:33"
),(
"1999-02-03 20:33:34"
);
insert
t1
values
(
30
),(
1230
),(
"1230"
),(
"12:30"
),(
"12:30:35"
),(
"1 12:30:31.32"
);
...
...
mysql-test/t/type_timestamp.test
View file @
463c59e1
...
...
@@ -2,6 +2,7 @@
# Test timestamp
#
drop
table
if
exists
t1
;
CREATE
TABLE
t1
(
t
timestamp
);
SET
TIMESTAMP
=
1234
;
insert
into
t1
values
(
NULL
);
...
...
mysql-test/t/type_year.test
View file @
463c59e1
#
# Test year
#
drop
table
if
exists
t1
;
create
table
t1
(
y
year
,
y2
year
(
2
));
insert
into
t1
values
(
0
,
0
),(
1999
,
1999
),(
2000
,
2000
),(
2001
,
2001
),(
70
,
70
),(
69
,
69
);
select
*
from
t1
;
...
...
mysql-test/t/varbinary.test
View file @
463c59e1
...
...
@@ -10,6 +10,7 @@ select x'31',X'ffff'+0;
# Test of hex constants in WHERE:
#
drop
table
if
exists
t1
;
create
table
t1
(
ID
int
(
8
)
unsigned
zerofill
not
null
auto_increment
,
UNIQ
bigint
(
21
)
unsigned
zerofill
not
null
,
primary
key
(
ID
),
unique
(
UNIQ
)
);
insert
into
t1
set
UNIQ
=
0x38afba1d73e6a18a
;
insert
into
t1
set
UNIQ
=
123
;
...
...
mysql-test/t/warnings.test
View file @
463c59e1
#
# Test some warnings
#
drop
table
if
exists
t1
;
create
table
t1
(
a
int
);
insert
into
t1
values
(
1
);
insert
into
t1
values
(
"hej"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment