Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 27056 invoked from network); 20 Apr 2005 16:27:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Apr 2005 16:27:30 -0000 Received: (qmail 52020 invoked by uid 500); 20 Apr 2005 07:21:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 51980 invoked by uid 500); 20 Apr 2005 07:21:33 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 51960 invoked by uid 99); 20 Apr 2005 07:21:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 20 Apr 2005 00:21:33 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 112002DD for ; Wed, 20 Apr 2005 09:21:31 +0200 (CEST) Message-ID: <509305744.1113981691068.JavaMail.jira@ajax.apache.org> Date: Wed, 20 Apr 2005 09:21:31 +0200 (CEST) From: =?UTF-8?Q?=C3=98ystein_Gr=C3=B8vlen_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-230) "Schema already exists" when creating a table Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "Schema already exists" when creating a table --------------------------------------------- Key: DERBY-230 URL: http://issues.apache.org/jira/browse/DERBY-230 Project: Derby Type: Bug Components: SQL =20 Versions: 10.0.2.0, 10.0.2.1, 10.0.2.2, 10.1.0.0 =20 Reporter: =D8ystein Gr=F8vlen Attachments: Main.java When running a multithreaded program where several threads in parallell cre= ate tables in a schema that is not explicitly created, one often get the fo= llowing exception: ERROR X0Y68: Schema 'TESTSCHEMA' already exists. at org.apache.derby.iapi.error.StandardException.newException(StandardE= xception.java:322) at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDescri= ptorException(DataDictionaryImpl.java:1512) at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptorNo= w(DataDictionaryImpl.java:1496) at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(D= ataDictionaryImpl.java:1478) at org.apache.derby.impl.sql.execute.CreateSchemaConstantAction.execute= ConstantAction(CreateSchemaConstantAction.java:147) at org.apache.derby.impl.sql.execute.DDLConstantAction.getSchemaDescrip= torForCreate(Unknown Source) at org.apache.derby.impl.sql.execute.CreateTableConstantAction.executeC= onstantAction(CreateTableConstantAction.java:213) at org.apache.derby.impl.sql.execute.MiscResultSet.open(MiscResultSet.j= ava:56) at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPr= eparedStatement.java:366) at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStat= ement.java:1108) at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.jav= a:517) at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.jav= a:475) at derbytest.Main$CreateTable.run(Main.java:42) at java.lang.Thread.run(Thread.java:595) A program that reproduces this bug will be attached. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira