| Author |
Message |
|
| Guest |
Posted: Tue Sep 23, 2008 4:02 pm |
|
|
|
Guest
|
Looks like a bug to me:
%% @doc Create a a number of database connections in the pool.
make_connection(PoolSize, PoolId, Database, Hostname, Port,
Username, Password, Encoding, LinkConnections) ->
if PoolSize > 0 ->
connect(PoolId, Hostname, Port, Username, Password,
Database,
Encoding, LinkConnections),
make_connection(PoolSize-1, PoolId, Database, Hostname,
Port,
Username, Password, Encoding,
LinkConnections);
true ->
ok
end.
But the connect/8 has the Reconnect parameter as last parameter, it
should actually call connect/9?
Found this, when I tries to figure out, how to disconnect (and make a
new connection). I have two databases, which have exactly the same
structure, but different data (different instruments). Thus pool_id
would? work nicely on the erlydb level, but on the erlyweb level I
cannot change the pool_id/database ... Any changes to have an extra
parameter for that? Should I hack it in for my own use?
regards
Jouni
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 23, 2008 4:44 pm |
|
|
|
Guest
|
On Tue, Sep 23, 2008 at 9:01 AM, Joneksi <Jouni.Ryno@gmail.com> wrote:
>
> Looks like a bug to me:
> %% @doc Create a a number of database connections in the pool.
> make_connection(PoolSize, PoolId, Database, Hostname, Port,
> Username, Password, Encoding, LinkConnections) ->
> if PoolSize > 0 ->
> connect(PoolId, Hostname, Port, Username, Password,
> Database,
> Encoding, LinkConnections),
> make_connection(PoolSize-1, PoolId, Database, Hostname,
> Port,
> Username, Password, Encoding,
> LinkConnections);
> true ->
> ok
> end.
>
> But the connect/8 has the Reconnect parameter as last parameter, it
> should actually call connect/9?
Yes, this looks like a bug. Thanks for reporting.
>
> Found this, when I tries to figure out, how to disconnect (and make a
> new connection). I have two databases, which have exactly the same
> structure, but different data (different instruments). Thus pool_id
> would? work nicely on the erlydb level, but on the erlyweb level I
> cannot change the pool_id/database ... Any changes to have an extra
> parameter for that? Should I hack it in for my own use?
You can't change the pool_id, but you can let different erlydb modules
use different pool ids. This is documented in the erlydb.erl page on
the website.
>
> regards
> Jouni
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post received from mailinglist |
|
|
| Back to top |
|
| wailian |
Posted: Tue Mar 20, 2012 2:49 am |
|
|
|
Guest
|
| One of them is the Ugg bailey button boot which has classic and uniquely designed buttons on its body to give that elegant and luxurious look. It has a fantastic look and this includes the Bailey Triplet Boot which has 3 buttons. These boots have a shaft (the upper part of the boot) which can be turned up or turned down depending upon your need. These buttons are both for style or decoration along with being functional or usable as well. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|