mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-30 06:12:22 -06:00
Sql: Sqlite3 fixed SqlExp for AsTable
git-svn-id: svn://ultimatepp.org/upp/trunk@13430 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
41ae0e39ec
commit
a0be63e26b
1 changed files with 2 additions and 2 deletions
|
|
@ -267,9 +267,9 @@ SqlVal SqlSelect::AsValue() const
|
|||
SqlSet SqlSelect::AsTable(const SqlId& tab) const
|
||||
{
|
||||
StringBuffer t;
|
||||
t << SqlCode(MSSQL|PGSQL, "")("(")
|
||||
t << SqlCode(MSSQL|PGSQL|SQLITE3, "")("(")
|
||||
<< "(" << text << ")" << SqlCode(ORACLE,"")(" as") << " \t" << tab.ToString() << '\t'
|
||||
<< SqlCode(MSSQL|PGSQL, "")(")");
|
||||
<< SqlCode(MSSQL|PGSQL|SQLITE3, "")(")");
|
||||
return SqlSet(String(t), SqlSet::HIGH);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue