/ Check-in [26a4e7e7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix for ticket #132: make the working directory the last choice for where to write temporary files, not the first choice. (CVS 712)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 26a4e7e7a3eee62c170ce264cb964a92bc7f52c9
User & Date: drh 2002-08-14 00:10:44
Context
2002-08-14
03:03
Disable sorting by indices if there is a COLLATE subclause in the ORDER BY clause. (CVS 713) check-in: 2438da79 user: drh tags: trunk
00:10
Fix for ticket #132: make the working directory the last choice for where to write temporary files, not the first choice. (CVS 712) check-in: 26a4e7e7 user: drh tags: trunk
00:08
Update documentation to better explain the typelessness of SQLite and to describe the distinction between text and numeric data. (CVS 711) check-in: 4ff0f578 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os.c.

   394    394   /*
   395    395   ** Create a temporary file name in zBuf.  zBuf must be big enough to
   396    396   ** hold at least SQLITE_TEMPNAME_SIZE characters.
   397    397   */
   398    398   int sqliteOsTempFileName(char *zBuf){
   399    399   #if OS_UNIX
   400    400     static const char *azDirs[] = {
   401         -     ".",
   402    401        "/var/tmp",
   403    402        "/usr/tmp",
   404    403        "/tmp",
          404  +     ".",
   405    405     };
   406    406     static char zChars[] =
   407    407       "abcdefghijklmnopqrstuvwxyz"
   408    408       "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
   409    409       "0123456789";
   410    410     int i, j;
   411    411     struct stat buf;