Issue 111 in sqljet: IF NOT EXISTS support in CREATE TABLE/INDEX

23 views
Skip to first unread message

codesite...@google.com

unread,
Sep 25, 2009, 9:57:54 PM9/25/09
to sql...@googlegroups.com
Status: Accepted
Owner: sergey.scherbina
Labels: Type-Enhancement Priority-Medium

New issue 111 by sergey.scherbina: IF NOT EXISTS support in CREATE
TABLE/INDEX
http://code.google.com/p/sqljet/issues/detail?id=111

Currently IF NOT EXISTS is just ignored and if table already exists there
will be thrown exception. I suppose that there should be more implicit
behavior without exception (for IF NOT EXISTS using only, of course).

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Sep 25, 2009, 10:01:55 PM9/25/09
to sql...@googlegroups.com
Updates:
Labels: Milestone-Release1.0.1

Comment #1 on issue 111 by sergey.scherbina: IF NOT EXISTS support in
CREATE TABLE/INDEX
http://code.google.com/p/sqljet/issues/detail?id=111

(No comment was entered for this change.)

codesite...@google.com

unread,
Sep 25, 2009, 11:31:18 PM9/25/09
to sql...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 111 by sergey.scherbina: IF NOT EXISTS support in
CREATE TABLE/INDEX
http://code.google.com/p/sqljet/issues/detail?id=111

Committed revision 630 (trunk).

Now if IF NOT EXISTS used in CREATE TABLE/INDEX and table already exists
(even with
other structure) then exception will not be thrown but instead will be just
returned
existed table's definition.

I offer to include this commit into current branche/1.0.x

Reply all
Reply to author
Forward
0 new messages