mirror of
https://github.com/MariaDB/server.git
synced 2025-11-30 05:23:50 +03:00
fix cxx/tests build problems. addresses #246
git-svn-id: file:///svn/tokudb@1556 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
@@ -97,13 +97,13 @@ int DbEnv::maybe_throw_error(int err) throw (DbException) {
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
void toku_db_env_err_vararg(const DB_ENV * env, int error, const char *fmt, va_list ap);
|
||||
void toku_do_error_all_cases(const DB_ENV * env, int error, int, int, const char *fmt, va_list ap);
|
||||
};
|
||||
|
||||
void DbEnv::err(int error, const char *fmt, ...) {
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
toku_db_env_err_vararg(the_env, error, fmt, ap);
|
||||
toku_do_error_all_cases(the_env, error, 1, 1, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user