summaryrefslogtreecommitdiff
path: root/src/char_sql/int_party.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-20 15:54:31 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-20 15:54:31 +0000
commitb3fa9d27b0eb9eff5fab59a94489af6e4e317f7f (patch)
treed508952106873bb588af3c627ce7cbfa709d00d4 /src/char_sql/int_party.c
parentf8e12723d360146ebab09f61cef7d8dbb889c201 (diff)
downloadhercules-b3fa9d27b0eb9eff5fab59a94489af6e4e317f7f.tar.gz
hercules-b3fa9d27b0eb9eff5fab59a94489af6e4e317f7f.tar.bz2
hercules-b3fa9d27b0eb9eff5fab59a94489af6e4e317f7f.tar.xz
hercules-b3fa9d27b0eb9eff5fab59a94489af6e4e317f7f.zip
GUILDCACHE
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@657 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_party.c')
-rw-r--r--src/char_sql/int_party.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c
index a03936744..ecc252185 100644
--- a/src/char_sql/int_party.c
+++ b/src/char_sql/int_party.c
@@ -17,10 +17,8 @@ int mapif_party_broken(int party_id,int flag);
int party_check_empty(struct party *p);
int mapif_parse_PartyLeave(int fd,int party_id,int account_id);
-#ifdef FASTCHAR
#define mysql_query(_x, _y) debug_mysql_query(__FILE__, __LINE__, _x, _y)
-#endif /* FASTCHAR */
// Save party to mysql
int inter_party_tosql(int party_id,struct party *p)
{
@@ -124,7 +122,7 @@ int inter_party_tosql(int party_id,struct party *p)
int i = 0;
while (i<MAX_PARTY&&((p->member[i].account_id>0&&p->member[i].leader==0)||(p->member[i].account_id<0))) i++;
if (i<MAX_PARTY) leader_id = p->member[i].account_id;
- sprintf(tmp_sql,"INSERT DELAYED INTO `%s` (`party_id`, `name`, `exp`, `item`, `leader_id`) VALUES ('%d', '%s', '%d', '%d', '%d')",
+ sprintf(tmp_sql,"INSERT INTO `%s` (`party_id`, `name`, `exp`, `item`, `leader_id`) VALUES ('%d', '%s', '%d', '%d', '%d')",
party_db, party_id, t_name, p->exp, p->item,leader_id);
if(mysql_query(&mysql_handle, tmp_sql) ) {
printf("DB server Error (inset/update `party`)- %s\n", mysql_error(&mysql_handle) );