1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Simplify the BTree interface by shortening names. Added two new methods

for accessing the current filename and for changing the name of the
database file. (CVS 900)

FossilOrigin-Name: 185d8dc8d0c26cef36aeba6992823e5124af4056
This commit is contained in:
drh
2003-04-06 20:44:45 +00:00
parent a73af533de
commit 73509eee84
7 changed files with 195 additions and 126 deletions

View File

@@ -271,7 +271,7 @@ int sqliteOsFileExists(const char *zFilename){
/*
** Change the name of an existing file.
*/
int sqliteOsRename(const char *zOldName, const char *zNewName){
int sqliteOsFileRename(const char *zOldName, const char *zNewName){
#if OS_UNIX
if( link(zOldName, zNewName) ){
return SQLITE_ERROR;