-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
3,024 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- a/storage/rocksdb/rocksdb/util/string_util.h | ||
+++ b/storage/rocksdb/rocksdb/util/string_util.h | ||
@@ -6,6 +6,7 @@ | ||
|
||
#pragma once | ||
|
||
+#include <cstdint> | ||
#include <sstream> | ||
#include <string> | ||
#include <unordered_map> | ||
--- a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | ||
+++ b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | ||
@@ -8,6 +8,7 @@ | ||
#pragma once | ||
#ifndef ROCKSDB_LITE | ||
|
||
+#include <cstdint> | ||
#include <string> | ||
#include <vector> | ||
#include "rocksdb/status.h" | ||
--- a/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h | ||
+++ b/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h | ||
@@ -5,6 +5,7 @@ | ||
|
||
#pragma once | ||
|
||
+#include <cstdint> | ||
#include <string> | ||
#include <vector> | ||
|
||
--- a/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h | ||
+++ b/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h | ||
@@ -6,6 +6,7 @@ | ||
#pragma once | ||
|
||
#include "rocksdb/rocksdb_namespace.h" | ||
+#include <cstdint> | ||
|
||
struct CompactionIterationStats { | ||
// Compaction statistics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
https://jira.mariadb.org/browse/MDEV-24131 | ||
|
||
diff --git a/unittest/mysys/stacktrace-t.c b/unittest/mysys/stacktrace-t.c | ||
index 8fa0db15b36..67eb099028e 100644 | ||
--- a/unittest/mysys/stacktrace-t.c | ||
+++ b/unittest/mysys/stacktrace-t.c | ||
@@ -22,6 +22,14 @@ | ||
|
||
char b_bss[10]; | ||
|
||
+#ifndef HAVE_STACKTRACE | ||
+int my_safe_print_str(const char* val, size_t max_len) | ||
+{ | ||
+ printf("%*s\n", (int) max_len, val); | ||
+ return 0; | ||
+} | ||
+#endif | ||
+ | ||
void test_my_safe_print_str() | ||
{ | ||
char b_stack[10]; |
Oops, something went wrong.