Skip to content

Commit

Permalink
Merge pull request #28 from svetlyak40wt/fix-migrations-for-sqlite
Browse files Browse the repository at this point in the history
An error "DB Error: database table is locked (Code: LOCKED)" was fixed.
  • Loading branch information
fukamachi authored Mar 30, 2018
2 parents 51034f5 + b7040f9 commit ffc6ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/db.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
(sxql:where (:and (:= :name table-name)
(:= :type "table")))
(sxql:limit 1)))))
(and (dbi:fetch
(and (dbi:fetch-all
(apply #'dbi:execute (dbi:prepare conn sql) binds))
t)))

Expand Down

0 comments on commit ffc6ec5

Please sign in to comment.