Commit 2b13aba8 authored by Rich Prohaska's avatar Rich Prohaska

DB-759 fix tokudb::alter_card to copy ALL of the cardinality data not just the low byte

parent 3f1f0ef6
This diff is collapsed.
...@@ -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 };
......
...@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment