[Title] fix load_row spelling error
authorjiil.hyoun <jiil.hyoun@samsung.com>
Mon, 31 Dec 2012 06:01:35 +0000 (15:01 +0900)
committerjiil.hyoun <jiil.hyoun@samsung.com>
Mon, 31 Dec 2012 06:01:35 +0000 (15:01 +0900)
[Type] Bugfix
[Module] Toolchain /
[Priority] Minor
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Ib9c36c4cb6cabae840da50a3f0dbb63b07bbb9cf

src/build_server/CommonProject.rb

index 12963ad40c88eb1ba718f1e57834931588a9b86d..a2b46accfcf5726999ee3712b15328c709b6f2ed 100644 (file)
@@ -204,7 +204,7 @@ class CommonProject
        protected
        def self.load_row(name, dist_name, db)
                row = db.select_one("SELECT projects.* FROM projects,distributions WHERE projects.name='#{name}' and 
-                                                       projects.distribution_id=distribuitons.id and distributions.name='#{dist_name}'")
+                                                       projects.distribution_id=distributions.id and distributions.name='#{dist_name}'")
                if row.nil? then return nil end
 
                # get supported_os