I removed the requirement for all drivers to implement
get_default_pool_id(). It should work now.

By the way, does anybody know if the psql driver supports multiple
connection pools similar to the MySQL driver? After briefly reading
the code, it didn't seem to be the case.

Yariv

On Nov 19, 2007 11:18 PM, David King <[EMAIL PROTECTED]> wrote:
>
> Looks like erlydb_psql is broken too
>
> ** exited: {undef,[{erlydb_psql,get_default_pool_id,[]},
>                     {erlydb,'-code_gen/4-fun-3-',3},
>                     {lists,foldl,3},
>                     {erlydb,code_gen,4},
>                     {erlyweb_compile,compile,2},
>                     {erl_eval,do_apply,5},
>                     {shell,exprs,6},
>                     {shell,eval_loop,3}]} **
>
>
> On 19 Nov 2007, at 23:15, Yariv Sadan wrote:
>
> >
> > Yeah... it's due to my multiple db support changes. It's an easy fix
> > -- just define the missing function. I'll do it.
> >
> > On Nov 19, 2007 2:06 PM, David King <[EMAIL PROTECTED]> wrote:
> >>
> >> Is erlydb_mnesia in HEAD broken?
> >>
> >> debug:erlyweb_compile:110: Generating ErlyDB code for models: [...]
> >> ** exited: {undef,[{erlydb_mnesia,get_default_pool_id,[]},
> >>                     {erlydb,'-code_gen/4-fun-3-',3},
> >>                     {lists,foldl,3},
> >>                     {erlydb,code_gen,4},
> >>                     {erlyweb_compile,compile,2},
> >>                     {erl_eval,do_apply,5},
> >>                     {shell,exprs,6},
> >>                     {shell,eval_loop,3}]} **
> >>
> >> =ERROR REPORT==== 19-Nov-2007::13:53:30 ===
> >> Error in process <0.43.0> on node '[EMAIL PROTECTED]' with exit value:
> >> {undef,
> >> [{erlydb_mnesia,get_default_pool_id,[]},{erlydb,'-code_gen/4-fun-3-',
> >> 3},{lists,foldl,3},{erlydb,code_gen,4},{erlyweb_compile,compile,2},
> >> {erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}
> >>
> >>>
> >>
> >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to