couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxepal <...@git.apache.org>
Subject [GitHub] couchdb-couch pull request: Add IS_OLD_RECORD macro
Date Tue, 16 Dec 2014 21:00:30 GMT
Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch/pull/23#discussion_r21931509
  
    --- Diff: include/couch_db.hrl ---
    @@ -23,6 +23,8 @@
     -define(JSON_ENCODE(V), couch_util:json_encode(V)).
     -define(JSON_DECODE(V), couch_util:json_decode(V)).
     
    +-define(IS_OLD_RECORD(V, R), (tuple_size(V) /= tuple_size(R))).
    --- End diff --
    
    Sounds fair.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message