Skip to content

Commit

Permalink
Null-initialize session members for pool-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mloskot committed Feb 28, 2013
1 parent a2cca87 commit 8ee89f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/session.cpp
Expand Up @@ -98,7 +98,7 @@ session::session(std::string const & connectString)
}

session::session(connection_pool & pool)
: isFromPool_(true), pool_(&pool)
: query_transformation_(NULL), logStream_(NULL), isFromPool_(true), pool_(&pool)
{
poolPosition_ = pool.lease();
session & pooledSession = pool.at(poolPosition_);
Expand Down

0 comments on commit 8ee89f9

Please sign in to comment.