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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2494bde7
Commit
2494bde7
authored
Nov 12, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DB-759 fix tokudb::alter_card to copy ALL of the cardinality data not just the low byte
parent
8a7f0771
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
567 additions
and
1 deletion
+567
-1
storage/tokudb/tests/card_test_alter.cc
storage/tokudb/tests/card_test_alter.cc
+566
-0
storage/tokudb/tests/card_test_key_info.cc
storage/tokudb/tests/card_test_key_info.cc
+0
-1
storage/tokudb/tests/fake_mysql.h
storage/tokudb/tests/fake_mysql.h
+1
-0
No files found.
storage/tokudb/tests/card_test_alter.cc
0 → 100644
View file @
2494bde7
This diff is collapsed.
Click to expand it.
storage/tokudb/tests/card_test_key_info.cc
View file @
2494bde7
...
@@ -107,7 +107,6 @@ typedef unsigned long long ulonglong;
...
@@ -107,7 +107,6 @@ typedef unsigned long long ulonglong;
typedef
unsigned
long
ulong
;
typedef
unsigned
long
ulong
;
#endif
#endif
#include <tokudb_card.h>
#include <tokudb_card.h>
#define MAX_KEY 256
static
void
test_no_keys
()
{
static
void
test_no_keys
()
{
TABLE_SHARE
s
=
{
0
,
0
,
0
,
NULL
};
TABLE_SHARE
s
=
{
0
,
0
,
0
,
NULL
};
...
...
storage/tokudb/tests/fake_mysql.h
View file @
2494bde7
...
@@ -112,3 +112,4 @@ uint get_key_parts(KEY_INFO *key_info) {
...
@@ -112,3 +112,4 @@ uint get_key_parts(KEY_INFO *key_info) {
assert
(
key_info
);
assert
(
key_info
);
return
key_info
->
key_parts
;
return
key_info
->
key_parts
;
}
}
#define MAX_KEY (1U << 30)
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