This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 9419c73  [Bug] Fix bug that BE will crash when querying 
information_schema.columns (#4595)
9419c73 is described below

commit 9419c734725705139fcdc03b0e54b600b804d55b
Author: Mingyu Chen <[email protected]>
AuthorDate: Mon Sep 14 15:47:08 2020 +0800

    [Bug] Fix bug that BE will crash when querying information_schema.columns 
(#4595)
---
 be/src/exec/schema_scanner/schema_columns_scanner.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/exec/schema_scanner/schema_columns_scanner.cpp 
b/be/src/exec/schema_scanner/schema_columns_scanner.cpp
index 84f1d50..b3fbb80 100644
--- a/be/src/exec/schema_scanner/schema_columns_scanner.cpp
+++ b/be/src/exec/schema_scanner/schema_columns_scanner.cpp
@@ -328,7 +328,7 @@ Status SchemaColumnsScanner::fill_one_row(Tuple *tuple, 
MemPool *pool) {
     }
     // GENERATION_EXPRESSION
     {
-        tuple->set_null(_tuple_desc->slots()[23]->null_indicator_offset());
+        tuple->set_null(_tuple_desc->slots()[22]->null_indicator_offset());
     }
     // SRS_ID
     {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to