feat: broken sql tests

This commit is contained in:
aro 2023-01-23 18:12:23 +01:00
parent 974a6facc3
commit 7484b40cfc
3 changed files with 4 additions and 5 deletions

View file

@ -34,6 +34,8 @@ public class SQLStorage extends Storage {
@Override
public ActionResult<Void> store(UUID uuid, NickoProfile profile) {
final Connection connection = getProvider().getConnection();
if (connection == null) return new ActionResult<>(I18NDict.Error.SQL_ERROR);
try {
final String sql = """
INSERT IGNORE INTO nicko.DATA