# 2007 May 10
#
# 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.
#
#***********************************************************************
#
# $Id: fuzz_common.tcl,v 1.2 2009/01/05 19:36:30 drh Exp $
# Fuzzy generation primitives:
#
# Literal
# UnaryOp
# BinaryOp
# Expr
# Table
# Select
# Insert
#
# Returns a string representing an SQL literal.
#
# Returns a string containing an SQL unary operator (e.g. "+" or "NOT").
#
# Returns a string containing an SQL binary operator (e.g. "*" or "/").
#
# Return the complete text of an SQL expression.
#
set ::ExprDepth 0
# Return a valid table name.
#
set ::TableList
# Return one of:
#
# "SELECT DISTINCT", "SELECT ALL" or "SELECT"
#
# Return a result set for a SELECT statement.
#
set ::SelectDepth 0
set ::ColumnList
# Return a SELECT statement.
#
# If boolean parameter $isExpr is set to true, make sure the
# returned SELECT statement returns a single column of data.
#
# Generate and return a fuzzy INSERT statement.
#
# Generate and return a fuzzy UPDATE statement.
#
# Return an identifier. This just chooses randomly from a fixed set
# of strings.
########################################################################
set ::log
#
# Usage: do_fuzzy_test <testname> ?<options>?
#
# -template
# -errorlist
# -repeats
#