Issue information

Issue ID
#584
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Dec 10, 2007 22:14
Last Post
Hercules Elf Bot
Dec 10, 2007 22:14
Confirmation
N/A

Hercules Elf Bot - Dec 10, 2007 22:14

Originally posted by [b]Skullbock[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=584

Hi all,
i'm not sure if it is a "bug", but it is surely a "forgotten feature"

The query_sql script command doesn't perform the query on the log dbs if they are stored in a different db (other than the main one).

i have looked into the src code and i have found that it uses the mmysql_handle to perform the query... so the logdb_handle is not used.

In my opinion 2 things could be done:

a) Add a different query script (like query_sql_log_db) for the logs db
(IMG:style_emoticons/default/cool.gif) Merge all the queries into the query_sql function, but this could be harder...


Hoping that this could be helpful,

Skullbock