summaryrefslogtreecommitdiff
path: root/sql/sql_bitmap.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-06-01 16:35:09 +0300
committermonty@mysql.com <>2005-06-01 16:35:09 +0300
commita69f4321155fced6ef3a771e68b7dab1d2f119cc (patch)
treead666c13b9844b04a96005aa6c422f8542efce7c /sql/sql_bitmap.h
parente253b7815a2f27461d47a6097aa5b6cc6458de1a (diff)
downloadmariadb-git-a69f4321155fced6ef3a771e68b7dab1d2f119cc.tar.gz
Code cleanups during code reviews
Ensure we get error if INSERT IGNORE ... SELECT fails Fixed wrong key_part->key_length usage in index_merge
Diffstat (limited to 'sql/sql_bitmap.h')
-rw-r--r--sql/sql_bitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_bitmap.h b/sql/sql_bitmap.h
index 2fd603d9381..d8e93f1fd14 100644
--- a/sql/sql_bitmap.h
+++ b/sql/sql_bitmap.h
@@ -82,7 +82,7 @@ public:
if (sizeof(buffer) >= 8)
return uint8korr(buffer);
DBUG_ASSERT(sizeof(buffer) >= 4);
- uint4korr(buffer);
+ return (ulonglong) uint4korr(buffer);
}
};