#223 build tokudb without upserts

This commit is contained in:
Rich Prohaska 2014-05-03 06:03:39 -04:00
parent fa301b7bd4
commit 2eb45b888e
2 changed files with 3 additions and 9 deletions

View file

@ -103,9 +103,6 @@ extern "C" {
#define MYSQL_SERVER 1
#include "mysql_version.h"
#if MYSQL_VERSION_ID < 50506
#include "mysql_priv.h"
#else
#include "sql_table.h"
#include "handler.h"
#include "table.h"
@ -113,6 +110,9 @@ extern "C" {
#include "sql_class.h"
#include "sql_show.h"
#include "discover.h"
#if (50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699) || (50700 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50799)
#include <binlog.h>
#endif
#include "db.h"

View file

@ -553,12 +553,6 @@ static bool is_strict_mode(THD *thd) {
#endif
}
#if 50600 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50699
#include <binlog.h>
#elif 50500 <= MYSQL_VERSION_ID && MYSQL_VERSION_ID <= 50599
#include <log.h>
#endif
// Check if an update operation can be handled by this storage engine. Return true if it can.
bool ha_tokudb::check_fast_update(THD *thd, List<Item> &fields, List<Item> &values, Item *conds) {
if (!transaction)