Re: Selecting backend based on the user connecting
> You can leave out the read_query_result() and its backend_ndx = 0 and it will keep
> the connection once it is selected.
Hmm, ok, so I can do something like this in read_query() ??
global variable this_is_first_query = true
if (this_is_first_query) {
look_at_username_and_pick_proper_backend()
this_is_first_query = false
}
so I only do the lookup once for each connection?
> Perhaps I should cut down the tutorial an split it into smaller pieces to show the
> steps.
That would be great.
Subject
Views
Written By
Posted
3506
August 13, 2007 03:42AM
2741
August 13, 2007 04:05AM
2573
August 13, 2007 04:11AM
2479
August 13, 2007 04:27AM
2488
August 13, 2007 05:29AM
2456
August 13, 2007 06:17AM
2643
August 20, 2007 05:47AM
2585
August 20, 2007 09:06AM
2609
August 22, 2007 07:45AM
2520
August 13, 2007 04:16AM
2518
August 13, 2007 04:25AM
Re: Selecting backend based on the user connecting
2314
August 13, 2007 05:57AM
2408
August 13, 2007 06:20AM
2579
August 13, 2007 09:03AM
2324
October 11, 2007 02:31AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.