Fix test_raw_decoder of release compilation cannot pass.
This commit is contained in:
parent
50c953f1b2
commit
276d9034f2
@ -306,7 +306,7 @@ void TestRawDecoder::SetUp()
|
||||
ctx_.column_cnt_ = COLUMN_CNT + extra_rowkey_cnt;
|
||||
ctx_.col_descs_ = &col_descs_;
|
||||
|
||||
int64_t column_encodings[ctx_.column_cnt_];
|
||||
int64_t *column_encodings = reinterpret_cast<int64_t *>(allocator_.alloc(sizeof(int64_t) * ctx_.column_cnt_));
|
||||
ctx_.column_encodings_ = column_encodings;
|
||||
for (int64_t i = 0; i < ctx_.column_cnt_; ++i) {
|
||||
ctx_.column_encodings_[i] = ObColumnHeader::Type::RAW;
|
||||
|
Loading…
x
Reference in New Issue
Block a user