Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2b4d5e72 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- corrected a bug about database version number check

parent 89352e35
No related branches found
No related tags found
No related merge requests found
......@@ -610,7 +610,7 @@ public class CacheImpl {
ResultSet rs = (ResultSet) st.executeQuery("SELECT version FROM server WHERE port='port'");
rs.next();
int version = rs.getInt("version") ;
if ( version <= VERSION ) {
if ( version < VERSION ) {
if ( version >= 302 ) {
// Change database
st.executeUpdate("ALTER TABLE extension ADD uri VARCHAR(200);");
......
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