Checkout
glasser
committed
on 27 Nov 07
Followup to r28073: set the case-sensitivity pragma at connection
time, not database initialization time.

(Note, by the way, that in additi… Show more
Followup to r28073: set the case-sensitivity pragma at connection

time, not database initialization time.

(Note, by the way, that in addition to making the (path LIKE "foo/%")

queries correct, it also allows the sqlite query optimization to

transform them into (path >= "foo/" AND path < "foo0") and use the

index.  Correctness and efficiency: two great tastes that taste great

together!)

[ Note from the future: perhaps I shouldn't brag about correctness in

 revisions that don't typecheck...  see r28081. ]

* subversion/libsvn_fs_util/sqlite-util.c

 (schema_create_sql): Don't make LIKEs case-sensitive here...

 (svn_fs__sqlite_open): ... do it here instead.

Show less