Skip to content

Commit

Permalink
erlydb:code_gen/3 should be called instead of code_gen/2 because feed…
Browse files Browse the repository at this point in the history
…ing undefined

to Options list will cause an exception in get_pools/1.
  • Loading branch information
haoboy committed Oct 2, 2007
1 parent 176bcf0 commit 62b6a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/erlydb/erlydb_test.erl
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ erlydb_psql_init() ->


code_gen(Database) -> code_gen(Database) ->
erlydb:code_gen(Database, [language, project, developer, musician, employee, erlydb:code_gen(Database, [language, project, developer, musician, employee,
person, customer, store, item]). person, customer, store, item], []).


test() -> test() ->
test(mysql). test(mysql).
Expand Down

0 comments on commit 62b6a26

Please sign in to comment.