mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-16 23:02:26 +03:00
Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024)
FossilOrigin-Name: d86f18a4277ebffb644ba2e574e0b697c8bbf8e4
This commit is contained in:
10
src/build.c
10
src/build.c
@@ -22,7 +22,7 @@
|
||||
** COMMIT
|
||||
** ROLLBACK
|
||||
**
|
||||
** $Id: build.c,v 1.382 2006/01/18 16:51:35 danielk1977 Exp $
|
||||
** $Id: build.c,v 1.383 2006/01/24 12:09:19 danielk1977 Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@@ -3157,10 +3157,10 @@ void sqlite3Reindex(Parse *pParse, Token *pName1, Token *pName2){
|
||||
assert( pName1->z );
|
||||
pColl = sqlite3FindCollSeq(db, ENC(db), (char*)pName1->z, pName1->n, 0);
|
||||
if( pColl ){
|
||||
char *z = sqliteStrNDup((const char *)pName1->z, pName1->n);
|
||||
if( z ){
|
||||
reindexDatabases(pParse, z);
|
||||
sqliteFree(z);
|
||||
char *zColl = sqliteStrNDup((const char *)pName1->z, pName1->n);
|
||||
if( zColl ){
|
||||
reindexDatabases(pParse, zColl);
|
||||
sqliteFree(zColl);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user