Skip to content

Commit

Permalink
fixing the script modified twice running each time bug. chucknorris/r…
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed May 27, 2011
1 parent 5685273 commit 9681c5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions product/roundhouse/databases/DefaultDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ public string get_current_script_hash(string script_name)

DetachedCriteria crit = DetachedCriteria.For<ScriptsRun>()
.Add(Restrictions.Eq("script_name", script_name))
.AddOrder(Order.Desc("id"))
.SetMaxResults(1);

try
Expand Down

0 comments on commit 9681c5d

Please sign in to comment.