mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
addresses #1111
change flag of 0 to DB_YESOVERWRITE so that it is explicit git-svn-id: file:///svn/mysql/tokudb-engine/src@5868 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
2d1953d957
commit
e98899e58e
1 changed files with 1 additions and 1 deletions
|
@ -1299,7 +1299,7 @@ int ha_tokudb::open(const char *name, int mode, uint test_if_locked) {
|
|||
|
||||
/* Open other keys; These are part of the share structure */
|
||||
share->key_file[primary_key] = share->file;
|
||||
share->key_type[primary_key] = hidden_primary_key ? 0 : DB_NOOVERWRITE;
|
||||
share->key_type[primary_key] = hidden_primary_key ? DB_YESOVERWRITE : DB_NOOVERWRITE;
|
||||
|
||||
DB **ptr = share->key_file;
|
||||
for (uint i = 0; i < table_share->keys; i++, ptr++) {
|
||||
|
|
Loading…
Reference in a new issue