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
440fba13
Commit
440fba13
authored
Apr 29, 2011
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Plain Diff
fix of partitioning tests that fails on windows + merge of minor cleanup
parents
2ea882e9
54c1da00
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
mysql-test/suite/parts/inc/partition_fail.inc
mysql-test/suite/parts/inc/partition_fail.inc
+2
-0
sql/ha_partition.cc
sql/ha_partition.cc
+0
-6
No files found.
mysql-test/suite/parts/inc/partition_fail.inc
View file @
440fba13
...
@@ -23,6 +23,7 @@ DROP TABLE t1;
...
@@ -23,6 +23,7 @@ DROP TABLE t1;
--
eval
$create_statement
--
eval
$create_statement
--
eval
$insert_statement
--
eval
$insert_statement
--
echo
# State before failure
--
echo
# State before failure
--
replace_result
#p# #P# #sp# #SP#
--
list_files
$DATADIR
/
test
--
list_files
$DATADIR
/
test
SHOW
CREATE
TABLE
t1
;
SHOW
CREATE
TABLE
t1
;
--
sorted_result
--
sorted_result
...
@@ -32,6 +33,7 @@ LOCK TABLE t1 WRITE;
...
@@ -32,6 +33,7 @@ LOCK TABLE t1 WRITE;
--
eval
$fail_statement
--
eval
$fail_statement
--
enable_abort_on_error
--
enable_abort_on_error
--
echo
# State after failure
--
echo
# State after failure
--
replace_result
#p# #P# #sp# #SP#
--
list_files
$DATADIR
/
test
--
list_files
$DATADIR
/
test
SHOW
CREATE
TABLE
t1
;
SHOW
CREATE
TABLE
t1
;
--
sorted_result
--
sorted_result
...
...
sql/ha_partition.cc
View file @
440fba13
...
@@ -4099,12 +4099,6 @@ void ha_partition::position(const uchar *record)
...
@@ -4099,12 +4099,6 @@ void ha_partition::position(const uchar *record)
if
(
pad_length
)
if
(
pad_length
)
memset
((
ref
+
PARTITION_BYTES_IN_POS
+
file
->
ref_length
),
0
,
pad_length
);
memset
((
ref
+
PARTITION_BYTES_IN_POS
+
file
->
ref_length
),
0
,
pad_length
);
#ifdef SUPPORTING_PARTITION_OVER_DIFFERENT_ENGINES
#ifdef HAVE_purify
bzero
(
ref
+
PARTITION_BYTES_IN_POS
+
ref_length
,
max_ref_length
-
ref_length
);
#endif
/* HAVE_purify */
#endif
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
...
...
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