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

dataroaring pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new a1bf907d5e [branch-2.0](autoinc) Temporarily disable auto increment 
column feature in branch-2.0 #22977 (#23025)
a1bf907d5e is described below

commit a1bf907d5eb2adda0cca6a63b3fdc042a8082edf
Author: Kang <kxiao.ti...@gmail.com>
AuthorDate: Wed Aug 16 10:21:09 2023 +0800

    [branch-2.0](autoinc) Temporarily disable auto increment column feature in 
branch-2.0 #22977 (#23025)
    
    [branch-2.0](autoinc) Temporarily disable auto increment column feature in 
branch-2.0 #22977
---
 .../src/main/java/org/apache/doris/datasource/InternalCatalog.java       | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java 
b/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java
index 0ad261ad9b..ae5c2bbdcb 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java
@@ -2792,7 +2792,6 @@ public class InternalCatalog implements 
CatalogIf<Database> {
      * check column's auto increment property
      */
     private void checkAutoIncColumns(List<Column> columns, KeysType type) 
throws DdlException {
-        boolean encounterAutoIncColumn = false;
         for (Column column : columns) {
             if (column.isAutoInc()) {
                 
ErrorReport.reportDdlException(ErrorCode.ERR_AUTO_INCREMENT_COLUMN_NOT_SUPPORTED);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to