deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: Core: Fixed sqlite loading problem on jRuby
Date Tue, 19 Feb 2013 11:03:34 GMT
Updated Branches:
  refs/heads/master ce3bad216 -> a1882b7c5


Core: Fixed sqlite loading problem on jRuby


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/a1882b7c
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/a1882b7c
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/a1882b7c

Branch: refs/heads/master
Commit: a1882b7c53901a6b77f75dc319ddc5e63d7a4328
Parents: ce3bad2
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Tue Feb 19 12:02:47 2013 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue Feb 19 12:02:47 2013 +0100

----------------------------------------------------------------------
 server/bin/deltacloud-db-upgrade |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/a1882b7c/server/bin/deltacloud-db-upgrade
----------------------------------------------------------------------
diff --git a/server/bin/deltacloud-db-upgrade b/server/bin/deltacloud-db-upgrade
index 1a3a7b4..f87af84 100755
--- a/server/bin/deltacloud-db-upgrade
+++ b/server/bin/deltacloud-db-upgrade
@@ -15,9 +15,10 @@
 # under the License.
 
 require 'rubygems'
-
 require 'require_relative' if RUBY_VERSION < '1.9'
 
+require 'jdbc/sqlite3' if RUBY_PLATFORM == 'java'
+
 # Do not exit
 ENV['DB_UPGRADE'] = 'true'
 


Mime
View raw message