Skip to content
Permalink
Browse files

Add a temporary stand-in for abort_with_stack_traces() call

  • Loading branch information...
spetrunia committed Oct 9, 2016
1 parent f4994c7 commit 50f323683ad067bdc0c6114e4a99e8c4960516aa
Showing with 19 additions and 0 deletions.
  1. +17 −0 storage/rocksdb/rdb_mariadb_port.h
  2. +2 −0 storage/rocksdb/rdb_utils.h
@@ -1,3 +1,9 @@
/*
A temporary header to resolve WebScaleSQL vs MariaDB differences
when porting MyRocks to MariaDB.
*/
#ifndef RDB_MARIADB_PORT_H
#define RDB_MARIADB_PORT_H

#include "atomic_stat.h"

@@ -13,4 +19,15 @@ struct my_io_perf_atomic_struct {
};
typedef struct my_io_perf_atomic_struct my_io_perf_atomic_t;

////////////////////////////////////////////////////////////////////////////

/*
Temporary stand-in for
fae59683dc116be2cc78b0b30d61c84659c33bd3
Print stack traces before committing suicide
*/
#define abort_with_stack_traces() { abort(); }


#endif
@@ -15,6 +15,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#pragma once

#include "rdb_mariadb_port.h"

/* C++ standard header files */
#include <string>

0 comments on commit 50f3236

Please sign in to comment.
You can’t perform that action at this time.