Permalink
Browse files

Pack null atom

  • Loading branch information...
Farruco Sanjurjo
Farruco Sanjurjo committed Sep 25, 2012
1 parent 1303558 commit 4d5e431b998ef2bbdb2ab14921fc7d321abfa44b
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/db_adapters/boss_db_adapter_mysql.erl
@@ -382,6 +382,8 @@ pack_datetime(DateTime) ->
pack_now(Now) -> pack_datetime(calendar:now_to_datetime(Now)).
+pack_value(null) ->
+ "null";
pack_value(undefined) ->
"null";
pack_value(V) when is_binary(V) ->

0 comments on commit 4d5e431

Please sign in to comment.