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
60241341
Commit
60241341
authored
Jan 31, 2009
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some parts test suite bugs
parent
7f182268
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
86 deletions
+74
-86
mysql-test/suite/parts/inc/partition_key_32col.inc
mysql-test/suite/parts/inc/partition_key_32col.inc
+1
-1
mysql-test/suite/parts/r/ndb_dd_backuprestore.result
mysql-test/suite/parts/r/ndb_dd_backuprestore.result
+6
-18
mysql-test/suite/parts/r/part_supported_sql_func_ndb.result
mysql-test/suite/parts/r/part_supported_sql_func_ndb.result
+63
-63
mysql-test/suite/parts/t/partition_recover_myisam.test
mysql-test/suite/parts/t/partition_recover_myisam.test
+4
-4
No files found.
mysql-test/suite/parts/inc/partition_key_32col.inc
View file @
60241341
...
@@ -13,7 +13,7 @@ partition pa2 max_rows=30 min_rows=3,
...
@@ -13,7 +13,7 @@ partition pa2 max_rows=30 min_rows=3,
partition
pa3
max_rows
=
30
min_rows
=
4
,
partition
pa3
max_rows
=
30
min_rows
=
4
,
partition
pa4
max_rows
=
40
min_rows
=
2
);
partition
pa4
max_rows
=
40
min_rows
=
2
);
--
disable_abort_on
error
#
--disable_abort_on error
show
create
table
t1
;
show
create
table
t1
;
insert
into
t1
values
insert
into
t1
values
(
'1975-01-01'
,
'abcde'
,
'abcde'
,
'm'
,
1234
,
123.45
,
32412341234
,
113
,
'1975-01-01'
,
'abcde'
,
'abcde'
,
'm'
,
1234
,
123.45
,
32412341234
,
113
,
'1975-01-01'
,
'abcde'
,
'abcde'
,
'm'
,
1234
,
123.45
,
32412341234
,
113
,
'1975-01-01'
,
'abcde'
,
'abcde'
,
'm'
,
1234
,
123.45
,
32412341234
,
113
,
'tbhth nrzh ztfghgfh fzh ftzhj fztjh'
),
(
'1975-01-01'
,
'abcde'
,
'abcde'
,
'm'
,
1234
,
123.45
,
32412341234
,
113
,
'1975-01-01'
,
'abcde'
,
'abcde'
,
'm'
,
1234
,
123.45
,
32412341234
,
113
,
'1975-01-01'
,
'abcde'
,
'abcde'
,
'm'
,
1234
,
123.45
,
32412341234
,
113
,
'1975-01-01'
,
'abcde'
,
'abcde'
,
'm'
,
1234
,
123.45
,
32412341234
,
113
,
'tbhth nrzh ztfghgfh fzh ftzhj fztjh'
),
...
...
mysql-test/suite/parts/r/ndb_dd_backuprestore.result
View file @
60241341
...
@@ -27,12 +27,8 @@ pk1 c2 c3 hex(c4)
...
@@ -27,12 +27,8 @@ pk1 c2 c3 hex(c4)
3 Sweden 498 1
3 Sweden 498 1
4 Sweden 497 1
4 Sweden 497 1
5 Sweden 496 1
5 Sweden 496 1
CREATE TEMPORARY TABLE IF NOT EXISTS test.backup_info (id INT, backup_id INT) ENGINE = HEAP;
CREATE TEMPORARY TABLE test.backup_info (id INT, backup_id INT) ENGINE = HEAP;
DELETE FROM test.backup_info;
LOAD DATA INFILE 'DUMP_FILE' INTO TABLE test.backup_info FIELDS TERMINATED BY ',';
LOAD DATA INFILE '../tmp.dat' INTO TABLE test.backup_info FIELDS TERMINATED BY ',';
SELECT @the_backup_id:=backup_id FROM test.backup_info;
@the_backup_id:=backup_id
<the_backup_id>
DROP TABLE test.backup_info;
DROP TABLE test.backup_info;
DROP TABLE test.t1;
DROP TABLE test.t1;
ALTER TABLESPACE table_space1
ALTER TABLESPACE table_space1
...
@@ -95,12 +91,8 @@ LENGTH(data)
...
@@ -95,12 +91,8 @@ LENGTH(data)
SELECT LENGTH(data) FROM test.t4 WHERE c1 = 2;
SELECT LENGTH(data) FROM test.t4 WHERE c1 = 2;
LENGTH(data)
LENGTH(data)
16384
16384
CREATE TEMPORARY TABLE IF NOT EXISTS test.backup_info (id INT, backup_id INT) ENGINE = HEAP;
CREATE TEMPORARY TABLE test.backup_info (id INT, backup_id INT) ENGINE = HEAP;
DELETE FROM test.backup_info;
LOAD DATA INFILE 'DUMP_FILE' INTO TABLE test.backup_info FIELDS TERMINATED BY ',';
LOAD DATA INFILE '../tmp.dat' INTO TABLE test.backup_info FIELDS TERMINATED BY ',';
SELECT @the_backup_id:=backup_id FROM test.backup_info;
@the_backup_id:=backup_id
<the_backup_id>
DROP TABLE test.backup_info;
DROP TABLE test.backup_info;
DROP TABLE test.t1;
DROP TABLE test.t1;
DROP TABLE test.t2;
DROP TABLE test.t2;
...
@@ -325,12 +317,8 @@ pk1 c2 c3 hex(c4)
...
@@ -325,12 +317,8 @@ pk1 c2 c3 hex(c4)
248 TEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXAS, ITALY, Kyle, JO, JBM,TU 4 1
248 TEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXAS, ITALY, Kyle, JO, JBM,TU 4 1
247 TEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXAS, ITALY, Kyle, JO, JBM,TU 6 1
247 TEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXAS, ITALY, Kyle, JO, JBM,TU 6 1
246 TEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXAS, ITALY, Kyle, JO, JBM,TU 8 1
246 TEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXASTEXAS, ITALY, Kyle, JO, JBM,TU 8 1
CREATE TEMPORARY TABLE IF NOT EXISTS test.backup_info (id INT, backup_id INT) ENGINE = HEAP;
CREATE TEMPORARY TABLE test.backup_info (id INT, backup_id INT) ENGINE = HEAP;
DELETE FROM test.backup_info;
LOAD DATA INFILE 'DUMP_FILE' INTO TABLE test.backup_info FIELDS TERMINATED BY ',';
LOAD DATA INFILE '../tmp.dat' INTO TABLE test.backup_info FIELDS TERMINATED BY ',';
SELECT @the_backup_id:=backup_id FROM test.backup_info;
@the_backup_id:=backup_id
<the_backup_id>
DROP TABLE test.backup_info;
DROP TABLE test.backup_info;
DROP TABLE test.t1;
DROP TABLE test.t1;
DROP TABLE test.t2;
DROP TABLE test.t2;
...
...
mysql-test/suite/parts/r/part_supported_sql_func_ndb.result
View file @
60241341
This diff is collapsed.
Click to expand it.
mysql-test/suite/parts/t/partition_recover_myisam.test
View file @
60241341
...
@@ -12,8 +12,8 @@ INSERT INTO t1_will_crash VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (1
...
@@ -12,8 +12,8 @@ INSERT INTO t1_will_crash VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (1
FLUSH
TABLES
;
FLUSH
TABLES
;
--
echo
# replacing t1.MYI with a corrupt + unclosed one created by doing:
--
echo
# replacing t1.MYI with a corrupt + unclosed one created by doing:
--
echo
# 'create table t1 (a int key(a))' head -c1024 t1.MYI > corrupt_t1.MYI
--
echo
# 'create table t1 (a int key(a))' head -c1024 t1.MYI > corrupt_t1.MYI
--
remove_file
$MYSQL
TEST_VARDIR
/
master
-
data
/
test
/
t1_will_crash
.
MYI
--
remove_file
$MYSQL
D_DATADIR
/
test
/
t1_will_crash
.
MYI
--
copy_file
std_data
/
corrupt_t1
.
MYI
$MYSQL
TEST_VARDIR
/
master
-
data
/
test
/
t1_will_crash
.
MYI
--
copy_file
std_data
/
corrupt_t1
.
MYI
$MYSQL
D_DATADIR
/
test
/
t1_will_crash
.
MYI
SELECT
*
FROM
t1_will_crash
;
SELECT
*
FROM
t1_will_crash
;
DROP
TABLE
t1_will_crash
;
DROP
TABLE
t1_will_crash
;
CREATE
TABLE
t1_will_crash
(
a
INT
,
KEY
(
a
))
CREATE
TABLE
t1_will_crash
(
a
INT
,
KEY
(
a
))
...
@@ -25,7 +25,7 @@ FLUSH TABLES;
...
@@ -25,7 +25,7 @@ FLUSH TABLES;
--
echo
# replacing t1#P#p1.MYI with a corrupt + unclosed one created by doing:
--
echo
# replacing t1#P#p1.MYI with a corrupt + unclosed one created by doing:
--
echo
# 'create table t1 (a int key(a)) partition by hash (a) partitions 3'
--
echo
# 'create table t1 (a int key(a)) partition by hash (a) partitions 3'
--
echo
# head -c1024 t1#P#p1.MYI > corrupt_t1#P#p1.MYI
--
echo
# head -c1024 t1#P#p1.MYI > corrupt_t1#P#p1.MYI
--
remove_file
$MYSQL
TEST_VARDIR
/
master
-
data
/
test
/
t1_will_crash
#P#p1.MYI
--
remove_file
$MYSQL
D_DATADIR
/
test
/
t1_will_crash
#P#p1.MYI
--
copy_file
std_data
/
corrupt_t1
#P#p1.MYI $MYSQL
TEST_VARDIR/master-data
/test/t1_will_crash#P#p1.MYI
--
copy_file
std_data
/
corrupt_t1
#P#p1.MYI $MYSQL
D_DATADIR
/test/t1_will_crash#P#p1.MYI
SELECT
*
FROM
t1_will_crash
;
SELECT
*
FROM
t1_will_crash
;
DROP
TABLE
t1_will_crash
;
DROP
TABLE
t1_will_crash
;
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