added config parameter: db_postgresql_smaller_than_10
default false if true then we are not using ROW() statements in sql queries git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1099 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -67,8 +67,10 @@ public:
|
||||
|
||||
Db() : item_cols(*this)
|
||||
{
|
||||
is_postgresql_smaller_than_10 = false;
|
||||
}
|
||||
|
||||
void PostgreSQLsmallerThan10(bool is_smaller_than_10);
|
||||
|
||||
bool GetUserPass(const std::wstring & login, long & user_id, UserPass & up);
|
||||
Error AddUser(User & user, const UserPass & up);
|
||||
@@ -138,6 +140,8 @@ protected:
|
||||
std::wstring iq_id_list;
|
||||
DbItemColumns item_cols;
|
||||
|
||||
bool is_postgresql_smaller_than_10;
|
||||
std::wstring postgrsql_row_statement;
|
||||
|
||||
bool AddItemCreateUrlSubject(Item & item);
|
||||
|
||||
|
Reference in New Issue
Block a user