Skip to content
Snippets Groups Projects
Commit 675a9e43 authored by Kexi Long's avatar Kexi Long
Browse files

[jdbc] Fix bug in constructing CREATE TABLE SQL statement

parent e34a258a
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ public final class JdbcDBCreateTable {
sql = new StringBuilder("CREATE TABLE ");
sql.append(tablename);
sql.append(" (KEY VARCHAR PRIMARY KEY");
sql.append(" (YCSB_KEY VARCHAR PRIMARY KEY");
for (int idx = 0; idx < fieldcount; idx++) {
sql.append(", FIELD");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment