GUACAMOLE-505: Merge changes fixing the behavior SQL Server version of the "selectOne" query for retrieval of user account information (the query must return at most one row).
This commit is contained in:
commit
a6579ce4e1
1 file changed
+2
-3
+2
-3
@@ -176,8 +176,8 @@
|
||||
resultSets="users,arbitraryAttributes">
|
||||
|
||||
SELECT
|
||||
[guacamole_user].user_id,
|
||||
[guacamole_user].username,
|
||||
user_id,
|
||||
username,
|
||||
password_hash,
|
||||
password_salt,
|
||||
password_date,
|
||||
@@ -198,7 +198,6 @@
|
||||
WHERE [guacamole_user_history].user_id = [guacamole_user].user_id
|
||||
) AS last_active
|
||||
FROM [guacamole_user]
|
||||
LEFT JOIN [guacamole_user_history] ON [guacamole_user_history].user_id = [guacamole_user].user_id
|
||||
WHERE
|
||||
[guacamole_user].username = #{username,jdbcType=VARCHAR};
|
||||
|
||||
|
||||
Reference in new issue
Block a user