Permalink
Browse files

MSqlDatabase:: Fix coverity ID 700623 Big parameter passed by value

In MSqlDatabase::SetDBParams(): Pass the DatabaseParams parameter by
reference.
  • Loading branch information...
Paul Harrison
Paul Harrison committed Jun 8, 2013
1 parent bf109e4 commit 7261d51e55615eb0099629627263b2f1484966a6
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythbase/mythdbcon.h
@@ -32,7 +32,7 @@ class MSqlDatabase
~MSqlDatabase(void);
bool OpenDatabase(bool skipdb = false);
void SetDBParams(DatabaseParams params) { m_dbparms = params; };
void SetDBParams(const DatabaseParams &params) { m_dbparms = params; };
private:
bool isOpen(void);

0 comments on commit 7261d51

Please sign in to comment.