diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-21 18:40:29 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-21 18:40:29 +0000 |
commit | 6f3bd3a74c8a9e983f3a5748ecaaa729ebeb1c3e (patch) | |
tree | a19adfa1a31ad5a5b6777cfcff2d12b7f9990723 /src/char_sql/int_homun.c | |
parent | da8099a53f9edd008d3b9b9a206367728b6a94b4 (diff) | |
download | hercules-6f3bd3a74c8a9e983f3a5748ecaaa729ebeb1c3e.tar.gz hercules-6f3bd3a74c8a9e983f3a5748ecaaa729ebeb1c3e.tar.bz2 hercules-6f3bd3a74c8a9e983f3a5748ecaaa729ebeb1c3e.tar.xz hercules-6f3bd3a74c8a9e983f3a5748ecaaa729ebeb1c3e.zip |
- Removed the TURBO socket mechanism - it was in fact just using a variable to cache a few arithmetic operations (premature optimization)
- Since the fifohead mess is gone, fixed leftover bad code structuring
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10599 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_homun.c')
-rw-r--r-- | src/char_sql/int_homun.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/char_sql/int_homun.c b/src/char_sql/int_homun.c index 2260ddf20..acee4f823 100644 --- a/src/char_sql/int_homun.c +++ b/src/char_sql/int_homun.c @@ -12,17 +12,6 @@ struct s_homunculus *homun_pt; -#ifndef SQL_DEBUG - -#define mysql_query(_x, _y) mysql_real_query(_x, _y, strlen(_y)) //supports ' in names and runs faster [Kevin] - -#else - -#define mysql_query(_x, _y) debug_mysql_query(__FILE__, __LINE__, _x, _y) - -#endif - - int inter_homunculus_sql_init(void){ //memory alloc homun_pt = (struct s_homunculus*)aCalloc(sizeof(struct s_homunculus), 1); |