diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-09-24 23:34:28 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-09-24 23:34:28 +0300 |
commit | fa31e3ef2321e3901d167d3654693b85313acf08 (patch) | |
tree | a0cc9c146661887ef0b1440a103484fa5684e044 /src/pubsub_db_sql.erl | |
parent | Improve namespace handling (diff) |
Deprecate jlib:integer_to_binary/1 and jlib:binary_to_integer/1
Diffstat (limited to 'src/pubsub_db_sql.erl')
-rw-r--r-- | src/pubsub_db_sql.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pubsub_db_sql.erl b/src/pubsub_db_sql.erl index a6f8888a..69b47653 100644 --- a/src/pubsub_db_sql.erl +++ b/src/pubsub_db_sql.erl @@ -134,7 +134,7 @@ boolean_to_sql(false) -> <<"0">>. timestamp_to_sql(T) -> jlib:now_to_utc_string(T). -sql_to_integer(N) -> jlib:binary_to_integer(N). +sql_to_integer(N) -> binary_to_integer(N). sql_to_boolean(B) -> B == <<"1">>. |