mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-505: Remove stray left join in SQL Server UserMapper.
This commit is contained in:
@@ -176,8 +176,8 @@
|
|||||||
resultSets="users,arbitraryAttributes">
|
resultSets="users,arbitraryAttributes">
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
[guacamole_user].user_id,
|
user_id,
|
||||||
[guacamole_user].username,
|
username,
|
||||||
password_hash,
|
password_hash,
|
||||||
password_salt,
|
password_salt,
|
||||||
password_date,
|
password_date,
|
||||||
@@ -198,7 +198,6 @@
|
|||||||
WHERE [guacamole_user_history].user_id = [guacamole_user].user_id
|
WHERE [guacamole_user_history].user_id = [guacamole_user].user_id
|
||||||
) AS last_active
|
) AS last_active
|
||||||
FROM [guacamole_user]
|
FROM [guacamole_user]
|
||||||
LEFT JOIN [guacamole_user_history] ON [guacamole_user_history].user_id = [guacamole_user].user_id
|
|
||||||
WHERE
|
WHERE
|
||||||
[guacamole_user].username = #{username,jdbcType=VARCHAR};
|
[guacamole_user].username = #{username,jdbcType=VARCHAR};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user