/ Check-in [77ac231c]
Login

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

Overview
Comment:Drop the mutex if the TSD key allocation fails. Ticket #1585. (CVS 2880)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 77ac231c0e21c09c0b612a4e72bcc863f2c95fd3
User & Date: drh 2006-01-07 04:06:55
Context
2006-01-07
13:21
In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881) check-in: 23b587b0 user: danielk1977 tags: trunk
04:06
Drop the mutex if the TSD key allocation fails. Ticket #1585. (CVS 2880) check-in: 77ac231c user: drh tags: trunk
2006-01-06
22:11
Fix bugs in test scripts that came of of sse testing. (CVS 2879) check-in: 22bf1a2f user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_unix.c.

  1674   1674   
  1675   1675     if( !keyInit ){
  1676   1676       sqlite3OsEnterMutex();
  1677   1677       if( !keyInit ){
  1678   1678         int rc;
  1679   1679         rc = pthread_key_create(&key, deleteTsd);
  1680   1680         if( rc ){
         1681  +        sqlite3OsLeaveMutex();
  1681   1682           return 0;
  1682   1683         }
  1683   1684         keyInit = 1;
  1684   1685       }
  1685   1686       sqlite3OsLeaveMutex();
  1686   1687     }
  1687   1688