diff options
author | Robert Stefanic <rstefanic72@gmail.com> | 2021-08-21 14:03:44 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-22 15:32:09 +0200 |
commit | e4f040147f3bdb310cbd0a88684825b740127d17 (patch) | |
tree | 6104936b101b7687484c2a274d9d3770e7554952 /Userland/Services/RequestServer/GeminiRequest.cpp | |
parent | 9a4c1c019abbc876011e606fa680fe729036e2db (diff) | |
download | serenity-e4f040147f3bdb310cbd0a88684825b740127d17.zip |
SQLServer: Use m_client_id instead of client_id in callback
In the DatabaseConnection constructor, there's a deferred_invoke
callback that references the client_id. But depending on when the
callback occurs, the reference of the client_id can change. This created
a problem when connecting to SQLServer using the SQL utility because
depending on when the callback was invoked, the client_id could change.
m_client_id is set in the constructor and that reference will not change
depending on when the callback is invoked.
Diffstat (limited to 'Userland/Services/RequestServer/GeminiRequest.cpp')
0 files changed, 0 insertions, 0 deletions