fixed: in cursor in add_models_to_list(): added_model.model_env should be set after added_model.clear()
fixed: when generating: insert, update or remove statements we have used prefixes for columns but the table name was not set in ModelEnv (now we do not use prefixes in such statements) changed: log_queries field moved from PostgreSQLConnector to DbConnector git-svn-id: svn://ttmath.org/publicrep/morm/branches/join_models@1195 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2018, Tomasz Sowa
|
||||
* Copyright (c) 2018-2019, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -54,7 +54,6 @@ public:
|
||||
|
||||
virtual ~PostgreSQLConnector();
|
||||
|
||||
virtual void set_log_queries(bool log_queries);
|
||||
|
||||
bool query(const PT::TextStream & stream, QueryResult & query_result);
|
||||
bool query(const char * query_str, QueryResult & query_result);
|
||||
@@ -86,10 +85,8 @@ public:
|
||||
protected:
|
||||
|
||||
PGconn * pg_conn;
|
||||
bool log_queries;
|
||||
PT::TextStream stream;
|
||||
std::string query_str;
|
||||
std::string temp_column_name;
|
||||
|
||||
std::wstring db_database;
|
||||
std::wstring db_user;
|
||||
|
Reference in New Issue
Block a user