diff options
author | Simon Rettberg | 2014-09-30 18:30:07 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-09-30 18:30:07 +0200 |
commit | da3df19792bd1146957f3cc51bc47a6af2a4badf (patch) | |
tree | 4cc5e81581c0dc13f67735760b312a9b842c4fab | |
parent | Set max read len for thrift (diff) | |
download | masterserver-da3df19792bd1146957f3cc51bc47a6af2a4badf.tar.gz masterserver-da3df19792bd1146957f3cc51bc47a6af2a4badf.tar.xz masterserver-da3df19792bd1146957f3cc51bc47a6af2a4badf.zip |
Fix insert query
-rw-r--r-- | src/main/java/org/openslx/imagemaster/db/DbImage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/imagemaster/db/DbImage.java b/src/main/java/org/openslx/imagemaster/db/DbImage.java index 18a1cc8..5070c0d 100644 --- a/src/main/java/org/openslx/imagemaster/db/DbImage.java +++ b/src/main/java/org/openslx/imagemaster/db/DbImage.java @@ -113,7 +113,7 @@ public class DbImage return MySQL .update( - "INSERT INTO images (UUID, image_version, image_name, image_path, image_createTime, image_updateTime, image_owner, content_operatingSystem, status_isValid, status_isDeleted, image_shortDescription, image_longDescription, fileSize, missingBlocks) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", + "INSERT INTO images (UUID, image_version, image_name, image_path, image_createTime, image_updateTime, image_owner, content_operatingSystem, status_isValid, status_isDeleted, image_shortDescription, image_longDescription, fileSize, missingBlocks) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", imageData.uuid, imageData.imageVersion, imageData.imageName, filepath, imageData.imageCreateTime, imageData.imageUpdateTime, owner, imageData.contentOperatingSystem, imageData.statusIsValid, |