mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
Hack! Compile fix to provide a "typedef" for "u_int32_t" where it is missing.
Should be replaced by a cleaner solution. sql/mysqld.cc: Hack! "u_int32_t" is typically defined by system include files, but not everywhere. Replacement declaration taken from "libedit/sys.h". It might be better to include the BDB header file where this is done more elaborate, but I would rather not do this larger change.
This commit is contained in:
parent
f91475a7aa
commit
9382f3a082
1 changed files with 3 additions and 0 deletions
|
@ -390,6 +390,9 @@ extern ulong srv_commit_concurrency;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef WITH_BERKELEY_STORAGE_ENGINE
|
#ifdef WITH_BERKELEY_STORAGE_ENGINE
|
||||||
|
#ifndef HAVE_U_INT32_T
|
||||||
|
typedef unsigned int u_int32_t;
|
||||||
|
#endif
|
||||||
extern const u_int32_t bdb_DB_TXN_NOSYNC, bdb_DB_RECOVER, bdb_DB_PRIVATE;
|
extern const u_int32_t bdb_DB_TXN_NOSYNC, bdb_DB_RECOVER, bdb_DB_PRIVATE;
|
||||||
extern bool berkeley_shared_data;
|
extern bool berkeley_shared_data;
|
||||||
extern u_int32_t berkeley_init_flags,berkeley_env_flags, berkeley_lock_type,
|
extern u_int32_t berkeley_init_flags,berkeley_env_flags, berkeley_lock_type,
|
||||||
|
|
Loading…
Reference in a new issue