Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Arma_3_Extensions
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
DesolationREDUX
Arma_3_Extensions
Commits
e1a1913c
Commit
e1a1913c
authored
Jun 17, 2018
by
Legodev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIXED: Typo in Tablename clan_member
parent
45d430c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Redux Extension/Source/mysql/mysql.cpp
Redux Extension/Source/mysql/mysql.cpp
+8
-8
No files found.
Redux Extension/Source/mysql/mysql.cpp
View file @
e1a1913c
...
...
@@ -765,16 +765,16 @@ std::string mysql_db_handler::loadPlayerGroups(std::string playeruuid) {
"SELECT HEX(`clan`.`uuid`) AS 'clan_uuid', HEX(`founder`.`uuid`) AS 'founder_uuid', `founder`.`steamid` AS 'founder_steamid', "
"`founder`.`lastnick` AS 'founder_nick', GROUP_CONCAT("
"DISTINCT CONCAT('[
\"
', HEX(`player`.`uuid`), '
\"
,
\"
' , `player`.`steamid`, '
\"
,
\"
' , `player`.`lastnick`, '
\"
,', "
"`clan_mem
eber`.`rank`, ',
\"
', `clan_meme
ber`.`comment`, '
\"
]') "
"`clan_mem
ber`.`rank`, ',
\"
', `clan_mem
ber`.`comment`, '
\"
]') "
"SEPARATOR ','"
") AS 'clan_member'"
") AS 'clan_member
_list
'"
"FROM `clan` LEFT JOIN `player` AS `founder` ON `clan`.`founder_uuid` = `founder`.`uuid` "
"LEFT JOIN `clan_mem
eber` ON `clan`.`uuid` = `clan_meme
ber`.`clan_uuid` "
"LEFT JOIN `player` ON `clan_mem
e
ber`.`player_uuid` = `player`.`uuid`"
"LEFT JOIN `clan_mem
ber` ON `clan`.`uuid` = `clan_mem
ber`.`clan_uuid` "
"LEFT JOIN `player` ON `clan_member`.`player_uuid` = `player`.`uuid`"
"WHERE `clan`.`uuid` IN ("
"SELECT `clan_mem
e
ber`.`clan_uuid` "
"FROM `clan_mem
e
ber` "
"WHERE `clan_mem
e
ber`.`player_uuid` = CAST(0x%s AS BINARY)"
"SELECT `clan_member`.`clan_uuid` "
"FROM `clan_member` "
"WHERE `clan_member`.`player_uuid` = CAST(0x%s AS BINARY)"
")"
"GROUP BY `clan`.`uuid`"
}
%
playeruuid
);
...
...
@@ -798,7 +798,7 @@ std::string mysql_db_handler::loadPlayerGroups(std::string playeruuid) {
row
=
mysql_fetch_row
(
result
);
if
(
printcommaone
)
{
groupinfo
+=
",
\n
"
;
groupinfo
+=
","
;
printcommaone
=
false
;
printcommatwo
=
false
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment