Author: philip
Date: Tue Dec 11 21:01:30 2012
New Revision: 1420404

URL: http://svn.apache.org/viewvc?rev=1420404&view=rev
Log:
* subversion/libsvn_wc/token-map.h
  (depth_map): Add some annotations.

* subversion/libsvn_wc/wc-queries.sql
  (STMT_HAS_SPARSE_NODES): Use annotations.

Modified:
    subversion/trunk/subversion/libsvn_wc/token-map.h
    subversion/trunk/subversion/libsvn_wc/wc-queries.sql

Modified: subversion/trunk/subversion/libsvn_wc/token-map.h
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/token-map.h?rev=1420404&r1=1420403&r2=1420404&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/token-map.h (original)
+++ subversion/trunk/subversion/libsvn_wc/token-map.h Tue Dec 11 21:01:30 2012
@@ -55,11 +55,11 @@ static const svn_token_map_t presence_ma
 
 /* The subset of svn_depth_t used in the database. */
 static const svn_token_map_t depth_map[] = {
-  { "unknown", svn_depth_unknown },
+  { "unknown", svn_depth_unknown }, /* MAP_DEPTH_UNKNOWN */
   { "empty", svn_depth_empty },
   { "files", svn_depth_files },
   { "immediates", svn_depth_immediates },
-  { "infinity", svn_depth_infinity },
+  { "infinity", svn_depth_infinity }, /* MAP_DEPTH_INFINITY */
   { NULL }
 };
 

Modified: subversion/trunk/subversion/libsvn_wc/wc-queries.sql
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc-queries.sql?rev=1420404&r1=1420403&r2=1420404&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc-queries.sql (original)
+++ subversion/trunk/subversion/libsvn_wc/wc-queries.sql Tue Dec 11 21:01:30 
2012
@@ -1298,7 +1298,7 @@ WHERE wc_id = ?1
        OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
   AND op_depth = 0
   AND (presence IN (MAP_SERVER_EXCLUDED, MAP_EXCLUDED)
-        OR depth NOT IN ('infinity', MAP_UNKNOWN))
+        OR depth NOT IN (MAP_DEPTH_INFINITY, MAP_DEPTH_UNKNOWN))
   AND file_external IS NULL
 LIMIT 1
 


Reply via email to