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
0d4cec4d
Commit
0d4cec4d
authored
Mar 04, 2014
by
John Esmet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix USE_BDB build
parent
ac094fa8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/tests/CMakeLists.txt
src/tests/CMakeLists.txt
+1
-0
src/tests/test_equal_keys_with_different_bytes.cc
src/tests/test_equal_keys_with_different_bytes.cc
+2
-2
No files found.
src/tests/CMakeLists.txt
View file @
0d4cec4d
...
...
@@ -269,6 +269,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
test_db_descriptor
test_db_descriptor_named_db
test_db_txn_locks_read_uncommitted
test_equal_keys_with_different_bytes
test_get_max_row_size
test_insert_many_gc
test_iterate_live_transactions
...
...
src/tests/test_equal_keys_with_different_bytes.cc
View file @
0d4cec4d
...
...
@@ -98,7 +98,7 @@ static int compare_strings_case_insensitive(DB *db, const DBT *a, const DBT *b)
reinterpret_cast
<
char
*>
(
b
->
data
));
}
static
void
test_equal_keys_with_
unequal
_bytes
(
void
)
{
static
void
test_equal_keys_with_
different
_bytes
(
void
)
{
int
r
;
DB_ENV
*
env
;
...
...
@@ -143,7 +143,7 @@ test_main(int argc, char *const argv[]) {
toku_os_recursive_delete
(
TOKU_TEST_FILENAME
);
int
r
=
toku_os_mkdir
(
TOKU_TEST_FILENAME
,
S_IRWXU
+
S_IRWXG
+
S_IRWXO
);
CKERR
(
r
);
test_equal_keys_with_
unequal
_bytes
();
test_equal_keys_with_
different
_bytes
();
return
0
;
}
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