Skip Menu |

This queue is for tickets about the Apache-Session CPAN distribution.

Report information
The Basics
Id: 21136
Status: resolved
Priority: 0/
Queue: Apache-Session

People
Owner: Nobody in particular
Requestors: tadamo [...] buffalo.edu
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 1.90



Subject: Apache::Session::Store::Oracle table name
Date: Tue, 22 Aug 2006 16:40:46 -0400
To: <bug-Apache-Session [...] rt.cpan.org>
From: Tom Adamo <tadamo [...] buffalo.edu>
Can Apache::Session::Store::Oracle be changed to use the $Apache::Session::Store::DBI::TableName variable provided in Apache::Session::Store::DBI? It currently has the table name 'sessions' in the SQL statement it uses. I would like it to use $self->{table_name} so that I can use any schema/table that I need. 72c72 < SELECT a_session FROM sessions WHERE id = ? FOR UPDATE}); --- Show quoted text
> SELECT a_session FROM } . $self->{table_name} . qq{ WHERE id =
? FOR UPDATE}); Thanks for the help! -- Tom Adamo
From: tadamo [...] buffalo.edu
Also, It seems that the following line should be added to the connection method (similar to how it is in Apache::Session::Store::MySQL): $self->{'table_name'} = $session->{args}->{TableName} || $Apache::Session::Store::DBI::TableName; 31,32d30 < < $self->{'table_name'} = $session->{args}->{TableName} || $Apache::Session::Store::DBI::TableName; 74c72 < SELECT a_session FROM } . $self->{'table_name'} . qq{ WHERE id = ? FOR UPDATE}); --- Show quoted text
> SELECT a_session FROM sessions WHERE id = ? FOR UPDATE});
On Tue Aug 22 16:41:30 2006, tadamo@buffalo.edu wrote: Show quoted text
> Can Apache::Session::Store::Oracle be changed to use the > $Apache::Session::Store::DBI::TableName variable provided in > Apache::Session::Store::DBI? It currently has the table name > 'sessions' in > the SQL statement it uses. I would like it to use $self->{table_name} > so > that I can use any schema/table that I need. > > > > 72c72 > < SELECT a_session FROM sessions WHERE id = ? FOR > UPDATE}); > ---
> > SELECT a_session FROM } . $self->{table_name} . qq{
> WHERE id = > ? FOR UPDATE}); > > > > > Thanks for the help! > >
Five years passed but no action at all. What the problem to take suggested patch?
This ticket should be resolved. It was fixed in 3d6d6c4.