Commits

Anonymous committed b8469ab

convert database field to utf8 beforehand

  • Participants
  • Parent commits 1d998d6

Comments (0)

Files changed (1)

File src/emongo_pool.erl

     Pool = #pool{id = PoolId,
                  host = Host,
                  port = Port,
-                 database = Database,
+                 database = unicode:characters_to_binary(Database),
                  size = Size
                 },
     NewPool = do_open_connections(Pool),