This is an automated email from the ASF dual-hosted git repository.
panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 3504a36 fix other-feature-example/shadow-example. (#11241)
3504a36 is described below
commit 3504a36dacbeedc2b1773501b5de9e9559e58307
Author: gin <[email protected]>
AuthorDate: Fri Jul 9 19:22:35 2021 +0800
fix other-feature-example/shadow-example. (#11241)
---
.../example/core/jdbc/repository/ShadowUserRepositoryImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/examples/example-core/example-raw-jdbc/src/main/java/org/apache/shardingsphere/example/core/jdbc/repository/ShadowUserRepositoryImpl.java
b/examples/example-core/example-raw-jdbc/src/main/java/org/apache/shardingsphere/example/core/jdbc/repository/ShadowUserRepositoryImpl.java
index 821acf4..11ba1a0 100644
---
a/examples/example-core/example-raw-jdbc/src/main/java/org/apache/shardingsphere/example/core/jdbc/repository/ShadowUserRepositoryImpl.java
+++
b/examples/example-core/example-raw-jdbc/src/main/java/org/apache/shardingsphere/example/core/jdbc/repository/ShadowUserRepositoryImpl.java
@@ -40,7 +40,7 @@ public final class ShadowUserRepositoryImpl implements
ShadowUserRepository {
@Override
public void createTableIfNotExists() throws SQLException {
String sql = "CREATE TABLE IF NOT EXISTS t_user "
- + "(user_id INT NOT NULL AUTO_INCREMENT, user_name
VARCHAR(200), user_name_plain VARCHAR(200), pwd VARCHAR(200),
assisted_query_pwd VARCHAR(200), PRIMARY KEY (user_id))";
+ + "(user_id INT NOT NULL AUTO_INCREMENT, user_name
VARCHAR(200), pwd VARCHAR(200), PRIMARY KEY (user_id))";
try (Connection connection = dataSource.getConnection();
Statement statement = connection.createStatement()) {
statement.executeUpdate(sql);