1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Fix an incorrect assert() on the sqlite3FileSuffix3() function.

FossilOrigin-Name: 24db54bd49ed91c74a9797faca02df2d39553240
This commit is contained in:
drh
2012-01-05 18:33:40 +00:00
parent e349519f1e
commit e025d9a096
3 changed files with 8 additions and 8 deletions

View File

@@ -1176,7 +1176,7 @@ int sqlite3AbsInt32(int x){
** test.db-mj7f3319fa => test.9fa
*/
void sqlite3FileSuffix3(const char *zBaseFilename, char *z){
assert( zBaseFilename[strlen(zBaseFilename)+1]==0 );
assert( z[strlen(z)+1]==0 ); /* z[] has no query parameters */
#if SQLITE_ENABLE_8_3_NAMES<2
if( sqlite3_uri_boolean(zBaseFilename, "8_3_names", 0) )
#endif