mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix linux specific error
This commit is contained in:
parent
c4a8a3b384
commit
d4bf40b1d3
@ -28,7 +28,8 @@ struct SListEntry
|
||||
KeyPair keys;
|
||||
std::list<SListEntry> notMatchingEntrys;
|
||||
|
||||
Poco::Data::Statement select(cm->getConnection(CONNECTION_MYSQL_LOGIN_SERVER));
|
||||
auto con = cm->getConnection(CONNECTION_MYSQL_LOGIN_SERVER);
|
||||
Poco::Data::Statement select(con);
|
||||
std::list<UserBackupTuple> userBackupEntrys;
|
||||
select << "SELECT u.id, u.pubkey, b.passphrase FROM users as u LEFT JOIN user_backups as b on(u.id = b.user_id)"
|
||||
, into(userBackupEntrys);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user