Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 6588 invoked from network); 13 Dec 2010 23:08:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Dec 2010 23:08:22 -0000 Received: (qmail 12215 invoked by uid 500); 13 Dec 2010 23:08:21 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 12181 invoked by uid 500); 13 Dec 2010 23:08:21 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 12174 invoked by uid 99); 13 Dec 2010 23:08:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 23:08:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 23:08:21 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBDN81X0006657 for ; Mon, 13 Dec 2010 23:08:01 GMT Message-ID: <10769090.101591292281681109.JavaMail.jira@thor> Date: Mon, 13 Dec 2010 18:08:01 -0500 (EST) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4943) TRUNCATE TABLE docs should state that it doesn't work for temporary tables In-Reply-To: <22332894.60261291998061781.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971069#action_12971069 ] Dag H. Wanvik commented on DERBY-4943: -------------------------------------- Backported fix to 10.7 branch as svn 1045415. > TRUNCATE TABLE docs should state that it doesn't work for temporary tables > -------------------------------------------------------------------------- > > Key: DERBY-4943 > URL: https://issues.apache.org/jira/browse/DERBY-4943 > Project: Derby > Issue Type: Bug > Components: Documentation > Affects Versions: 10.7.1.1, 10.7.1.2, 10.8.0.0 > Reporter: Dag H. Wanvik > Assignee: Dag H. Wanvik > Priority: Minor > Fix For: 10.8.0.0 > > Attachments: derby-4943-a.diff, rrefsqljtruncatetable.html > > > ij> declare global temporary table t(i int) on commit preserve rows not logged; > 0 rows inserted/updated/deleted > ij> insert into session.t values 1,2,3,4,5,6,7,8,9,10; > 10 rows inserted/updated/deleted > ij> truncate table session.t; > ERROR 42995: The requested function does not apply to global temporary tables. > This limitation is not documented presently. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.