git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@629 54d463be-8e91-2dee-dedb-b68131a5f0ec

This commit is contained in:
ajarn 2004-12-19 04:33:35 +00:00
parent eaa4b1878a
commit 6bcd1db8cd
4 changed files with 156 additions and 146 deletions

View File

@ -1,14 +1,13 @@
Date Added Date Added
12/19 12/18
* Fixed import command in inter_athena.conf file [Ajarn]
* Fixed a few command compiling problems for TXT [Codemaster] * Fixed a few command compiling problems for TXT [Codemaster]
* Modified the main.sql to add the friend0 column; also added the upgrade_1.0.0.sql file [Codemaster] * Modified the main.sql to add the friend0 column; also added the upgrade_1.0.0.sql file [Codemaster]
* Introduced StringBuf into utils for use in building larger queries [MouseJstr] * Introduced StringBuf into utils for use in building larger queries [MouseJstr]
* tested GUILD_CACHE (reducing guild related sql traffic to 30%) in * tested GUILD_CACHE (reducing guild related sql traffic to 30%) in
prep for unleasing it on the sql using public [MouseJstr] prep for unleasing it on the sql using public [MouseJstr]
* Fixed some SQL queries crashing char server [davidsiaw] * Fixed some SQL queries crashing char server [davidsiaw]
12/18
* Added several PID GM commands, thanks to Dino9021 [nsstrunks] * Added several PID GM commands, thanks to Dino9021 [nsstrunks]
* Storage was merging items incorrectly [Mousejstr] * Storage was merging items incorrectly [Mousejstr]
* eliminated a uninitialized var when using afm maps [MouseJstr] * eliminated a uninitialized var when using afm maps [MouseJstr]

View File

@ -2954,7 +2954,11 @@ void sql_config_read(const char *cfgName){ /* Kalaspuff, to get login_db */
}else if(strcmpi(w1,"lowest_gm_level")==0){ }else if(strcmpi(w1,"lowest_gm_level")==0){
lowest_gm_level = atoi(w2); lowest_gm_level = atoi(w2);
printf("set lowest_gm_level : %s\n",w2); printf("set lowest_gm_level : %s\n",w2);
//support the import command, just like any other config
}else if(strcmpi(w1,"import")==0){
sql_config_read(w2);
} }
} }
fclose(fp); fclose(fp);
printf("reading configure done.....\n"); printf("reading configure done.....\n");

View File

@ -1741,9 +1741,13 @@ void sql_config_read(const char *cfgName){ /* Kalaspuff, to get login_db */
else if (strcmpi(w1, "loginlog_db") == 0) { else if (strcmpi(w1, "loginlog_db") == 0) {
strcpy(loginlog_db, w2); strcpy(loginlog_db, w2);
} }
} //support the import command, just like any other config
fclose(fp); else if(strcmpi(w1,"import")==0){
printf("reading configure done.....\n"); sql_config_read(w2);
}
}
fclose(fp);
printf("reading configure done.....\n");
} }

View File

@ -2116,6 +2116,9 @@ int sql_config_read(char *cfgName)
strcpy(log_db_pw, w2); strcpy(log_db_pw, w2);
} else if(strcmpi(w1,"log_db_port")==0) { } else if(strcmpi(w1,"log_db_port")==0) {
log_db_port = atoi(w2); log_db_port = atoi(w2);
//support the import command, just like any other config
} else if(strcmpi(w1,"import")==0){
sql_config_read(w2);
} }
} }
fclose(fp); fclose(fp);