peilinqian opened a new issue #14815:
URL: https://github.com/apache/shardingsphere/issues/14815


   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub 
issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere 
Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response anymore and we cannot reproduce it on current information, we 
will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
    ShardingSphere-Proxy
   
   ### Expected behavior
   Run the SQL statement. If logs of the notice or warning level are returned, 
the logs are displayed accordingly.
   
   ### Actual behavior
   Run the SQL statement. If logs of the notice or warning level are returned, 
the logs are not displayed accordingly.
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   
   `drop table if exists bmsql_district cascade ;
   drop table if exists bmsql_warehouse cascade;
   
   create table bmsql_warehouse (
     w_id        integer   not null,
     w_ytd       decimal(12,2),
     w_tax       decimal(4,4),
     w_name      varchar(10),
     w_street_1  varchar(20),
     w_street_2  varchar(20),
     w_city      varchar(20),
     w_state     char(2),
     w_zip       char(9)
   ) with (fillfactor=80);
   create table bmsql_district (
     d_w_id       integer       not null,
     d_id         integer       not null,
     d_ytd        decimal(12,2),
     d_tax        decimal(4,4),
     d_next_o_id  integer,
     d_name       varchar(10),
     d_street_1   varchar(20),
     d_street_2   varchar(20),
     d_city       varchar(20),
     d_state      char(2),
     d_zip        char(9)
   ) with (fillfactor=80);
   
   alter table bmsql_warehouse add constraint bmsql_warehouse_pkey
     primary key (w_id);
   alter table bmsql_district add constraint bmsql_district_pkey
     primary key (d_w_id, d_id);
   alter table bmsql_district add constraint d_warehouse_fkey
       foreign key (d_w_id)
       references bmsql_warehouse (w_id);       
   
   --notice log  ;
   alter table bmsql_warehouse drop constraint bmsql_warehouse_pkey cascade;
   `
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to