When Mode
uses the memory mode of H2database
, JDBCRepository
has a logical problem in processing Delete and Create SQL statements
#33281
Labels
Feature Request
For English only, other languages will not be accepted.
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
Describe the feature you would like.
Mode
uses the memory mode ofH2database
,org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository
has a logical problem in processing Delete and Create SQL statements.org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository#init(java.util.Properties)
,CREATE TABLE IF NOT EXISTS repository(id varchar(36) PRIMARY KEY, key TEXT, value TEXT, parent TEXT)
is executed later thanTRUNCATE TABLE repository
. TheTRUNCATE
SQL should not be executed before the table is created. This leads to issues similar to those detected in https://www.yuque.com/linghengqian/meve2v/kezd0g2m3lfuz38q . The picture comes from my local device.org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository#delete(java.lang.String)
,The text was updated successfully, but these errors were encountered: