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
47029075
Commit
47029075
authored
Mar 14, 2006
by
mikael@zim.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing test cases
parent
083e3da0
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
26 deletions
+26
-26
mysql-test/r/backup.result
mysql-test/r/backup.result
+11
-11
mysql-test/r/ndb_dd_ddl.result
mysql-test/r/ndb_dd_ddl.result
+1
-1
mysql-test/r/sp-security.result
mysql-test/r/sp-security.result
+1
-1
mysql-test/r/type_timestamp.result
mysql-test/r/type_timestamp.result
+7
-7
mysql-test/r/warnings.result
mysql-test/r/warnings.result
+1
-1
mysql-test/t/log_tables.test
mysql-test/t/log_tables.test
+4
-4
mysql-test/t/ndb_partition_error.test
mysql-test/t/ndb_partition_error.test
+1
-1
No files found.
mysql-test/r/backup.result
View file @
47029075
...
@@ -6,26 +6,26 @@ Table Op Msg_type Msg_text
...
@@ -6,26 +6,26 @@ Table Op Msg_type Msg_text
test.t4 backup error Failed copying .frm file (errno: X)
test.t4 backup error Failed copying .frm file (errno: X)
test.t4 backup status Operation failed
test.t4 backup status Operation failed
Warnings:
Warnings:
Warning 154
0
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Error 1 Can't create/write to file 'MYSQLTEST_VARDIR/bogus/t4.frm' (Errcode: X)
Error 1 Can't create/write to file 'MYSQLTEST_VARDIR/bogus/t4.frm' (Errcode: X)
backup table t4 to '../tmp';
backup table t4 to '../tmp';
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t4 backup status OK
test.t4 backup status OK
Warnings:
Warnings:
Warning 154
0
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
backup table t4 to '../tmp';
backup table t4 to '../tmp';
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t4 backup error Failed copying .frm file (errno: X)
test.t4 backup error Failed copying .frm file (errno: X)
test.t4 backup status Operation failed
test.t4 backup status Operation failed
Warnings:
Warnings:
Warning 154
0
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Error 1 Can't create/write to file 'MYSQLTEST_VARDIR/tmp/t4.frm' (Errcode: X)
Error 1 Can't create/write to file 'MYSQLTEST_VARDIR/tmp/t4.frm' (Errcode: X)
drop table t4;
drop table t4;
restore table t4 from '../tmp';
restore table t4 from '../tmp';
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t4 restore status OK
test.t4 restore status OK
Warnings:
Warnings:
Warning 154
0
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
select count(*) from t4;
select count(*) from t4;
count(*)
count(*)
0
0
...
@@ -35,19 +35,19 @@ backup table t1 to '../tmp';
...
@@ -35,19 +35,19 @@ backup table t1 to '../tmp';
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 backup status OK
test.t1 backup status OK
Warnings:
Warnings:
Warning 154
0
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
drop table t1;
drop table t1;
restore table t1 from '../bogus';
restore table t1 from '../bogus';
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
t1 restore error Failed copying .frm file
t1 restore error Failed copying .frm file
Warnings:
Warnings:
Warning 154
0
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Error 29 File 'MYSQLTEST_VARDIR/bogus/t1.frm' not found (Errcode: X)
Error 29 File 'MYSQLTEST_VARDIR/bogus/t1.frm' not found (Errcode: X)
restore table t1 from '../tmp';
restore table t1 from '../tmp';
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 restore status OK
test.t1 restore status OK
Warnings:
Warnings:
Warning 154
0
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
select n from t1;
select n from t1;
n
n
23
23
...
@@ -62,7 +62,7 @@ Table Op Msg_type Msg_text
...
@@ -62,7 +62,7 @@ Table Op Msg_type Msg_text
test.t2 backup status OK
test.t2 backup status OK
test.t3 backup status OK
test.t3 backup status OK
Warnings:
Warnings:
Warning 154
0
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
drop table t1,t2,t3;
drop table t1,t2,t3;
restore table t1,t2,t3 from '../tmp';
restore table t1,t2,t3 from '../tmp';
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
...
@@ -70,7 +70,7 @@ test.t1 restore status OK
...
@@ -70,7 +70,7 @@ test.t1 restore status OK
test.t2 restore status OK
test.t2 restore status OK
test.t3 restore status OK
test.t3 restore status OK
Warnings:
Warnings:
Warning 154
0
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
select n from t1;
select n from t1;
n
n
23
23
...
@@ -91,7 +91,7 @@ restore table t1 from '../tmp';
...
@@ -91,7 +91,7 @@ restore table t1 from '../tmp';
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 restore status OK
test.t1 restore status OK
Warnings:
Warnings:
Warning 154
0
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'RESTORE TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
rename table t1 to t5;
rename table t1 to t5;
lock tables t5 write;
lock tables t5 write;
backup table t5 to '../tmp';
backup table t5 to '../tmp';
...
@@ -99,5 +99,5 @@ unlock tables;
...
@@ -99,5 +99,5 @@ unlock tables;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t5 backup status OK
test.t5 backup status OK
Warnings:
Warnings:
Warning 154
0
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
Warning 154
1
The syntax 'BACKUP TABLE' is deprecated and will be removed in MySQL 5.2. Please use MySQL Administrator (mysqldump, mysql) instead.
drop table t5;
drop table t5;
mysql-test/r/ndb_dd_ddl.result
View file @
47029075
...
@@ -16,7 +16,7 @@ ERROR HY000: Failed to create LOGFILE GROUP
...
@@ -16,7 +16,7 @@ ERROR HY000: Failed to create LOGFILE GROUP
SHOW WARNINGS;
SHOW WARNINGS;
Level Code Message
Level Code Message
Error 1296 Got error 1514 'Currently there is a limit of one logfile group' from NDB
Error 1296 Got error 1514 'Currently there is a limit of one logfile group' from NDB
Error 150
6
Failed to create LOGFILE GROUP
Error 150
7
Failed to create LOGFILE GROUP
CREATE LOGFILE GROUP lg1
CREATE LOGFILE GROUP lg1
ADD UNDOFILE 'undofile.dat'
ADD UNDOFILE 'undofile.dat'
INITIAL_SIZE 16M
INITIAL_SIZE 16M
...
...
mysql-test/r/sp-security.result
View file @
47029075
...
@@ -319,7 +319,7 @@ use db_bug7787;
...
@@ -319,7 +319,7 @@ use db_bug7787;
CREATE PROCEDURE p1()
CREATE PROCEDURE p1()
SHOW INNODB STATUS;
SHOW INNODB STATUS;
Warnings:
Warnings:
Warning 154
0
The syntax 'SHOW INNODB STATUS' is deprecated and will be removed in MySQL 5.2. Please use 'SHOW ENGINE INNODB STATUS' instead.
Warning 154
1
The syntax 'SHOW INNODB STATUS' is deprecated and will be removed in MySQL 5.2. Please use 'SHOW ENGINE INNODB STATUS' instead.
GRANT EXECUTE ON PROCEDURE p1 TO user_bug7787@localhost;
GRANT EXECUTE ON PROCEDURE p1 TO user_bug7787@localhost;
DROP DATABASE db_bug7787;
DROP DATABASE db_bug7787;
use test;
use test;
...
...
mysql-test/r/type_timestamp.result
View file @
47029075
...
@@ -100,13 +100,13 @@ create table t1 (t2 timestamp(2), t4 timestamp(4), t6 timestamp(6),
...
@@ -100,13 +100,13 @@ create table t1 (t2 timestamp(2), t4 timestamp(4), t6 timestamp(6),
t8 timestamp(8), t10 timestamp(10), t12 timestamp(12),
t8 timestamp(8), t10 timestamp(10), t12 timestamp(12),
t14 timestamp(14));
t14 timestamp(14));
Warnings:
Warnings:
Warning 154
0
The syntax 'TIMESTAMP(2)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
1
The syntax 'TIMESTAMP(2)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
0
The syntax 'TIMESTAMP(4)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
1
The syntax 'TIMESTAMP(4)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
0
The syntax 'TIMESTAMP(6)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
1
The syntax 'TIMESTAMP(6)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
0
The syntax 'TIMESTAMP(8)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
1
The syntax 'TIMESTAMP(8)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
0
The syntax 'TIMESTAMP(10)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
1
The syntax 'TIMESTAMP(10)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
0
The syntax 'TIMESTAMP(12)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
1
The syntax 'TIMESTAMP(12)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
0
The syntax 'TIMESTAMP(14)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
Warning 154
1
The syntax 'TIMESTAMP(14)' is deprecated and will be removed in MySQL 5.2. Please use 'TIMESTAMP' instead.
insert t1 values (0,0,0,0,0,0,0),
insert t1 values (0,0,0,0,0,0,0),
("1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59",
("1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59",
"1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59",
"1997-12-31 23:47:59", "1997-12-31 23:47:59", "1997-12-31 23:47:59",
...
...
mysql-test/r/warnings.result
View file @
47029075
...
@@ -168,7 +168,7 @@ max_error_count 10
...
@@ -168,7 +168,7 @@ max_error_count 10
drop table t1;
drop table t1;
set table_type=MYISAM;
set table_type=MYISAM;
Warnings:
Warnings:
Warning 154
0
The syntax 'table_type' is deprecated and will be removed in MySQL 5.2. Please use 'storage_engine' instead.
Warning 154
1
The syntax 'table_type' is deprecated and will be removed in MySQL 5.2. Please use 'storage_engine' instead.
create table t1 (a int);
create table t1 (a int);
insert into t1 (a) values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);
insert into t1 (a) values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);
update t1 set a='abc';
update t1 set a='abc';
...
...
mysql-test/t/log_tables.test
View file @
47029075
...
@@ -63,10 +63,10 @@ flush logs;
...
@@ -63,10 +63,10 @@ flush logs;
# check locking of the log tables
# check locking of the log tables
#
#
--
error
153
2
--
error
153
3
lock
tables
mysql
.
general_log
WRITE
;
lock
tables
mysql
.
general_log
WRITE
;
--
error
153
2
--
error
153
3
lock
tables
mysql
.
slow_log
WRITE
;
lock
tables
mysql
.
slow_log
WRITE
;
#
#
...
@@ -75,10 +75,10 @@ lock tables mysql.slow_log WRITE;
...
@@ -75,10 +75,10 @@ lock tables mysql.slow_log WRITE;
# tables are always opened and locked by the logger.
# tables are always opened and locked by the logger.
#
#
--
error
153
3
--
error
153
4
lock
tables
mysql
.
general_log
READ
;
lock
tables
mysql
.
general_log
READ
;
--
error
153
3
--
error
153
4
lock
tables
mysql
.
slow_log
READ
;
lock
tables
mysql
.
slow_log
READ
;
#
#
...
...
mysql-test/t/ndb_partition_error.test
View file @
47029075
...
@@ -66,6 +66,6 @@ partition by list(a)
...
@@ -66,6 +66,6 @@ partition by list(a)
partitions
2
partitions
2
(
partition
x123
values
in
(
11
,
12
),
(
partition
x123
values
in
(
11
,
12
),
partition
x234
values
in
(
5
,
1
));
partition
x234
values
in
(
5
,
1
));
--
error
150
4
--
error
150
5
insert
into
t1
values
(
NULL
,
1
,
1
);
insert
into
t1
values
(
NULL
,
1
,
1
);
drop
table
t1
;
drop
table
t1
;
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