Ferenc Engard wrote:

> Here is a log when the object is not found:
>
> [Tue Mar  5 15:30:18 2002] [debug] mod_midgard.c(1303): [client
> 80.98.22.96] midgard_translate_handler(latin1,
> http://www.informed.hu:8001/informed/felvitel/)
> [Tue Mar  5 15:30:18 2002] [debug] select_db.h(67): [client 80.98.22.96]
> Midgard: switching to midgard
> http://www.informed.hu:8001/informed/felvitel/ maps to host 14 in SG 1

OK, so the SG is changed at a later point.

> Now it seems that consequently it returns the object when a database
> connection is reused, and fails when a new connection is created.

Hmmmm.... I wonder why it would do that. I don't know if it's an option
for you, but recent MMP+midgard-lib allow logging of MySQL failures.
Could be very informative.

As for the current mod_midgard you use (non-MMP), see attached patch.
It'll tell me what Midgard thinks the current sitegroup is as the
translation phase ends.

> PS: What does it mean 'switching to midgard'?

Means you allready have an authenticated connection to the database, and
you're just using a SELECT <databasename> to switch to it instead of
opening a brand new connection.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to