Skip to content

Commit

Permalink
fix(stonedb8.0): fix TPCH Q20 crashed (stoneatom#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
DandreChen committed Sep 23, 2022
1 parent 124002c commit 46f361e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/tianmu/handler/tianmu_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1536,6 +1536,7 @@ void TianmuHandler::key_convert(const uchar *key, uint key_len, std::vector<uint
std::vector<std::string> records;
for (auto &i : cols) {
Field *f = field[i];
bitmap_set_bit(table->read_set, f->field_index());
size_t length;
if (f->is_null()) {
throw common::Exception("Priamry key part can not be NULL");
Expand Down

0 comments on commit 46f361e

Please sign in to comment.