Fossil SCM

Corrected a difference in the case of a SQLite table name. The DBMS doesn't care, but it risks missing relevant references to this table when searching with a case-sensitive text editor.

wyoung 2022-10-27 15:13 trunk
Commit 1b1887cb69da77e14d6b5c214208f480e303cabe67489654ec6f41d82470a2d1
1 file changed +1 -1
+1 -1
--- src/xfer.c
+++ src/xfer.c
@@ -2068,11 +2068,11 @@
20682068
db_multi_exec(
20692069
"CREATE TEMP TABLE IF NOT EXISTS uv_tosend("
20702070
" name TEXT PRIMARY KEY," /* Name of file to send client->server */
20712071
" mtimeOnly BOOLEAN" /* True to only send mtime, not content */
20722072
") WITHOUT ROWID;"
2073
- "REPLACE INTO uv_toSend(name,mtimeOnly)"
2073
+ "REPLACE INTO uv_tosend(name,mtimeOnly)"
20742074
" SELECT name, 0 FROM unversioned WHERE hash IS NOT NULL;"
20752075
);
20762076
}
20772077
20782078
/*
20792079
--- src/xfer.c
+++ src/xfer.c
@@ -2068,11 +2068,11 @@
2068 db_multi_exec(
2069 "CREATE TEMP TABLE IF NOT EXISTS uv_tosend("
2070 " name TEXT PRIMARY KEY," /* Name of file to send client->server */
2071 " mtimeOnly BOOLEAN" /* True to only send mtime, not content */
2072 ") WITHOUT ROWID;"
2073 "REPLACE INTO uv_toSend(name,mtimeOnly)"
2074 " SELECT name, 0 FROM unversioned WHERE hash IS NOT NULL;"
2075 );
2076 }
2077
2078 /*
2079
--- src/xfer.c
+++ src/xfer.c
@@ -2068,11 +2068,11 @@
2068 db_multi_exec(
2069 "CREATE TEMP TABLE IF NOT EXISTS uv_tosend("
2070 " name TEXT PRIMARY KEY," /* Name of file to send client->server */
2071 " mtimeOnly BOOLEAN" /* True to only send mtime, not content */
2072 ") WITHOUT ROWID;"
2073 "REPLACE INTO uv_tosend(name,mtimeOnly)"
2074 " SELECT name, 0 FROM unversioned WHERE hash IS NOT NULL;"
2075 );
2076 }
2077
2078 /*
2079

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button