mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-31 07:12:39 -06:00
SqlExp: CreateTable legacy fix
git-svn-id: svn://ultimatepp.org/upp/trunk@9021 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4d134959ad
commit
8f807ca2de
1 changed files with 2 additions and 2 deletions
|
|
@ -367,9 +367,9 @@ SqlStatement SqlCreateTable::As(const SqlSelect& select)
|
|||
text << "table " << table.Quoted();
|
||||
if(!permanent){
|
||||
if(transaction)
|
||||
text << SqlCode(ORACLE | PGSQL, " on commit delete rows")("");
|
||||
text << SqlCode(ORACLE, " on commit delete rows")("");
|
||||
else
|
||||
text << SqlCode(ORACLE | PGSQL, " on commit preserve rows")("");
|
||||
text << SqlCode(ORACLE, " on commit preserve rows")("");
|
||||
}
|
||||
text << " as (" + SqlStatement(select).GetText() + ")";
|
||||
return SqlStatement(text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue