mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
addresses #1283
fix windows compilation problems git-svn-id: file:///svn/mysql/tokudb-engine/src@9104 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
d2809c4f44
commit
a05b5d4836
2 changed files with 14 additions and 7 deletions
|
@ -180,14 +180,21 @@ static void make_name(char *newname, const char *tablename, const char *dictname
|
|||
goto cleanup; \
|
||||
}
|
||||
|
||||
ha_tokudb::ha_tokudb(handlerton * hton, TABLE_SHARE * table_arg)
|
||||
:
|
||||
handler(hton, table_arg), alloc_ptr(0), rec_buff(0),
|
||||
ha_tokudb::ha_tokudb(handlerton * hton, TABLE_SHARE * table_arg):handler(hton, table_arg)
|
||||
// flags defined in sql\handler.h
|
||||
int_table_flags(HA_REC_NOT_IN_SEQ | HA_FAST_KEY_READ | HA_NULL_IN_KEY | HA_CAN_INDEX_BLOBS | HA_PRIMARY_KEY_IN_READ_INDEX |
|
||||
HA_FILE_BASED | HA_AUTO_PART_KEY | HA_TABLE_SCAN_ON_INDEX |HA_BINLOG_ROW_CAPABLE | HA_BINLOG_STMT_CAPABLE),
|
||||
added_rows(0), deleted_rows(0), last_dup_key((uint) - 1), using_ignore(0), last_cursor_error(0),range_lock_grabbed(false), primary_key_offsets(NULL) {
|
||||
{
|
||||
int_table_flags = HA_REC_NOT_IN_SEQ | HA_FAST_KEY_READ | HA_NULL_IN_KEY | HA_CAN_INDEX_BLOBS | HA_PRIMARY_KEY_IN_READ_INDEX |
|
||||
HA_FILE_BASED | HA_AUTO_PART_KEY | HA_TABLE_SCAN_ON_INDEX |HA_BINLOG_ROW_CAPABLE | HA_BINLOG_STMT_CAPABLE;
|
||||
alloc_ptr = NULL;
|
||||
rec_buff = NULL;
|
||||
transaction = NULL;
|
||||
added_rows = 0;
|
||||
deleted_rows = 0;
|
||||
last_dup_key = UINT_MAX;
|
||||
using_ignore = 0;
|
||||
last_cursor_error = 0;
|
||||
range_lock_grabbed = false;
|
||||
primary_key_offsets = NULL;
|
||||
num_added_rows_in_stmt = 0;
|
||||
num_deleted_rows_in_stmt = 0;
|
||||
num_updated_rows_in_stmt = 0;
|
||||
|
|
|
@ -148,7 +148,7 @@ private:
|
|||
//
|
||||
// flags that are returned in table_flags()
|
||||
//
|
||||
ulong int_table_flags;
|
||||
ulonglong int_table_flags;
|
||||
//
|
||||
// count on the number of rows that gets changed, such as when write_row occurs
|
||||
// this is meant to help keep estimate on number of elements in DB
|
||||
|
|
Loading…
Add table
Reference in a new issue