# 2001 September 27## The author disclaims copyright to this source code. In place of# a legal notice, here is a blessing:## May you do good and not evil.# May you find forgiveness for yourself and forgive others.# May you share freely, never taking more than you give.##***********************************************************************# This file implements regression tests for SQLite library. The# focus of this file is testing the CREATE UNIQUE INDEX statement,# and primary keys, and the UNIQUE constraint on table columns## $Id: unique.test,v 1.1 2001/09/27 15:11:55 drh Exp $set testdir [file dirname $argv0]source $testdir/tester.tcl# Try to create a table with two primary keys.# (This is allowed in SQLite even that it is not valid SQL)#do_test unique-1.1 { catchsql { CREATE TABLE t1( a int PRIMARY KEY, b int PRIMARY KEY, c text ); }} {0 {}}finish_test

This page was generated in about
0.154s by
Fossil 2.8 [7b0dbe8079] 2019-02-20 22:28:24