Sql: SqlSelect::ForUpdate generates nothing for sqlite3

git-svn-id: svn://ultimatepp.org/upp/trunk@7437 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-06-11 06:18:26 +00:00
parent 8fe8385db5
commit efa4d19177

View file

@ -93,10 +93,10 @@ SqlSelect& SqlSelect::OrderBy(const SqlSet& set) {
}
SqlSelect& SqlSelect::ForUpdate() {
text << " for update";
return *this;
text << SqlCase(SQLITE3, "")(" for update");
return *this;
}
SqlSelect& SqlSelect::NoWait() {
text << " nowait";
return *this;