Alexander Skwar wrote on Wed, Aug 04, 2010 at 17:33:23 +0200:
> In ./subversion/libsvn_fs_fs/rep-cache-db.h, there's:
> 
> #define rep_cZche_db_sql \
>   "pragma auto_vacuum = 1; "\
>   "create table rep_cache (hash text not null primary key, "\
> 
> "rep_cZche_db_sql"? cZche? Is that correct?
> 
> When I replace "rep_cZche_db_sql" with "REP_CACHE_DB_SQL" (ie. all upper
> case and "CACHE" instead of "CZCHE"), then I can compile Subversion.
> 
> Is that supposed to be so?
> 

No.  That file is auto-generated from libsvn_fs_fs/*.sql (IIRC, by
build/transform_sql.py).

(And, apparently, the autogeneration mechanism has changed, since in trunk I get

% grep REP_CACHE_DB_SQL .../subversion/libsvn_fs_fs/*h
src/svn/trunk.d/subversion/libsvn_fs_fs/rep-cache-db.h:#define 
REP_CACHE_DB_SQL_DECLARE_STATEMENTS(varname) \

.)

Reply via email to