|
@@ -43,7 +43,7 @@ Sqlite3MozCookieParser::~Sqlite3MozCookieParser() {}
|
|
|
|
|
|
const std::string& Sqlite3MozCookieParser::getQuery() const
|
|
|
{
|
|
|
- static const std::string& sql =
|
|
|
+ static const std::string sql =
|
|
|
"SELECT host, path, isSecure, expiry, name, value FROM moz_cookies";
|
|
|
return sql;
|
|
|
}
|
|
@@ -55,7 +55,7 @@ Sqlite3ChromiumCookieParser::~Sqlite3ChromiumCookieParser() {}
|
|
|
|
|
|
const std::string& Sqlite3ChromiumCookieParser::getQuery() const
|
|
|
{
|
|
|
- static const std::string& sql =
|
|
|
+ static const std::string sql =
|
|
|
"SELECT host_key, path, secure, expires_utc, name, value FROM cookies";
|
|
|
return sql;
|
|
|
}
|