mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Fix after manual merge.
storage/heap/hp_write.c: Fix after manial merge: do cast _after_ pointer substruction.
This commit is contained in:
parent
ca83b54732
commit
c12dfbe81d
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ int heap_write(HP_INFO *info, const byte *record)
|
|||
|
||||
err:
|
||||
if (my_errno == HA_ERR_FOUND_DUPP_KEY)
|
||||
DBUG_PRINT("info",("Duplicate key: %d", (int) keydef - share->keydef));
|
||||
DBUG_PRINT("info",("Duplicate key: %d", (int) (keydef - share->keydef)));
|
||||
info->errkey= keydef - share->keydef;
|
||||
/*
|
||||
We don't need to delete non-inserted key from rb-tree. Also, if
|
||||
|
|
Loading…
Reference in a new issue