X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?UTF-8?B?UmVuw6kgQmVyYmVy?= Subject: Re: [bug] Something fishy going on with sqlite3... Date: Thu, 15 Mar 2012 16:33:00 -0600 Lines: 58 Message-ID: References: <87aa3hd4a5 DOT fsf AT Rainer DOT invalid> <8762e5d3le DOT fsf AT Rainer DOT invalid> <871uotd0ub DOT fsf AT Rainer DOT invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 In-Reply-To: <871uotd0ub.fsf@Rainer.invalid> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 3/15/2012 3:13 PM, Achim Gratz wrote: >> sqlite> .schema two >> CREATE TABLE two ( >> id INTEGER NOT NULL, >> name CHAR (64) NOT NULL >> ); >> >> No access denied. The file test is created in the same directory, also >> .sqlite_history . > > In case it wasn't clear in my first posting, I can create a new table > (not marked TEMPORARY) just fine. You quoted the output of command .schema, not the table creation which used 'create TEMP TABLE ...' Let's try again, no file this time: $ sqlite3 SQLite version 3.7.3 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> create TEMP TABLE two ( ...> id INTEGER NOT NULL, ...> name CHAR (64) NOT NULL ...> ); sqlite> sqlite> .databases seq name file --- --------------- ---------------------------------------------------------- 0 main 1 temp sqlite> sqlite> .schema two CREATE TABLE two ( id INTEGER NOT NULL, name CHAR (64) NOT NULL ); The command .schema was just for showing that the operation not only succeeded, but didn't cause any error. > Before or after getting the "access > denied" error I can create "real" tables as much as I want, it is only > the temporary ones that give trouble and only when they are set to go to > files, not memory. How do you set them to go into files? Are you using '.backup temp ' and 'dump ..." after creating those tables? -- René Berber -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple