mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
refs #5368 add some benign includes and change one errno usage for portability
git-svn-id: file:///svn/toku/tokudb@48330 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
54b16784b4
commit
60f6e4b90c
3 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
|||
// Don't include toku_assert.h. Just use assert.h
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#define VISIBLE "__attribute__((__visibility__(\"default\")))"
|
||||
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
/* Tell me the diff between two brt files. */
|
||||
|
||||
#include "includes.h"
|
||||
#include <stdlib.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
|
||||
static void
|
||||
format_time(const uint64_t time_int, char *buf) {
|
||||
|
|
|
@ -2089,7 +2089,7 @@ toku_maybe_get_engine_status_text (char * buff, int buffsize) {
|
|||
r = env_get_engine_status_text(env, buff, buffsize);
|
||||
}
|
||||
else {
|
||||
r = ENODATA;
|
||||
r = EOPNOTSUPP;
|
||||
snprintf(buff, buffsize, "Engine status not available: disabled by user. This should only happen in test programs.\n");
|
||||
}
|
||||
return r;
|
||||
|
|
Loading…
Add table
Reference in a new issue