Showing preview only (4,056K chars total). Download the full file or copy to clipboard to get everything.
Repository: s3team/Squirrel
Branch: master
Commit: 96810fd96cfb
Files: 340
Total size: 3.8 MB
Directory structure:
gitextract_60nog_yi/
├── .clang-format
├── .clang-tidy
├── .devcontainer/
│ ├── Dockerfile
│ ├── devcontainer.json
│ └── reinstall-cmake.sh
├── .github/
│ ├── linters/
│ │ └── .hadolint.yaml
│ └── workflows/
│ ├── build.yml
│ ├── code-format.yml_bak
│ ├── docker-image.yml
│ ├── lint.yml
│ └── stale.yml
├── .gitignore
├── .gitmodules
├── .vscode/
│ ├── c_cpp_properties.json
│ └── settings.json
├── CMakeLists.txt
├── CODEOWNERS
├── LICENSE
├── README.md
├── data/
│ ├── config_mariadb.yml
│ ├── config_mysql.yml
│ ├── config_postgresql.yml
│ ├── config_sqlite.yml
│ ├── fuzz_root/
│ │ ├── global_data_lib_mysql
│ │ ├── global_data_lib_pqsql
│ │ ├── init_lib/
│ │ │ ├── 1.txt
│ │ │ ├── 10.txt
│ │ │ ├── 11.txt
│ │ │ ├── 12.txt
│ │ │ ├── 13.txt
│ │ │ ├── 14.txt
│ │ │ ├── 15.txt
│ │ │ ├── 16.txt
│ │ │ ├── 17.txt
│ │ │ ├── 18.txt
│ │ │ ├── 19.txt
│ │ │ ├── 2.txt
│ │ │ ├── 20.txt
│ │ │ ├── 21.txt
│ │ │ ├── 3.txt
│ │ │ ├── 4.txt
│ │ │ ├── 5.txt
│ │ │ ├── 6.txt
│ │ │ ├── 7.txt
│ │ │ ├── 8.txt
│ │ │ ├── 9.txt
│ │ │ ├── new_code
│ │ │ └── sqltest
│ │ ├── input/
│ │ │ ├── 1.txt
│ │ │ ├── 10.txt
│ │ │ ├── 11.txt
│ │ │ ├── 12.txt
│ │ │ ├── 13.txt
│ │ │ ├── 14.txt
│ │ │ ├── 15.txt
│ │ │ ├── 16.txt
│ │ │ ├── 17.txt
│ │ │ ├── 18.txt
│ │ │ ├── 19.txt
│ │ │ ├── 2.txt
│ │ │ ├── 20.txt
│ │ │ ├── 21.txt
│ │ │ ├── 22.txt
│ │ │ ├── 23.txt
│ │ │ ├── 24.txt
│ │ │ ├── 25.txt
│ │ │ ├── 26.txt
│ │ │ ├── 3.txt
│ │ │ ├── 4.txt
│ │ │ ├── 5.txt
│ │ │ ├── 6.txt
│ │ │ ├── 7.txt
│ │ │ ├── 8.txt
│ │ │ ├── 9.txt
│ │ │ ├── new1.txt
│ │ │ ├── new2.txt
│ │ │ ├── new3.txt
│ │ │ └── new4.txt
│ │ ├── mysql_init_lib/
│ │ │ ├── 1
│ │ │ ├── 10
│ │ │ ├── 100
│ │ │ ├── 1000
│ │ │ ├── 1001
│ │ │ ├── 1002
│ │ │ ├── 1003
│ │ │ ├── 1004
│ │ │ ├── 1005
│ │ │ ├── 1006
│ │ │ ├── 1007
│ │ │ ├── 1008
│ │ │ ├── 1009
│ │ │ ├── 101
│ │ │ ├── 1010
│ │ │ ├── 1011
│ │ │ ├── 1012
│ │ │ ├── 1013
│ │ │ ├── 1014
│ │ │ ├── 1015
│ │ │ ├── 1016
│ │ │ ├── 1017
│ │ │ ├── 1018
│ │ │ ├── 1019
│ │ │ ├── 102
│ │ │ ├── 1020
│ │ │ ├── 1021
│ │ │ ├── 1022
│ │ │ ├── 1023
│ │ │ ├── 1024
│ │ │ ├── 1025
│ │ │ ├── 103
│ │ │ ├── 104
│ │ │ ├── 105
│ │ │ ├── 106
│ │ │ ├── 107
│ │ │ ├── 108
│ │ │ ├── 109
│ │ │ ├── 11
│ │ │ ├── 110
│ │ │ ├── 111
│ │ │ ├── 112
│ │ │ ├── 113
│ │ │ ├── 114
│ │ │ ├── 115
│ │ │ ├── 116
│ │ │ ├── 117
│ │ │ ├── 118
│ │ │ ├── 119
│ │ │ ├── 12
│ │ │ ├── 120
│ │ │ ├── 121
│ │ │ ├── 122
│ │ │ ├── 123
│ │ │ ├── 124
│ │ │ ├── 125
│ │ │ ├── 126
│ │ │ ├── 127
│ │ │ ├── 128
│ │ │ ├── 129
│ │ │ ├── 13
│ │ │ ├── 130
│ │ │ ├── 131
│ │ │ ├── 132
│ │ │ ├── 133
│ │ │ ├── 134
│ │ │ ├── 135
│ │ │ ├── 136
│ │ │ ├── 137
│ │ │ ├── 138
│ │ │ ├── 139
│ │ │ ├── 14
│ │ │ ├── 140
│ │ │ ├── 141
│ │ │ ├── 142
│ │ │ ├── 143
│ │ │ ├── 144
│ │ │ ├── 145
│ │ │ ├── 146
│ │ │ ├── 147
│ │ │ ├── 148
│ │ │ ├── 149
│ │ │ ├── 15
│ │ │ ├── 150
│ │ │ ├── 151
│ │ │ ├── 152
│ │ │ ├── 153
│ │ │ ├── 154
│ │ │ ├── 155
│ │ │ ├── 156
│ │ │ ├── 157
│ │ │ ├── 158
│ │ │ ├── 159
│ │ │ ├── 16
│ │ │ ├── 160
│ │ │ ├── 161
│ │ │ ├── 162
│ │ │ ├── 163
│ │ │ ├── 164
│ │ │ ├── 165
│ │ │ ├── 166
│ │ │ ├── 167
│ │ │ ├── 168
│ │ │ ├── 169
│ │ │ ├── 17
│ │ │ ├── 170
│ │ │ ├── 171
│ │ │ ├── 172
│ │ │ ├── 173
│ │ │ ├── 174
│ │ │ ├── 175
│ │ │ ├── 176
│ │ │ ├── 177
│ │ │ ├── 178
│ │ │ ├── 179
│ │ │ ├── 18
│ │ │ ├── 180
│ │ │ ├── 181
│ │ │ ├── 182
│ │ │ ├── 183
│ │ │ ├── 184
│ │ │ ├── 185
│ │ │ ├── 186
│ │ │ ├── 187
│ │ │ ├── 188
│ │ │ ├── 189
│ │ │ ├── 19
│ │ │ ├── 190
│ │ │ ├── 191
│ │ │ ├── 192
│ │ │ ├── 193
│ │ │ ├── 194
│ │ │ ├── 195
│ │ │ ├── 196
│ │ │ ├── 197
│ │ │ ├── 198
│ │ │ ├── 199
│ │ │ ├── strip_mysql
│ │ │ └── strip_trigger_collect
│ │ ├── mysql_input/
│ │ │ ├── 2.txt
│ │ │ ├── 3.txt
│ │ │ ├── 4.txt
│ │ │ ├── 5.txt
│ │ │ ├── 6.txt
│ │ │ ├── 7.txt
│ │ │ ├── 8.txt
│ │ │ ├── new
│ │ │ └── z.txt
│ │ ├── pqsql_init_lib/
│ │ │ ├── 1
│ │ │ ├── 1.txt
│ │ │ ├── 2
│ │ │ ├── 2.txt
│ │ │ ├── 3
│ │ │ ├── 3.txt
│ │ │ ├── 4
│ │ │ ├── 4.txt
│ │ │ ├── 5
│ │ │ ├── 5.txt
│ │ │ ├── 6.txt
│ │ │ ├── 7.txt
│ │ │ ├── 8.txt
│ │ │ ├── init
│ │ │ ├── x1
│ │ │ └── x3
│ │ ├── pqsql_input/
│ │ │ ├── cs_is
│ │ │ ├── cs_ss
│ │ │ ├── ct_ci_in_drop
│ │ │ ├── ct_ci_ri
│ │ │ ├── ct_cv_in_sel
│ │ │ ├── ct_cv_is
│ │ │ ├── ct_cv_ss
│ │ │ ├── ct_in_alter_select
│ │ │ ├── ct_ins_drop
│ │ │ ├── ct_is_ss
│ │ │ ├── ct_is_up
│ │ │ ├── ct_rn_is
│ │ │ ├── ct_ss_ds
│ │ │ ├── ct_st_re
│ │ │ ├── ct_st_union
│ │ │ └── trigger
│ │ └── pragma
│ └── run.sh
├── lint.cmake
├── scripts/
│ ├── .gitignore
│ ├── .pylintrc
│ ├── dockers/
│ │ ├── mariadb/
│ │ │ └── Dockerfile
│ │ ├── mysql/
│ │ │ └── Dockerfile
│ │ ├── postgresql/
│ │ │ └── Dockerfile
│ │ └── sqlite/
│ │ └── Dockerfile
│ ├── noxfile.py
│ ├── pyproject.toml
│ └── utils/
│ └── run.py
├── srcs/
│ ├── custom_mutator.cc
│ ├── db.h
│ ├── db_driver.cc
│ ├── db_factory.cc
│ ├── env.h
│ ├── internal/
│ │ ├── client/
│ │ │ ├── client.cc
│ │ │ ├── client.h
│ │ │ ├── client_mysql.cc
│ │ │ ├── client_mysql.h
│ │ │ ├── client_postgresql.cc
│ │ │ ├── client_postgresql.h
│ │ │ └── test_client.cc
│ │ ├── mysql/
│ │ │ ├── include/
│ │ │ │ ├── ast.h
│ │ │ │ ├── define.h
│ │ │ │ ├── mutator.h
│ │ │ │ └── utils.h
│ │ │ ├── mysql.cc
│ │ │ ├── mysql.h
│ │ │ ├── parser/
│ │ │ │ ├── Makefile
│ │ │ │ ├── bison.y
│ │ │ │ ├── bison_parser.cpp
│ │ │ │ ├── bison_parser.h
│ │ │ │ ├── bison_parser.output
│ │ │ │ ├── flex.l
│ │ │ │ ├── flex_lexer.cpp
│ │ │ │ ├── flex_lexer.h
│ │ │ │ └── parser_typedef.h
│ │ │ └── srcs/
│ │ │ ├── ast.cpp
│ │ │ ├── mutator.cpp
│ │ │ └── utils.cpp
│ │ ├── postgresql/
│ │ │ ├── include/
│ │ │ │ ├── ast.h
│ │ │ │ ├── define.h
│ │ │ │ ├── mutator.h
│ │ │ │ └── utils.h
│ │ │ ├── parser/
│ │ │ │ ├── Makefile
│ │ │ │ ├── bison.y
│ │ │ │ ├── bison_parser.cpp
│ │ │ │ ├── bison_parser.h
│ │ │ │ ├── bison_parser.output
│ │ │ │ ├── flex.l
│ │ │ │ ├── flex_lexer.cpp
│ │ │ │ ├── flex_lexer.h
│ │ │ │ └── parser_typedef.h
│ │ │ ├── postgresql.cc
│ │ │ ├── postgresql.h
│ │ │ └── srcs/
│ │ │ ├── ast.cpp
│ │ │ ├── mutator.cpp
│ │ │ └── utils.cpp
│ │ └── sqlite/
│ │ ├── include/
│ │ │ ├── ast.h
│ │ │ ├── define.h
│ │ │ ├── mutator.h
│ │ │ └── utils.h
│ │ ├── parser/
│ │ │ ├── Makefile
│ │ │ ├── bison_parser.cpp
│ │ │ ├── bison_parser.h
│ │ │ ├── bison_parser.output
│ │ │ ├── bison_parser.y
│ │ │ ├── flex_lexer.cpp
│ │ │ ├── flex_lexer.h
│ │ │ ├── flex_lexer.l
│ │ │ └── parser_typedef.h
│ │ ├── sqlite.cc
│ │ ├── sqlite.h
│ │ └── srcs/
│ │ ├── ast.cpp
│ │ ├── mutator.cpp
│ │ └── utils.cpp
│ └── utils/
│ ├── config_validate.cc
│ └── config_validate.h
└── tests/
├── CMakeLists.txt
└── db_config_test.cc
================================================
FILE CONTENTS
================================================
================================================
FILE: .clang-format
================================================
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveMacros: None
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: true
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
QualifierAlignment: Leave
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: true
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
PackConstructorInitializers: NextLine
BasedOnStyle: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*\.h>'
Priority: 1
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 3
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '([-_](test|unittest))?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseLabels: true
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentRequires: false
IndentWidth: 2
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PenaltyIndentedWhitespace: 0
PointerAlignment: Left
PPIndentWidth: -1
RawStringFormats:
- Language: Cpp
Delimiters:
- cc
- CC
- cpp
- Cpp
- CPP
- 'c++'
- 'C++'
CanonicalDelimiter: ''
BasedOnStyle: google
- Language: TextProto
Delimiters:
- pb
- PB
- proto
- PROTO
EnclosingFunctions:
- EqualsProto
- EquivToProto
- PARSE_PARTIAL_TEXT_PROTO
- PARSE_TEST_PROTO
- PARSE_TEXT_PROTO
- ParseTextOrDie
- ParseTextProtoOrDie
- ParseTestProto
- ParsePartialTestProto
CanonicalDelimiter: pb
BasedOnStyle: google
ReferenceAlignment: Pointer
ReflowComments: true
RemoveBracesLLVM: false
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
#SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
BeforeNonEmptyParentheses: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: Never
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Auto
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
...
================================================
FILE: .clang-tidy
================================================
---
Checks: 'clang-diagnostic-*,clang-analyzer-*,performance-*,-performance-no-int-to-ptr'
WarningsAsErrors: '*'
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: file
CheckOptions:
- key: llvm-else-after-return.WarnOnConditionVariables
value: 'false'
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons
value: 'false'
- key: google-readability-namespace-comments.ShortNamespaceLines
value: '10'
- key: cert-err33-c.CheckedFunctions
value: '::aligned_alloc;::asctime_s;::at_quick_exit;::atexit;::bsearch;::bsearch_s;::btowc;::c16rtomb;::c32rtomb;::calloc;::clock;::cnd_broadcast;::cnd_init;::cnd_signal;::cnd_timedwait;::cnd_wait;::ctime_s;::fclose;::fflush;::fgetc;::fgetpos;::fgets;::fgetwc;::fopen;::fopen_s;::fprintf;::fprintf_s;::fputc;::fputs;::fputwc;::fputws;::fread;::freopen;::freopen_s;::fscanf;::fscanf_s;::fseek;::fsetpos;::ftell;::fwprintf;::fwprintf_s;::fwrite;::fwscanf;::fwscanf_s;::getc;::getchar;::getenv;::getenv_s;::gets_s;::getwc;::getwchar;::gmtime;::gmtime_s;::localtime;::localtime_s;::malloc;::mbrtoc16;::mbrtoc32;::mbsrtowcs;::mbsrtowcs_s;::mbstowcs;::mbstowcs_s;::memchr;::mktime;::mtx_init;::mtx_lock;::mtx_timedlock;::mtx_trylock;::mtx_unlock;::printf_s;::putc;::putwc;::raise;::realloc;::remove;::rename;::scanf;::scanf_s;::setlocale;::setvbuf;::signal;::snprintf;::snprintf_s;::sprintf;::sprintf_s;::sscanf;::sscanf_s;::strchr;::strerror_s;::strftime;::strpbrk;::strrchr;::strstr;::strtod;::strtof;::strtoimax;::strtok;::strtok_s;::strtol;::strtold;::strtoll;::strtoul;::strtoull;::strtoumax;::strxfrm;::swprintf;::swprintf_s;::swscanf;::swscanf_s;::thrd_create;::thrd_detach;::thrd_join;::thrd_sleep;::time;::timespec_get;::tmpfile;::tmpfile_s;::tmpnam;::tmpnam_s;::tss_create;::tss_get;::tss_set;::ungetc;::ungetwc;::vfprintf;::vfprintf_s;::vfscanf;::vfscanf_s;::vfwprintf;::vfwprintf_s;::vfwscanf;::vfwscanf_s;::vprintf_s;::vscanf;::vscanf_s;::vsnprintf;::vsnprintf_s;::vsprintf;::vsprintf_s;::vsscanf;::vsscanf_s;::vswprintf;::vswprintf_s;::vswscanf;::vswscanf_s;::vwprintf_s;::vwscanf;::vwscanf_s;::wcrtomb;::wcschr;::wcsftime;::wcspbrk;::wcsrchr;::wcsrtombs;::wcsrtombs_s;::wcsstr;::wcstod;::wcstof;::wcstoimax;::wcstok;::wcstok_s;::wcstol;::wcstold;::wcstoll;::wcstombs;::wcstombs_s;::wcstoul;::wcstoull;::wcstoumax;::wcsxfrm;::wctob;::wctrans;::wctype;::wmemchr;::wprintf_s;::wscanf;::wscanf_s;'
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
value: 'false'
- key: cert-dcl16-c.NewSuffixes
value: 'L;LL;LU;LLU'
- key: google-readability-braces-around-statements.ShortStatementLines
value: '1'
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: 'true'
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '2'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: llvm-qualified-auto.AddConstToQualified
value: 'false'
- key: modernize-loop-convert.NamingStyle
value: CamelCase
- key: llvm-else-after-return.WarnOnUnfixable
value: 'false'
- key: google-readability-function-size.StatementThreshold
value: '800'
...
================================================
FILE: .devcontainer/Dockerfile
================================================
FROM mcr.microsoft.com/devcontainers/base:jammy
ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="none"
# Optionally install the cmake for vcpkg
COPY ./reinstall-cmake.sh /tmp/
RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
chmod +x /tmp/reinstall-cmake.sh && /tmp/reinstall-cmake.sh ${REINSTALL_CMAKE_VERSION_FROM_SOURCE}; \
fi \
&& rm -f /tmp/reinstall-cmake.sh
# [Optional] Uncomment this section to install additional vcpkg ports.
# RUN su vscode -c "${VCPKG_ROOT}/vcpkg install <your-port-name-here>"
# [Optional] Uncomment this section to install additional packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends libmysqlclient-dev cmake ninja-build clang llvm llvm-dev clangd pkg-config clang-format libpq-dev
================================================
FILE: .devcontainer/devcontainer.json
================================================
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "C++",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"xaver.clang-format",
"llvm-vs-code-extensions.vscode-clangd",
"twxs.cmake",
"ms-vscode.cmake-tools"
]
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "git submodule update --init; cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1"
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
================================================
FILE: .devcontainer/reinstall-cmake.sh
================================================
#!/usr/bin/env bash
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
#
set -e
CMAKE_VERSION=${1:-"none"}
if [ "${CMAKE_VERSION}" = "none" ]; then
echo "No CMake version specified, skipping CMake reinstallation"
exit 0
fi
# Cleanup temporary directory and associated files when exiting the script.
cleanup() {
EXIT_CODE=$?
set +e
if [[ -n "${TMP_DIR}" ]]; then
echo "Executing cleanup of tmp files"
rm -Rf "${TMP_DIR}"
fi
exit $EXIT_CODE
}
trap cleanup EXIT
echo "Installing CMake..."
apt-get -y purge --auto-remove cmake
mkdir -p /opt/cmake
architecture=$(dpkg --print-architecture)
case "${architecture}" in
arm64)
ARCH=aarch64 ;;
amd64)
ARCH=x86_64 ;;
*)
echo "Unsupported architecture ${architecture}."
exit 1
;;
esac
CMAKE_BINARY_NAME="cmake-${CMAKE_VERSION}-linux-${ARCH}.sh"
CMAKE_CHECKSUM_NAME="cmake-${CMAKE_VERSION}-SHA-256.txt"
TMP_DIR=$(mktemp -d -t cmake-XXXXXXXXXX)
echo "${TMP_DIR}"
cd "${TMP_DIR}"
curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/${CMAKE_BINARY_NAME}" -O
curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/${CMAKE_CHECKSUM_NAME}" -O
sha256sum -c --ignore-missing "${CMAKE_CHECKSUM_NAME}"
sh "${TMP_DIR}/${CMAKE_BINARY_NAME}" --prefix=/opt/cmake --skip-license
ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
================================================
FILE: .github/linters/.hadolint.yaml
================================================
ignored:
- DL3004
================================================
FILE: .github/workflows/build.yml
================================================
name: build
on:
push:
branches:
- master
paths:
- "srcs/**"
jobs:
linux:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [ubuntu-22.04]
steps:
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.13
- uses: actions/checkout@v3
- name: Checkout submodules
run: git submodule update --init
- name: update
run: sudo apt-get update && sudo apt-get upgrade -y
- name: install packages
run: sudo apt-get install -y -m -f --install-suggests build-essential git libtool libtool-bin automake bison libglib2.0-0 clang llvm-dev libc++-dev findutils libcmocka-dev python3-dev python3-setuptools ninja-build clang-tidy clang-format libyaml-cpp-dev
- name: Run cmake
run: cmake -S . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: Build
run: cmake --build build -j
- name: Clang format
run: cmake --build build --target formatcheck
- name: Clang tidy
run: cmake --build build --target lint
- name: Tests
run: cd build/tests && ctest
================================================
FILE: .github/workflows/code-format.yml_bak
================================================
name: Formatting
on:
push:
branches:
- stable
- dev
pull_request:
branches:
- dev # No need for stable-pull-request, as that equals dev-push
jobs:
code-format-check:
name: Check code format
if: ${{ 'false' == 'true' }} # Disable the job
runs-on: ubuntu-22.04
container: docker.io/aflplusplus/aflplusplus:dev
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Format
run: |
git config --global --add safe.directory /__w/AFLplusplus/AFLplusplus
apt-get update
apt-get install -y clang-format-${LLVM_VERSION}
make code-format
- name: Check if code needed formatting
run: |
git --no-pager -c color.ui=always diff HEAD
if ! git diff HEAD --quiet; then
echo "[!] Please run 'make code-format' and push its changes."
exit 1
fi
================================================
FILE: .github/workflows/docker-image.yml
================================================
name: Build docker
on:
push:
paths:
- "scripts/dockers/**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
database: ["sqlite", "mariadb", "mysql", "postgresql"]
steps:
- uses: actions/checkout@v3
- name: "Check file existence"
id: check_files
uses: andstor/file-existence-action@v2
with:
files: "scripts/dockers/${{matrix.database}}/Dockerfile"
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v34
with:
files: "scripts/dockers/${{matrix.database}}/**"
- name: Build the Docker image for each database
if: steps.check_files.outputs.files_exists == 'true' && steps.changed-files-specific.outputs.any_changed == 'true'
run: docker build . --file Dockerfile
working-directory: "scripts/dockers/${{matrix.database}}"
================================================
FILE: .github/workflows/lint.yml
================================================
---
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base
#############################
# Start the job on all push #
#############################
on:
push:
branches-ignore: [master, main]
# Remove the line above to run when pushing to master
#pull_request:
#branches: [master, main]
###############
# Set the Job #
###############
jobs:
lint:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest
##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0
################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: .*data/fuzz_root.*
================================================
FILE: .github/workflows/stale.yml
================================================
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
with:
stale-issue-message: 'This issue/pr is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 3 days.'
days-before-stale: 14
days-before-close: 3
================================================
FILE: .gitignore
================================================
build
output
.cache
Testing
================================================
FILE: .gitmodules
================================================
[submodule "AFLplusplus"]
path = AFLplusplus
url = https://github.com/AFLplusplus/AFLplusplus.git
[submodule "third_party/abseil-cpp"]
path = third_party/abseil-cpp
url = https://github.com/abseil/abseil-cpp.git
================================================
FILE: .vscode/c_cpp_properties.json
================================================
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/usr/bin/clang",
"cStandard": "c17",
"cppStandard": "c++14",
"intelliSenseMode": "linux-clang-x64",
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
}
================================================
FILE: .vscode/settings.json
================================================
{
"clang-format.fallbackStyle": "Google",
"editor.formatOnSave": false,
"editor.formatOnPaste": false
}
================================================
FILE: CMakeLists.txt
================================================
cmake_minimum_required(VERSION 3.14)
project(Squirrel)
set(BUILD_SHARED_LIBS ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -g -O2 -fsanitize=address")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3")
set(LINK_FLAGS "${LINK_FLAGS} -fsanitize=address")
find_package(PkgConfig)
option(ALL "Build all types of database" ON)
option(SQLITE "Build sqlite" OFF)
option(MYSQL "Build mysql" OFF)
option(POSTGRESQL "Build postgresql" OFF)
if(SQLITE
OR MYSQL
OR POSTGRESQL)
set(ALL OFF)
endif()
if(ALL)
set(SQLITE ON)
set(MYSQL ON)
set(POSTGRESQL ON)
endif()
if(SQLITE)
list(APPEND DBMS sqlite)
endif()
if(MYSQL)
list(APPEND DBMS mysql)
pkg_check_modules(MySQL REQUIRED mysqlclient>=5.7)
add_library(mysql_client OBJECT srcs/internal/client/client_mysql.cc)
target_include_directories(mysql_client PUBLIC ${MySQL_INCLUDE_DIRS}
srcs/internal/client)
target_link_libraries(mysql_client PUBLIC ${MySQL_LIBRARIES}
${YAML_CPP_LIBRARIES})
target_compile_options(mysql_client PRIVATE -fPIC)
list(APPEND LINK_CLIENT mysql_client)
list(APPEND CLIENT_DEFINITION __SQUIRREL_MYSQL__)
endif()
if(POSTGRESQL)
list(APPEND DBMS postgresql)
find_package(PostgreSQL REQUIRED)
add_library(postgresql_client OBJECT
srcs/internal/client/client_postgresql.cc)
target_include_directories(postgresql_client PUBLIC ${PostgreSQL_INCLUDE_DIRS}
srcs/internal/client)
target_link_libraries(
postgresql_client PUBLIC ${PostgreSQL_LIBRARIES} ${YAML_CPP_LIBRARIES}
absl::strings absl::str_format)
target_compile_options(postgresql_client PRIVATE -fPIC)
list(APPEND LINK_CLIENT postgresql_client)
list(APPEND CLIENT_DEFINITION __SQUIRREL_POSTGRESQL__)
endif()
include(FetchContent)
find_package(yaml-cpp REQUIRED)
# FetchContent_Declare( ${YAML_CPP_LIBRARIES} URL
# https://github.com/jbeder/${YAML_CPP_LIBRARIES}/archive/refs/tags/${YAML_CPP_LIBRARIES}-0.7.0.zip)
# FetchContent_MakeAvailable(${YAML_CPP_LIBRARIES})
include_directories(${YAML_INCLUDE_DIRS})
# set_target_properties(${YAML_CPP_LIBRARIES} PROPERTIES COMPILE_FLAGS "-w")
set(ABSL_PROPAGATE_CXX_STD ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
add_subdirectory(third_party/abseil-cpp)
string(REPLACE " -w" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
set(AFLPP_DIR ${CMAKE_CURRENT_SOURCE_DIR}/AFLplusplus/include)
include_directories(${AFLPP_DIR})
foreach(dbms IN LISTS DBMS)
add_library(
${dbms}_impl OBJECT
srcs/internal/${dbms}/${dbms}.cc
srcs/internal/${dbms}/${dbms}.h
srcs/internal/${dbms}/srcs/ast.cpp
srcs/internal/${dbms}/srcs/mutator.cpp
srcs/internal/${dbms}/srcs/utils.cpp
srcs/internal/${dbms}/parser/bison_parser.cpp
srcs/internal/${dbms}/parser/flex_lexer.cpp)
target_include_directories(${dbms}_impl PRIVATE srcs/internal/${dbms}/include
srcs)
target_compile_options(${dbms}_impl PRIVATE -fPIC)
target_link_libraries(${dbms}_impl ${YAML_CPP_LIBRARIES} absl::strings
absl::str_format)
string(TOUPPER ${dbms} UPPER_CASE_DBMS)
add_library(${dbms}_mutator SHARED srcs/custom_mutator.cc srcs/db_factory.cc)
target_link_libraries(${dbms}_mutator ${dbms}_impl config_validator)
target_include_directories(${dbms}_mutator PRIVATE srcs/internal/${dbms} srcs)
# target_compile_options(${dbms}_mutator PRIVATE -fPIC)
target_compile_definitions(${dbms}_mutator
PRIVATE __SQUIRREL_${UPPER_CASE_DBMS}__)
endforeach()
if(MYSQL OR POSTGRESQL)
add_executable(db_driver srcs/db_driver.cc)
target_link_libraries(db_driver ${YAML_CPP_LIBRARIES} all_client
absl::strings absl::str_format)
add_executable(test_client srcs/internal/client/test_client.cc)
target_link_libraries(test_client all_client ${YAML_CPP_LIBRARIES})
target_include_directories(test_client PUBLIC srcs/internal/client)
add_library(all_client SHARED srcs/internal/client/client.cc)
target_include_directories(all_client PUBLIC srcs/internal/client)
target_link_libraries(all_client PUBLIC ${LINK_CLIENT})
target_compile_definitions(all_client PRIVATE ${CLIENT_DEFINITION})
endif()
add_library(config_validator OBJECT srcs/utils/config_validate.cc)
target_link_libraries(config_validator PRIVATE ${YAML_CPP_LIBRARIES}
absl::strings absl::str_format)
target_include_directories(config_validator PUBLIC srcs/utils)
target_compile_options(config_validator PRIVATE -fPIC)
include(lint.cmake)
add_subdirectory(tests)
================================================
FILE: CODEOWNERS
================================================
* @Changochen @zr950624
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2020 Squirrel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
# Squirrel, a coverage-guided DBMS fuzzer.
[](https://github.com/s3team/Squirrel/actions/workflows/build.yml)
`Squirrel` is a fuzzer for database managment systems (DBMSs).
`Squirrel` was first built on [AFL](https://github.com/google/AFL) and then migrated to [AFLplusplus](https://github.com/AFLplusplus/AFLplusplus) to enjoy the improvement of state-of-the-art fuzzing strategies.
## Currently supported DBMSs
1. SQLite
2. PostgreSQL
3. MySQL
4. MariaDB
## Build Instruction (Run in docker, recommended)
1. Go to the directory of the dockerfile: `cd scripts/docker/xxx/`, where `xxx` is the database name.
2. Build the docker: `docker build -t xxx .`.
3. Run: `docker run -it xxx`.
## Build Instruction (Run on localhost)
### Prerequisite
For ubuntu 22.04:
```
sudo apt install libmysqlclient-dev cmake ninja-build clang pkg-config clang-format libpq-dev libyaml-cpp-dev
```
#### Build Squirrel
1. Clone this repo and run `git submodule update --init`.
2. `cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -Wno-dev`. If you want to compile only the mutator for the specific databases, add `-DXXXXX=ON`, `XXXXX` can be `SQLITE`, `MYSQL` and `POSTGRESQL`. `Mariadb` share the same interface with `MySQL`.
3. `cmake --build build -j`, the binaries are in `build/`.
#### Build AFLplusplus and DBMSs
1. Build aflplusplus: `cd AFLplusplus && make -j && cd ..`.
2. Use `afl-cc` and `afl-c++` to instrument your database.
### Run
#### Configuration
1. Set up a configuration file in `yaml`. Examples can be found in `data/*.yml`.
2. Set the enviroment variable
```bash
export SQUIRREL_CONFIG=/path/to/config.yml
export AFL_CUSTOM_MUTATOR_ONLY=1
export AFL_CUSTOM_MUTATOR_LIBRARY= REPO_DIR/build/libxxxx_mutator.so
export AFL_DISABLE_TRIM=1
```
#### Normal Mode (SQLite)
Same as AFLplusplus: `afl-fuzz -i input -o output -- sqlite_harness`.
#### Client/Server Mode (MySQL/MariaDB/PostgreSQL)
1. Dry run the database to get the `__afl_map_size` and set it to `AFL_MAP_SIZE`.
2. Run `afl-fuzz -i input -o output -- ./build/db_driver`, it will print the share memory id and wait for 30 seconds.
3. Start the databse server with `export __AFL_SHM_ID=xxxx`.
## Publications
<a href="https://arxiv.org/pdf/2006.02398.pdf"><img src="https://huhong789.github.io/images/squirrel.png" align="right" width="250"></a>
More details can be found in our [CCS 2020 paper](http://arxiv.org/abs/2006.02398). And the bugs found by `Squirrel` can be found in [here](https://github.com/s3team/Squirrel/wiki/Bug-List).
```
SQUIRREL: Testing Database Management Systems with Language Validity and Coverage Feedback
@inproceedings{zhong:squirrel,
title = {{SQUIRREL: Testing Database Management Systems with Language Validity and Coverage Feedback}},
author = {Rui Zhong and Yongheng Chen and Hong Hu and Hangfan Zhang and Wenke Lee and Dinghao Wu},
booktitle = {Proceedings of the 27th ACM Conference on Computer and Communications Security (CCS)},
month = nov,
year = 2020,
address = {Orlando, USA},
}
```
## Special Thanks
1. Roel Van de Paar ([@mariadb-RoelVandePaar](https://github.com/mariadb-RoelVandePaar)): For his helpful feedback for improving Squirrel.
================================================
FILE: data/config_mariadb.yml
================================================
---
required: ["init_lib", "data_lib", "db", "passwd", "user_name", "host", "sock_path", "db_prefix", "startup_cmd"]
should_exist: ["init_lib", "data_lib"]
init_lib: /home/Squirrel/data/fuzz_root/mysql_init_lib
data_lib: /home/Squirrel/data/fuzz_root/global_data_lib_mysql
db: mysql
passwd: ''
user_name: dobigthing
host: localhost
sock_path: /tmp/mysql.sock
db_prefix: test
# It is important that the command should run on background
startup_cmd: "/usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --log-error=err_log.err --pid-file=server_pid.pid --max_statement_time=1 &"
================================================
FILE: data/config_mysql.yml
================================================
---
required: ["init_lib", "data_lib", "db", "passwd", "user_name", "host", "sock_path", "db_prefix", "startup_cmd"]
should_exist: ["init_lib", "data_lib"]
init_lib: /home/Squirrel/data/fuzz_root/mysql_init_lib
data_lib: /home/Squirrel/data/fuzz_root/global_data_lib_mysql
db: mysql
passwd: ''
user_name: root
host: localhost
sock_path: /tmp/mysql.sock
db_prefix: test
# It is important that the command should run on background
startup_cmd: "/usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --log-error=err_log.err --pid-file=server_pid.pid --max-execution-time=1000 &"
================================================
FILE: data/config_postgresql.yml
================================================
---
required: ["init_lib", "data_lib", "db", "passwd", "user_name", "host", "db_name", "startup_cmd"]
should_exist: ["init_lib", "data_lib"]
init_lib: /home/Squirrel/data/fuzz_root/pqsql_init_lib
data_lib: /home/Squirrel/data/fuzz_root/pqsql_data_lib
db: postgresql
passwd: ''
user_name: dobigthing
db_name: postgres
host: localhost
port: 5432
startup_cmd: "/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data &"
================================================
FILE: data/config_sqlite.yml
================================================
---
required: ["init_lib", "pragma"]
should_exist: ["init_lib", "pragma"]
init_lib: /home/Squirrel/data/fuzz_root/init_lib
pragma: /home/Squirrel/data/fuzz_root/pragma
db: sqlite
================================================
FILE: data/fuzz_root/global_data_lib_mysql
================================================
DataFunctionName CUME_DIST
DataFunctionName DENSE_RANK
DataFunctionName FIRST_VALUE
DataFunctionName LAG
DataFunctionName LAST_VALUE
DataFunctionName LEAD
DataFunctionName NTH_VALUE
DataFunctionName NTILE
DataFunctionName PERCENT_RANK
DataFunctionName RANK
DataFunctionName ROW_NUMBER
DataFunctionName AVG
DataFunctionName BIT_AND
DataFunctionName BIT_OR
DataFunctionName BIT_XOR
DataFunctionName COUNT
DataFunctionName JSON_ARRAYAGG
DataFunctionName JSON_OBJECTAGG
DataFunctionName MAX
DataFunctionName MIN
DataFunctionName STDDEV_POP
DataFunctionName STDDEV
DataFunctionName STD
DataFunctionName STDDEV_SAMP
DataFunctionName SUM
DataFunctionName VAR_POP
DataFunctionName VARIANCE
DataFunctionName VAR_SAMP
================================================
FILE: data/fuzz_root/global_data_lib_pqsql
================================================
DataFunctionName array_agg
DataFunctionName avg
DataFunctionName bit_and
DataFunctionName bit_or
DataFunctionName bool_and
DataFunctionName bool_or
DataFunctionName count
DataFunctionName every
DataFunctionName json_agg
DataFunctionName jsonb_agg
DataFunctionName json_object_agg
DataFunctionName jsonb_object_agg
DataFunctionName max
DataFunctionName min
DataFunctionName string_agg
DataFunctionName sum
DataFunctionName xmlagg
DataFunctionName corr
DataFunctionName covar_pop
DataFunctionName covar_samp
DataFunctionName regr_avgx
DataFunctionName regr_avgy
DataFunctionName regr_count
DataFunctionName regr_intercept
DataFunctionName regr_r2
DataFunctionName regr_slope
DataFunctionName regr_sxx
DataFunctionName regr_sxy
DataFunctionName regr_syy
DataFunctionName stddev
DataFunctionName stddev_pop
DataFunctionName stddev_samp
DataFunctionName variance
DataFunctionName var_pop
DataFunctionName var_samp
DataFunctionName mode
DataFunctionName percentile_cont
DataFunctionName percentile_disc
DataFunctionName rank
DataFunctionName dense_rank
DataFunctionName percent_rank
DataFunctionName cume_dist
DataFunctionName GROUPING
DataDatabase x
================================================
FILE: data/fuzz_root/init_lib/1.txt
================================================
CREATE TABLE t0(c0, c1 AS(c0 + c2), c2 AS(c1) CHECK(c2));
UPDATE t0 SET c0 = NULL
================================================
FILE: data/fuzz_root/init_lib/10.txt
================================================
CREATE TABLE t1(a, b);
CREATE TABLE t2(c, d);
CREATE TABLE t3(e, f);
INSERT INTO t1 VALUES(1, 1);
INSERT INTO t2 VALUES(1, 1);
INSERT INTO t3 VALUES(1, 1);
SELECT d IN (SELECT sum(c) OVER (ORDER BY e+c) FROM t3) FROM (
SELECT * FROM t2
);
================================================
FILE: data/fuzz_root/init_lib/11.txt
================================================
ATTACH '' AS aux;
CREATE TABLE aux.t1(a, b, c);
CREATE TEMP TRIGGER tmp AFTER INSERT ON t1 BEGIN
SELECT 'abc';
END;
DETACH aux;
DROP TRIGGER tmp;
================================================
FILE: data/fuzz_root/init_lib/12.txt
================================================
CREATE TABLE t1(a,b);
INSERT INTO t1 VALUES(1,2);
UPDATE t1 SET (a,a,a,b)=(SELECT 99,100);
================================================
FILE: data/fuzz_root/init_lib/13.txt
================================================
CREATE TABLE t0(c0);
INSERT INTO t0(c0) VALUES (0);
SELECT * FROM t0 WHERE EXISTS (SELECT MIN(c0) OVER (), CUME_DIST() OVER () FROM t0) BETWEEN 1 AND 1;
================================================
FILE: data/fuzz_root/init_lib/14.txt
================================================
CREATE TABLE t1(a);
CREATE TABLE t2(b);
CREATE TRIGGER r1 AFTER INSERT ON t2 BEGIN
INSERT INTO t1(a) VALUES(99);
END;
DROP TABLE t1;
ALTER TABLE t2 RENAME TO t3;
================================================
FILE: data/fuzz_root/init_lib/15.txt
================================================
CREATE TABLE artists (
id integer NOT NULL PRIMARY KEY AUTOINCREMENT,
name varchar(255)
);
CREATE TABLE albums (
id integer NOT NULL PRIMARY KEY AUTOINCREMENT,
name varchar(255),
artist_id integer REFERENCES artists
);
INSERT INTO artists (name) VALUES ('Ar');
INSERT INTO albums (name, artist_id) VALUES ('Al', 1);
SELECT artists.*
FROM artists
INNER JOIN artists AS 'b' ON (b.id = artists.id)
WHERE (artists.id IN (
SELECT albums.artist_id
FROM albums
WHERE ((name = 'Al')
AND (albums.artist_id IS NOT NULL)
AND (albums.id IN (
SELECT id
FROM (
SELECT albums.id,
row_number() OVER (
PARTITION BY albums.artist_id
ORDER BY name
) AS 'x'
FROM albums
WHERE (name = 'Al')
) AS 't1'
WHERE (x = 1)
))
AND (albums.id IN (1, 2)))
));
================================================
FILE: data/fuzz_root/init_lib/16.txt
================================================
CREATE TABLE "sqlite1234" ("id" integer);
ALTER TABLE "sqlite1234" RENAME TO "User";
SELECT name, sql FROM sqlite_master WHERE sql IS NOT NULL;
================================================
FILE: data/fuzz_root/init_lib/17.txt
================================================
CREATE TABLE IF NOT EXISTS t1(id INTEGER PRIMARY KEY);
INSERT INTO t1 VALUES(1);
SELECT a.id FROM t1 AS a JOIN t1 AS b ON a.id=b.id WHERE a.id IN (1,2,3);
================================================
FILE: data/fuzz_root/init_lib/18.txt
================================================
CREATE TABLE t1(a INTEGER PRIMARY KEY);
INSERT INTO t1(a) VALUES(1),(2),(3);
CREATE TABLE t2(x INTEGER PRIMARY KEY, y INT);
INSERT INTO t2(y) VALUES(2),(3);
SELECT * FROM t1, t2 WHERE a=y AND y=3;
================================================
FILE: data/fuzz_root/init_lib/19.txt
================================================
SELECT +sum(0)OVER() ORDER BY +sum(0)OVER();
================================================
FILE: data/fuzz_root/init_lib/2.txt
================================================
CREATE TABLE t0(c0 AS ((c4, 9, c4) < ('a', c1, 1)), c1 AS (1) NOT NULL, c2, c3 CHECK ((x'56', 0) = (c1, 0)), c4 NOT NULL);
PRAGMA integrity_check;
INSERT INTO t0 VALUES (0, 0, 0), (0, 0, 0);
================================================
FILE: data/fuzz_root/init_lib/20.txt
================================================
CREATE TABLE t1(aa, bb);
CREATE INDEX t1x1 on t1(abs(aa), abs(bb));
INSERT INTO t1 VALUES(-2,-3),(+2,-3),(-2,+3),(+2,+3);
SELECT * FROM (t1)
WHERE ((abs(aa)=1 AND 1=2) OR abs(aa)=2)
AND abs(bb)=3;
================================================
FILE: data/fuzz_root/init_lib/21.txt
================================================
CREATE TABLE t1(x);
INSERT INTO t1 VALUES('a'), ('b'), ('c');
CREATE TABLE t2(a, b);
INSERT INTO t2 VALUES('X', 1), ('X', 2), ('Y', 2), ('Y', 3);
SELECT x, (SELECT sum(b)
OVER (PARTITION BY a ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)
FROM t2 WHERE b<x ) FROM t1;
================================================
FILE: data/fuzz_root/init_lib/3.txt
================================================
CREATE TABLE t0(c0 NOT NULL AS(c1), c1);
REPLACE INTO t0(c1) VALUES(NULL);
================================================
FILE: data/fuzz_root/init_lib/4.txt
================================================
CREATE TABLE t0(c0, c1, c2 AS(1), PRIMARY KEY(c0) FOREIGN KEY(c2) REFERENCES t0);
CREATE VIRTUAL TABLE vt0 USING fts4;
CREATE INDEX i0 ON t0(c2, 0 BETWEEN '' AND c1 COLLATE BINARY, CASE '' WHEN c3 THEN 0 WHEN 0 THEN 0 WHEN '' THEN 0 WHEN 0 THEN c0 ELSE c1 END);
INSERT INTO t0 VALUES (0, 0), ('', 0);
PRAGMA foreign_keys = true;
ANALYZE;
UPDATE t0 SET c1 = c0;
================================================
FILE: data/fuzz_root/init_lib/5.txt
================================================
CREATE TABLE t0 (c0, c1 a UNIQUE AS (1), c2, c3, FOREIGN KEY(c3) REFERENCES t0(c1));
CREATE VIRTUAL TABLE vt0 USING fts4(c0);
PRAGMA foreign_keys = true;
CREATE INDEX i0 ON t0(0) WHERE 0;
INSERT INTO vt0 VALUES (0);
REPLACE INTO t0(c3, c2, c0) VALUES (0, 0, 0), (0, 0, 0);
================================================
FILE: data/fuzz_root/init_lib/6.txt
================================================
PRAGMA temp_store = MEMORY;
CREATE TEMP TABLE t0(c0, c1 AS(1) CHECK(NULL) UNIQUE NOT NULL, c2 CHECK(1.0) PRIMARY KEY) WITHOUT ROWID;
CREATE UNIQUE INDEX e ON t0(CAST(0.0 AS INT)) WHERE 0;
REINDEX;
INSERT INTO t0(c2) VALUES (0), (1);
REPLACE INTO t0(c2, c0) VALUES (0, 0), (x'9b', NULL);
UPDATE t0 SET c2 = 0
================================================
FILE: data/fuzz_root/init_lib/7.txt
================================================
CREATE TABLE t0(c0 INTEGER PRIMARY KEY GENERATED ALWAYS AS(1), c1 UNIQUE GENERATED ALWAYS AS(1), c2 UNIQUE);
INSERT INTO t0 VALUES(NULL);
================================================
FILE: data/fuzz_root/init_lib/8.txt
================================================
PRAGMA recursive_triggers = true;
CREATE TABLE t0(a, b, c UNIQUE);
CREATE UNIQUE INDEX i0 ON t0(b) WHERE a;
CREATE TRIGGER tr0 AFTER DELETE ON t0 BEGIN
DELETE FROM t0;
END;
INSERT INTO t0(a,b,c) VALUES(0,0,9),(1,1,1);
REPLACE INTO t0(a,b,c) VALUES(2,0,9);
================================================
FILE: data/fuzz_root/init_lib/9.txt
================================================
CREATE TABLE item (id int, price int);
INSERT INTO item (id, price) VALUES (1, 1);
SELECT COUNT(id) FILTER (WHERE double_price > 42) FROM (
SELECT id, (price * 2) as double_price FROM item
);
================================================
FILE: data/fuzz_root/init_lib/new_code
================================================
CREATE TABLE x ( x , x ) ;
CREATE INDEX x ON x ( x ) ;
CREATE INDEX x ON x ( x , x ) ;
ANALYZE ;
SELECT * FROM x ORDER BY 10 , 10 ;
INSERT INTO x ( x , x , x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 , 10 , 10 ) ;
INSERT INTO x ( x , x , x , x , x , x ) VALUES ( 10 , 'y' , 'y' , 'y' , 'y' , 'y' ) ;
SELECT x , typeof ( x ) FROM x ORDER BY x ;
INSERT INTO x VALUES ( 'y' , 'y' ) ;
CREATE TABLE x ( x , x , x INTEGER ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 ) ;
SELECT * FROM x WHERE x = 'y' ORDER BY x ;
DROP TABLE IF EXISTS x ;
CREATE TABLE x ( x TEXT UNIQUE , x ) ;
INSERT INTO x ( x ) VALUES ( 10 ) ;
SELECT quote ( - 'y' ) , quote ( x ) , quote ( - 'y' >= x ) FROM x ;
SELECT * FROM x WHERE - 'y' >= x ;
SELECT 10 < x FROM x ;
SELECT 10 FROM x WHERE 10 < x ;
CREATE TABLE x ( x INT PRIMARY KEY ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 0.1 ) ;
PRAGMA x = x ;
CREATE TABLE x ( x INT , x ) ;
INSERT INTO x VALUES ( 10 , 'y' ) ;
CREATE TABLE x ( x TEXT , x ) ;
CREATE TABLE x AS SELECT * FROM x ;
SELECT * FROM x JOIN x USING ( id ) ;
CREATE TABLE x ( x ) ;
INSERT INTO x VALUES ( 10 ) ;
INSERT INTO x SELECT x + 10 FROM x ;
INSERT INTO x SELECT x + 10 FROM x ORDER BY x LIMIT 10 ;
SELECT x_count ( * ) FROM x ;
SELECT x_count ( x ) FROM x ;
CREATE TABLE x ( x INT ) ; INSERT INTO x ( x ) VALUES ( 10 ) ;
SELECT ( SELECT sum ( x + ( SELECT x ) ) FROM x ) FROM x ;
SELECT ( SELECT sum ( x + x ) FROM x ) FROM x ;
CREATE TABLE x ( x INT ) ;
INSERT INTO x VALUES ( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ;
INSERT INTO x VALUES ( 10 ) ,( 10 ) ,( 10 ) ;
SELECT min ( ( SELECT count ( x ) FROM x ) ) FROM x ;
SELECT max ( ( SELECT x FROM SELECT count ( * ) AS a FROM x AS s ) ) FROM x ;
INSERT INTO x VALUES ( 10 , 10 ) ;
SELECT 'y' , * FROM x ;
INSERT INTO x SELECT x , x , x FROM x WHERE x != 'y' ;
SELECT x , x , x FROM x ORDER BY x , x DESC , x ;
ALTER TABLE x RENAME TO x ;
SELECT * FROM x ;
DELETE FROM x ;
INSERT INTO x SELECT x , x , x FROM x ;
ATTACH 'y' AS x ;
CREATE TABLE x ( x PRIMARY KEY , x , x ) ;
CREATE TABLE x . x ( x PRIMARY KEY , x , x ) ;
INSERT INTO x VALUES ( 'y' , 'y' , 'y' ) ;
INSERT INTO x . x VALUES ( 'y' , 'y' , 'y' ) ;
SELECT * FROM x WHERE x = 'y' ;
ALTER TABLE x . x RENAME TO x ;
SELECT * FROM x . x WHERE x = 'y' ;
CREATE TABLE x ( x , x , x ) ;
DROP TABLE x ;
END ;
DROP TRIGGER x ;
UPDATE x SET x = 'y' WHERE x = 'y' ;
INSERT INTO x VALUES ( NULL ) ;
SELECT x FROM x ;
SELECT x FROM x WHERE x = 10 ;
SELECT * FROM x
SELECT x , x
SELECT typeof ( x ) , x , typeof ( x ) , x FROM x ;
CREATE TABLE x ( x INTEGER ) ;
SELECT sum ( x ) FROM x ;
SELECT x , sum ( x ) FROM x GROUP BY x ;
SELECT sqlite_rename_table ( 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
ALTER TABLE x ADD COLUMN x ;
CREATE VIEW x AS SELECT * FROM x ;
SELECT x FROM x WHERE x GLOB 'y' ORDER BY 10 ;
CREATE TABLE x ( x UNIQUE ) ;
ALTER TABLE x ADD COLUMN x UNIQUE ;
ALTER TABLE x ADD COLUMN x PRIMARY KEY ;
INSERT INTO x VALUES ( 'y' , 0.1 , 10 ) ;
INSERT INTO x VALUES ( 'y' , 0.1 , 10 , 'y' ) ;
SELECT * FROM x ORDER BY x ;
UPDATE x SET x = 10 WHERE x = 10 ;
SELECT x FROM x ORDER BY x ;
SELECT * FROM x WHERE x = 10 ;
SELECT sum ( x ) , x FROM x GROUP BY x ;
UPDATE x SET x = 10 WHERE x IS NULL AND x < 10 ;
SELECT typeof ( x ) FROM x ;
INSERT INTO x VALUES ( 10 , 10 , NULL ) ;
DROP VIEW x ;
UPDATE x SET x = x * 10 WHERE x < 10 ;
UPDATE x SET x = x * 10 ;
CREATE TABLE x . x ( x , x ) ;
SELECT * FROM x LIMIT 10 ;
SELECT x , typeof ( x ) , x , typeof ( x ) , x , typeof ( x ) FROM x LIMIT 10 ;
DELETE FROM x WHERE x = 10 ;
INSERT INTO x VALUES ( 'y' ) ;
SELECT quote ( x ) , quote ( x ) , quote ( x ) FROM x LIMIT 10 ;
DELETE FROM x WHERE x = 'y' ;
ALTER TABLE x ADD x ;
SELECT x FROM x WHERE x = 'y' ;
ALTER TABLE x ADD x CHECK( x > x ) ;
SELECT x FROM x WHERE x = 'y' AND x = 'y' ;
ALTER TABLE x ADD x PRIMARY KEY ;
PRAGMA x = 10 ;
PRAGMA x ;
CREATE TABLE x . x AS SELECT * FROM x ;
PRAGMA x . x = 10 ;
SELECT x FROM x . x ;
ALTER TABLE x . x ADD COLUMN x VARCHAR(128) ;
SELECT * FROM x . x ;
PRAGMA x . x ;
DROP TABLE x . x ;
VACUUM ;
SELECT typeof ( x ) , x FROM x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x ) ;
ALTER TABLE x RENAME x TO x ;
ALTER TABLE x RENAME COLUMN x TO x ;
UPDATE x SET x = x + 10 , x = 10 WHERE x = 10 ;
INSERT INTO x ( x , x , x ) SELECT 10 , 10 , 10 WHERE 10 ;
SELECT x FROM x WHERE x IN ( 'y' , 'y' ) ;
SELECT x FROM x WHERE x IN ( 'y' , 'y' , 'y' ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ;
UPDATE x SET x = 10 ;
CREATE VIEW x AS SELECT x , x , x FROM x ;
CREATE VIEW x AS SELECT x , x + x , x , x + x FROM x , x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x ) ;
CREATE VIEW x AS SELECT x + x CONCAT coalesce ( x , x ) FROM x , x WHERE x = x GROUP BY x HAVING x > 10 ;
CREATE VIEW x AS SELECT x FROM x UNION ALL SELECT x FROM x ;
CREATE VIEW x AS SELECT x , x FROM x ;
CREATE VIRTUAL TABLE x USING echo ( x1 ) ;
CREATE VIEW x AS SELECT x , x FROM x , x ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
CREATE VIEW x ( x , x ) AS SELECT * FROM x ;
CREATE TABLE x ( x INTEGER , x TEXT UNIQUE ) ;
CREATE TABLE x ( x UNIQUE , x , x ) ;
DROP TRIGGER IF EXISTS x ;
INSERT INTO x VALUES ( 'y' , 'y' , 'y' , 'y' , 'y' , 10 , 'y' , 10 ) ,( 'y' , 'y' , 'y' , 'y' , 'y' , 10 , 'y' , 10 ) ,( 'y' , 'y' , 'y' , 'y' , 'y' , 10 , 'y' , 10 ) ,( 'y' , 'y' , 'y' , 'y' , 'y' , 10 , 'y' , 10 ) ;
SELECT sqlite_rename_column ( 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
SELECT x AS d FROM x WHERE x = 10 ;
CREATE VIEW x AS SELECT x AS d FROM x WHERE x = 10 ;
CREATE UNIQUE INDEX x ON x ( x ) ;
CREATE TABLE x . x ( x ) ;
CREATE VIEW x ( x ) AS SELECT coalesce ( x , x ) FROM x , x WHERE x = x ;
CREATE INDEX x ON x ( x ) WHERE x > 10 ;
CREATE VIEW x AS SELECT x , x , x , x FROM x AS one , x ;
INSERT INTO x VALUES ( 'y' , 'y' , 'y' , NULL , 10 ) ,( 'y' , 'y' , NULL , 'y' , 10 ) ,( 'y' , NULL , 'y' , 'y' , 10 ) ;
CREATE TABLE x . x ( x INTEGER PRIMARY KEY , x ) ;
INSERT INTO x . x VALUES ( 10 , 10 ) ;
INSERT INTO x . x VALUES ( NULL , 10 ) ;
SELECT x FROM x . x WHERE x = 'y' ;
CREATE TRIGGER x AFTER INSERT ON x WHEN x IS NULL BEGIN SELECT 10 , 10 , 10 ; END ;
CREATE TEMP TRIGGER x AFTER INSERT ON x . x BEGIN SELECT 10 , 10 , 10 ; END ;
CREATE TABLE x . x ( x , x , x ) ;
INSERT INTO x . x VALUES ( 10 , 10 , 10 ) ;
SELECT x , x FROM x ;
CREATE VIRTUAL TABLE x USING tcl ( tcl_command ) ;
SELECT sqlite_rename_table ( x , 10 , 10 , x , x , x , x ) FROM x ;
CREATE TABLE x ( x INTEGER NOT NULL PRIMARY KEY ) ;
CREATE VIEW x AS SELECT x FROM x ;
CREATE TABLE x ( x INTEGER NOT NULL ) ;
CREATE VIEW x AS SELECT x AS f1 FROM x ;
UPDATE x SET x = 'y' WHERE x = 10 ;
SELECT x , x FROM x WHERE x IS NOT NULL ;
CREATE TABLE x ( x PRIMARY KEY , x ) ;
SELECT x FROM x WHERE x LIKE 'y' ;
CREATE TABLE x ( x , x , x , x , x , x ) ;
CREATE TABLE x ( x , x , x , x ) ;
SELECT x , * FROM x ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 , 10 ) ;
SELECT x , x , x FROM x UNION SELECT x , x , x FROM x ORDER BY x , x ;
SELECT x , x , x FROM x ;
CREATE VIEW x AS SELECT * FROM x WHERE ( x = 10 AND 10 ) OR x = 10 ;
SELECT x ;
BEGIN ;
COMMIT ;
SELECT x , x , x , x FROM x WHERE x = 'y' AND x != 'y' ;
WITH t4 AS ( SELECT * FROM x ) SELECT 10 ;
ANALYZE x . x ;
ANALYZE x ;
SELECT x , x FROM x ORDER BY x ;
CREATE TABLE x AS SELECT x , x , x AS c , 'y' AS d FROM x ;
CREATE INDEX x ON x ( x , x , x , x ) ;
INSERT INTO x VALUES ( NULL , NULL , NULL ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 ) ;
INSERT INTO x SELECT x + 10 , x + 10 , x + 10 , x + 10 FROM x ;
SELECT DISTINCT x FROM x ORDER BY 10 ;
INSERT INTO x ( x ) VALUES ( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ;
INSERT INTO x SELECT * FROM x ;
INSERT INTO x ( x ) SELECT x FROM x ;
CREATE VIRTUAL TABLE x USING wholenumber ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ;
SELECT * , 'y' FROM x WHERE x BETWEEN 10 AND 10 ORDER BY x ;
SELECT count ( x ) FROM x ;
CREATE TABLE x ( x PRIMARY KEY ) ;
INSERT INTO x VALUES ( 'y' , NULL , 'y' ) ;
SELECT 10 FROM x WHERE x IN ( 10 , 10 , 10 ) ;
ATTACH DATABASE 'y' AS x ;
DETACH DATABASE x ;
DETACH x ;
UPDATE x SET x = x + 10 ;
UPDATE x . x SET x = x + 10 ;
SELECT x , x , x FROM x . x ;
SELECT * FROM x WHERE x > 10 ;
UPDATE x SET x = x + 10 WHERE x = 10 ;
SELECT * FROM x . x UNION ALL SELECT * FROM x . x ;
CREATE VIEW x AS SELECT x * 10 + x FROM x ;
ATTACH printf ( 'y' , 10 ) AS x ;
INSERT INTO x . x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ;
CREATE TABLE x ( x TEXT NOT NULL PRIMARY KEY ) ;
CREATE TABLE x . x ( x INTEGER , x INTEGER , x INTEGER , x ) ;
UPDATE x . x SET x = 10 ;
ROLLBACK ;
CREATE VIEW x . x AS SELECT * FROM x ;
INSERT INTO x . x VALUES ( 'y' , 'y' ) ;
DROP VIEW x . x ;
DROP TRIGGER x . x ;
SELECT count ( * ) FROM x ;
INSERT INTO x . x VALUES ( 10 , 10 , 10 , 10 , 10 ) ;
PRAGMA x . x = x ;
CREATE VIEW x AS SELECT x + 10 , x + 10 FROM x ;
DELETE FROM x WHERE x = 10 AND x = 10 AND x = 10 ;
REINDEX x ;
CREATE INDEX x ON x ( x , x , x ) ;
SELECT x FROM x 'y' ORDER BY x ;
CREATE VIEW x AS SELECT x + x AS x FROM x ;
CREATE TABLE x ( x , x , x , x , x , x , x , x ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
INSERT INTO x VALUES ( NULL , 10 ) ;
UPDATE x SET x = 10 WHERE x = 'y' ;
UPDATE x SET x = NULL WHERE x = 'y' ;
DELETE FROM x WHERE x >= 10 ;
INSERT INTO x SELECT NULL , x + 10 FROM x ;
INSERT INTO x SELECT NULL , x FROM x ;
SELECT 10 , x FROM x WHERE x = 'y' ;
SELECT 10 , * FROM x . x ;
SELECT * FROM x UNION ALL SELECT * FROM x ;
INSERT INTO x SELECT x + 10 , x FROM x ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ON CONFLICT ( x ) DO UPDATE SET = x x + 10 ;
CREATE VIEW x AS SELECT x , sum ( x ) AS m FROM x GROUP BY x ;
CREATE INDEX x ON x ( x , x , x , x , x , x ) ;
INSERT INTO x VALUES ( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 'y' ) ;
INSERT INTO x VALUES ( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 'y' ) ;
SELECT * , 'y' FROM x , x WHERE x = 10 AND x = 10 ;
SELECT * , 'y' FROM x LEFT JOIN x ON x = 10 AND x = 10 ;
SELECT * , 'y' FROM x LEFT JOIN x ON x = 10 WHERE x = 10 ;
SELECT * , 'y' FROM x LEFT JOIN x WHERE x = 10 AND x = 10 ;
CREATE TABLE x ( x TEXT ) ;
CREATE TABLE x ( x TEXT , x TEXT ) ;
CREATE INDEX x ON x ( x , x ) WHERE x = 'y' ;
INSERT INTO x VALUES ( 'y' , 0.1 ) ;
SELECT ( SELECT sum ( x ) FROM x WHERE x = 'y' ) FROM x ;
INSERT INTO x ( x ) VALUES ( 'y' ) ;
INSERT INTO x ( x , x ) VALUES ( 'y' , 10 ) ;
CREATE TABLE x ( x ) ; INSERT INTO x ( x ) VALUES ( 10 ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ;
SELECT * FROM x WHERE ( x = 10 OR x = 10 ) AND x IN ( SELECT x FROM SELECT DISTINCT x FROM x WHERE x = 10 ) ;
SELECT * , 'y' FROM x WHERE ( x = 10 OR x = 10 ) AND x = ( SELECT x FROM SELECT DISTINCT x FROM x WHERE x = 10 ) ;
INSERT INTO x SELECT 'y' CONCAT x FROM x ;
SELECT * FROM x WHERE x = 'y' AND x = 'y' AND x = 'y' ;
INSERT INTO x SELECT randstr ( 10 , 10 ) , randstr ( 10 , 10 ) FROM x ;
CREATE TABLE x ( x INT PRIMARY KEY , x TEXT ) ;
UPDATE x SET x = 10 WHERE 10 ;
BEGIN TRANSACTION ;
END TRANSACTION ;
CREATE TABLE x ( x INT , x INT , x INT ) ;
SELECT x FROM x WHERE x = 'y' OR x = 'y' ORDER BY x ;
SELECT * FROM x WHERE x < 10 ;
CREATE TABLE x ( x INT UNIQUE , x , x ) ;
SELECT md5sum ( x , x , x ) FROM x ;
INSERT INTO x SELECT randstr ( 10 , 10 ) FROM x ;
DELETE FROM x WHERE random () % 10 != 10 ;
INSERT INTO x SELECT randstr ( 10 , 10 ) CONCAT x FROM x ;
INSERT INTO x SELECT randstr ( 10 , 10 ) FROM x WHERE random () % 10 == 10 ;
CREATE VIRTUAL TABLE x USING tcl ( vtab_command ) ;
INSERT INTO x VALUES ( 10 , 'y' , 10 ) ;
INSERT INTO x VALUES ( 10 , 10 , 'y' ) ;
SELECT * FROM x WHERE x = AND x BETWEEN AND AND x IN ( 10 , 10 , 10 , 10 ) ;
CREATE VIRTUAL TABLE x USING tcl ( vtab_cmd t1 {a b} ) ;
CREATE VIRTUAL TABLE x USING tcl ( vtab_cmd t2 {c d} ) ;
CREATE VIRTUAL TABLE x USING tcl ( vtab_cmd t3 {e f} ) ;
CREATE VIRTUAL TABLE x USING tcl ( vtab_cmd 0 ) ;
SELECT * FROM x WHERE x LIKE 'y' ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' ) ;
CREATE TABLE x ( x INTEGER , x TEXT ) ;
CREATE TABLE x ( x INT , x TEXT ) ;
CREATE TABLE x ( x INT , x INT , x TEXT ) ;
SELECT * FROM x LEFT JOIN x ON x = x WHERE x IS NULL ;
CREATE TABLE x ( x INT , x INT , x INT , x INT ) ;
CREATE TABLE x ( x TEXT , x TEXT , x TEXT ) ;
SELECT x FROM x WHERE x == 'y' ;
INSERT INTO x ( x , x , x ) VALUES ( 'y' , 'y' , 'y' ) ;
UPDATE x SET x = x CONCAT x ;
SELECT x , length ( x ) , x FROM x ;
UPDATE x SET x = zeroblob ( 10 ) ;
UPDATE x SET x = zeroblob ( 10 ) WHERE x = 10 ;
SELECT * FROM x UNION SELECT * FROM x ;
UPDATE x SET x = 'y' ;
ROLLBACK TO x ;
UPDATE x SET x = upper ( x ) ;
INSERT INTO x SELECT x + 10 , x + 10 , x + 10 FROM x ;
INSERT INTO x VALUES ( 'y' , 'y' , NULL ) ;
INSERT INTO x VALUES ( 0.1 , 0.1 , 0.1 ) ;
INSERT INTO x VALUES ( NULL , NULL , NULL , NULL , NULL ) ;
INSERT INTO x VALUES ( 'y' , NULL , NULL , NULL , NULL ) ;
INSERT INTO x VALUES ( 10 , NULL ) ;
CREATE TABLE x ( x VARCHAR(10) , x INTEGER ) ;
CREATE TABLE x ( x VARCHAR(15) , x FLOAT ) ;
SELECT CAST ( 'y' AS INTEGER ) ;
INSERT INTO x VALUES ( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ;
SELECT 'y' - 10 ;
SELECT 10 - 10 ;
SELECT - 'y' ;
SELECT 'y' + 10 ;
DELETE FROM x WHERE x IS NULL OR x != 10 ;
UPDATE x SET x = 10 WHERE x == 10 ;
INSERT INTO x VALUES ( 10 , 0.1 , 'y' ) ;
INSERT INTO x VALUES ( 0.1 , NULL , NULL ) ;
INSERT INTO x VALUES ( NULL , 10 , NULL ) ;
INSERT INTO x VALUES ( NULL , NULL , 0.1 ) ;
INSERT INTO x VALUES ( 'y' , 'y' , 10 ) ;
INSERT INTO x VALUES ( 'y' , 10 , 10 ) ;
UPDATE x SET x = 10 , x = 10 ;
INSERT OR IGNORE INTO x VALUES ( 10 , 0.1 ) ;
INSERT INTO x VALUES ( 10 , 0.1 ) ;
INSERT OR ROLLBACK INTO x VALUES ( 10 , 0.1 ) ;
INSERT OR IGNORE INTO x VALUES ( 10 , 10 ) ;
INSERT INTO x ( x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ;
UPDATE x SET x = x * 10 WHERE x = 10 ;
CREATE VIEW x ( x ) AS SELECT x FROM x ;
INSERT INTO x ( x , x ) VALUES ( 10 , 'y' ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INTEGER ) ;
SELECT count ( * ) , x FROM x WHERE x = 10 AND x <= 10 GROUP BY x ORDER BY 10 ;
SELECT count ( * ) , x FROM x WHERE x = 10 AND x = 10 GROUP BY x ORDER BY 10 ;
SELECT count ( * ) , x FROM x WHERE x = 10 AND x BETWEEN 10 AND 10 GROUP BY x ORDER BY 10 ;
SELECT count ( * ) , min ( x ) , max ( x ) FROM x WHERE x = 10 ;
SELECT x FROM x WHERE x IN ( 10 , 10 ) ORDER BY x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x TEXT NOT NULL , x INTEGER ) ;
SELECT * FROM x , x WHERE x = x AND x = 10 AND x = 10 ;
INSERT INTO x VALUES ( NULL , NULL ) ;
SELECT x FROM x ORDER BY 10 ;
INSERT INTO x VALUES ( 'y' , 10 ) ;
SELECT * FROM x ORDER BY 10 ;
SELECT x AS c1 , x AS c2 FROM x ORDER BY x ;
SELECT x + 10 FROM x ORDER BY 10 ;
SELECT x CONCAT 'y' FROM x ORDER BY 10 ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 'y' ) ;
SELECT x FROM x WHERE x = 'y' ORDER BY x ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ;
SELECT x FROM x WHERE x > 'y' ORDER BY 10 ;
SELECT x FROM x WHERE x > 'y' ORDER BY 10 , x ;
SELECT x FROM x WHERE x < 'y' ORDER BY 10 ;
SELECT x FROM x WHERE x < 'y' ORDER BY 10 , x ;
SELECT x FROM x WHERE x >= 'y' ORDER BY 10 ;
SELECT x FROM x WHERE x >= 'y' ORDER BY 10 , x ;
SELECT x FROM x WHERE x <= 'y' ORDER BY 10 ;
SELECT x FROM x WHERE x <= 'y' ORDER BY 10 , x ;
SELECT x FROM x WHERE x BETWEEN 'y' AND 'y' ORDER BY 10 ;
SELECT x FROM x WHERE x BETWEEN 'y' AND 'y' ORDER BY 10 , x ;
SELECT x FROM x WHERE x IN ( 'y' , 'y' ) ORDER BY 10 , x ;
SELECT x FROM x WHERE x IN ( SELECT x FROM x WHERE x IN ( 'y' , 'y' ) ) ;
SELECT x FROM x WHERE NOT x > 'y' ORDER BY 10 ;
SELECT x FROM x WHERE NOT x > 'y' ORDER BY 10 , x ;
SELECT x FROM x WHERE NOT x < 'y' ORDER BY 10 ;
SELECT x FROM x WHERE NOT x < 'y' ORDER BY 10 , x ;
SELECT x FROM x WHERE NOT x = 'y' ;
SELECT x FROM x WHERE NOT x >= 'y' ORDER BY 10 ;
SELECT x FROM x WHERE NOT x >= 'y' ORDER BY 10 , x ;
SELECT x FROM x WHERE NOT x <= 'y' ORDER BY 10 ;
SELECT x FROM x WHERE NOT x <= 'y' ORDER BY 10 , x ;
SELECT x FROM x WHERE NOT CASE x WHEN 'y' THEN 10 ELSE 10 END ;
SELECT x FROM x WHERE NOT x IN ( 'y' , 'y' ) ;
SELECT x FROM x WHERE NOT x IN ( SELECT x FROM x WHERE x IN ( 'y' , 'y' ) ) ;
SELECT x > 'y' FROM x ;
SELECT x < 'y' FROM x ;
SELECT x = 'y' FROM x ;
SELECT x <= 'y' FROM x ;
SELECT x >= 'y' FROM x ;
SELECT x BETWEEN 'y' AND 'y' FROM x ;
SELECT CASE x WHEN 'y' THEN 10 ELSE 10 END FROM x ;
SELECT x IN ( 'y' , 'y' ) FROM x ;
SELECT x IN ( SELECT x FROM x WHERE x IN ( 'y' , 'y' ) ) FROM x ;
SELECT x FROM x , x WHERE x = x ;
SELECT x FROM x JOIN x USING ( b ) ;
SELECT x FROM x NATURAL JOIN x ;
SELECT x FROM x LEFT OUTER JOIN x USING ( b ) ORDER BY x ;
SELECT x , x FROM x LEFT OUTER JOIN x USING ( b ) ;
SELECT count ( * ) FROM x GROUP BY x ;
SELECT * FROM x GROUP BY x ;
SELECT DISTINCT x FROM x ;
SELECT x FROM x UNION SELECT x FROM x ;
SELECT x FROM x EXCEPT SELECT x FROM x ;
SELECT x FROM x INTERSECT SELECT x FROM x ;
SELECT x FROM x UNION ALL SELECT x FROM x ;
SELECT x FROM x UNION ALL SELECT x FROM x ORDER BY 10 ;
DELETE FROM x WHERE 10 ;
INSERT INTO x VALUES ( 'y' , NULL ) ;
SELECT * FROM x , x WHERE x = x ;
SELECT x FROM x WHERE x IN ( 'y' , 'y' ) ORDER BY x ;
SELECT * FROM x NOT INDEXED NATURAL JOIN x NOT INDEXED ;
SELECT * FROM x NATURAL JOIN x ;
INSERT INTO x SELECT upper ( x ) FROM x ;
SELECT min ( x ) FROM x ;
SELECT max ( x ) FROM x ;
SELECT max ( x , x ) FROM x ;
SELECT max ( x , 'y' ) FROM x ;
SELECT max ( 'y' , x ) FROM x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY ) ;
SELECT DISTINCT x , x FROM x ;
SELECT x , x FROM x UNION SELECT x , x FROM x ;
SELECT x FROM x EXCEPT SELECT x FROM x WHERE x != 'y' ;
SELECT x , x FROM x EXCEPT SELECT x , x FROM x ;
SELECT x , x FROM x EXCEPT SELECT x , x FROM x WHERE x != 'y' ;
SELECT x FROM x INTERSECT SELECT x FROM x WHERE x != 'y' ;
SELECT x , x FROM x INTERSECT SELECT x , x FROM x ;
SELECT x FROM x INTERSECT SELECT x FROM x ORDER BY 10 ;
SELECT x , count ( * ) FROM x GROUP BY x ;
SELECT x , x , count ( * ) FROM x GROUP BY x , x ORDER BY x , x ;
PRAGMA x = 'y' ;
SELECT * FROM x WHERE x < 'y' ;
SELECT x AS x FROM x WHERE x = 'y' ;
;
SELECT * FROM x , x , x WHERE x = x AND x = x AND x = 10 ;
INSERT INTO x ( x ) VALUES ( 10 ) ,( 10 ) ,( 10 ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
SELECT * , 'y' FROM x , x , x WHERE x = x AND x = x AND x = 10 ;
SELECT * , 'y' FROM x , x , x WHERE x = x AND x = x AND 10 = x ;
INSERT INTO x VALUES ( 'y' ) ,( 'y' ) ,( 'y' ) ;
CREATE TABLE x ( x NOT NULL , x INTEGER PRIMARY KEY , x ) ;
SELECT x , x , x , x FROM x , x ;
SELECT x , x , x , x , * FROM x , x , x ;
SELECT x , x FROM x , x ;
SELECT * FROM x , x , x ;
SELECT x , * FROM x ORDER BY 10 ;
CREATE TABLE x AS SELECT x FROM SELECT x AS Bbb FROM x ;
SELECT x FROM x 'y' ;
SELECT ( SELECT avg ( x ) UNION SELECT min ( x ) OVER( ) ) FROM x ;
CREATE TABLE x AS SELECT x FROM x ;
PRAGMA x ( x ) ;
CREATE TABLE x AS SELECT x FROM x GROUP BY 10 ;
INSERT OR IGNORE INTO x VALUES ( 10 , 10 , 10 ) ;
INSERT OR REPLACE INTO x VALUES ( 10 , 10 , 10 ) ;
REPLACE INTO x VALUES ( 10 , 10 , 10 ) ;
INSERT OR FAIL INTO x VALUES ( 10 , 10 , 10 ) ;
INSERT OR ABORT INTO x VALUES ( 10 , 10 , 10 ) ;
INSERT OR ROLLBACK INTO x VALUES ( 10 , 10 , 10 ) ;
INSERT OR IGNORE INTO x VALUES ( 10 , 10 , NULL ) ;
INSERT OR REPLACE INTO x VALUES ( 10 , 10 , NULL ) ;
INSERT OR FAIL INTO x VALUES ( 10 , 10 , NULL ) ;
INSERT OR ABORT INTO x VALUES ( 10 , 10 , NULL ) ;
INSERT OR ROLLBACK INTO x VALUES ( 10 , 10 , NULL ) ;
CREATE TABLE x ( x UNIQUE , x ) ;
SELECT count ( * ) , min ( x ) , max ( x ) FROM x ;
INSERT OR REPLACE INTO x VALUES ( 10 , 10 ) ;
INSERT OR IGNORE INTO x SELECT * FROM x ;
INSERT OR IGNORE INTO x SELECT x + 10 , x + 10 FROM x ;
CREATE TABLE x ( x INTEGER UNIQUE ON CONFLICT IGNORE , x INTEGER UNIQUE ON CONFLICT FAIL , x INTEGER UNIQUE ON CONFLICT REPLACE , x INTEGER UNIQUE ON CONFLICT ABORT , x INTEGER UNIQUE ON CONFLICT ROLLBACK ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 ) ;
INSERT OR ROLLBACK INTO x VALUES ( 10 , 10 ) ;
INSERT OR ROLLBACK INTO x VALUES ( 10 ) ;
INSERT INTO x SELECT 10 , 10 , 10 FROM x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x TEXT ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ;
CREATE TABLE x ( x CHECK( x != 10 ) ) ;
REPLACE INTO x VALUES ( 10 ) ;
CREATE TABLE x ( x TEXT PRIMARY KEY NOT NULL , x TEXT NOT NULL , x INTEGER ) ;
CREATE UNIQUE INDEX x ON x ( x , x ) ;
REPLACE INTO x ( x , x , x ) VALUES ( 'y' , 'y' , 10 ) ;
SELECT x , x FROM x INDEXED BY x ;
SELECT x , x , x FROM x NOT INDEXED ;
CREATE TABLE x ( x INTEGER PRIMARY KEY ON CONFLICT REPLACE , x UNIQUE ON CONFLICT IGNORE , x UNIQUE ON CONFLICT FAIL ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ;
SELECT x , x , x FROM x ORDER BY x ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 10 , 10 ) ;
CREATE TABLE x ( x INT PRIMARY KEY ON CONFLICT REPLACE , x UNIQUE ON CONFLICT IGNORE , x UNIQUE ON CONFLICT FAIL ) ;
CREATE TABLE x ( x UNIQUE ON CONFLICT IGNORE , x INT PRIMARY KEY ON CONFLICT REPLACE , x UNIQUE ON CONFLICT FAIL ) ;
CREATE TABLE x ( x UNIQUE ON CONFLICT FAIL , x INT PRIMARY KEY ON CONFLICT REPLACE , x UNIQUE ON CONFLICT IGNORE ) ;
CREATE TABLE x ( x UNIQUE ON CONFLICT REPLACE , x INTEGER PRIMARY KEY ON CONFLICT IGNORE , x UNIQUE ON CONFLICT FAIL ) ;
CREATE TABLE x ( x UNIQUE ON CONFLICT REPLACE , x INT PRIMARY KEY ON CONFLICT IGNORE , x UNIQUE ON CONFLICT FAIL ) ;
CREATE TABLE x ( x UNIQUE ON CONFLICT REPLACE , x UNIQUE ON CONFLICT IGNORE , x INTEGER PRIMARY KEY ON CONFLICT FAIL ) ;
REPLACE INTO x VALUES ( NULL , 'y' ) ,( 10 , 'y' ) ;
CREATE TABLE x ( x UNIQUE , x UNIQUE ) ;
UPDATE x SET x = 'y' , x = 'y' CONCAT substr ( x , 10 , 10 ) WHERE x = 'y' ;
BEGIN EXCLUSIVE ;
UPDATE x SET x = NULL , x = NULL WHERE x = 'y' ;
INSERT INTO x ( x ) SELECT x + 10 FROM x ;
INSERT INTO x SELECT x , x * x FROM x ;
INSERT INTO x SELECT randomblob ( 10 ) FROM x ;
INSERT OR IGNORE INTO x SELECT x * 10 , x FROM x ;
CREATE TABLE x AS SELECT x , 10 AS y FROM x WHERE x % 10 != 10 ORDER BY x ;
INSERT INTO x SELECT str ( x + 10 ) FROM x ;
INSERT INTO x ( x , x , x , x ) VALUES ( 10 , 'y' , 'y' , 'y' ) ;
SELECT x FROM x WHERE x > 'y' ;
DELETE FROM x WHERE x IN ( 10 , 10 ) ;
SELECT sum ( x + length ( x ) ) FROM x WHERE x IN ( 10 , 10 , 10 ) AND x IS NULL ;
CREATE TABLE x ( x , x , x , x INTEGER PRIMARY KEY ) ;
INSERT INTO x ( x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ;
SELECT * FROM x WHERE x <= 'y' ORDER BY x DESC ;
DELETE FROM x WHERE x IN ( SELECT x FROM x ) ;
SELECT CAST ( ( SELECT x FROM x WHERE 10 = x ) AS INT ) FROM x WHERE 10 = x ;
CREATE VIEW x AS SELECT 10 , 10 ;
CREATE TRIGGER x AFTER INSERT ON x BEGIN SELECT 10 ; END ;
SELECT x , x , x , 'y' FROM x ;
UPDATE x SET x = 'y' , x = 'y' WHERE x = 'y' ;
UPDATE x SET x = 'y' , x = 'y' , x = 'y' WHERE x = 'y' ;
SELECT * FROM x , x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x NOT NULL ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x , x , x , x , x ) ;
SELECT * FROM x WHERE likelihood ( x = , 0.1 ) AND x BETWEEN AND ;
CREATE TABLE x ( x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x ) ;
CREATE INDEX x ON x ( x , x , x , x , x , x , x , x , x , x ) ;
SELECT x FROM SELECT count ( * ) AS a FROM x WHERE x == 10 ;
INSERT INTO x VALUES ( 10 ) ,( 10 ) ;
INSERT INTO x VALUES ( 10 ) ,( 10 ) ,( 'y' ) ;
CREATE VIEW x ( x , x ) AS SELECT x , 10 FROM x UNION ALL SELECT x , 10 FROM x ;
SELECT count ( * ) FROM x WHERE x != 10 ;
CREATE INDEX x ON x ( x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x ) ;
SELECT * FROM x ORDER BY x , x ;
UPDATE x SET x = randstr ( 10 , 10 ) ;
INSERT INTO x . x SELECT * FROM x . x ;
UPDATE x . x SET x = randstr ( 10 , 10 ) WHERE x >= 10 ;
UPDATE x SET x = randstr ( 10 , 10 ) WHERE x >= 10 ;
UPDATE x . x SET x = 'y' WHERE x = 10 ;
SELECT x FROM x . x WHERE x = 10 ;
UPDATE x SET x = randomblob ( 10 ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
SELECT * , 'y' FROM x ;
SELECT sqlite_compileoption_used ( 'y' ) ;
SELECT sqlite_compileoption_used ( x ) ;
SELECT sqlite_compileoption_used () ;
SELECT sqlite_compileoption_used ( NULL ) ;
SELECT sqlite_compileoption_used ( 'y' , 10 ) ;
SELECT sqlite_compileoption_used ( 10 ) ;
SELECT sqlite_compileoption_used ( 0.1 ) ;
SELECT sqlite_compileoption_get () ;
SELECT sqlite_compileoption_get ( 10 , 10 ) ;
SELECT sqlite_compileoption_used ( sqlite_compileoption_get ( 10 ) ) ;
SELECT sqlite_compileoption_get ( 10 ) ;
INSERT INTO x VALUES ( 0.1 ) ;
INSERT INTO x ( x , x ) VALUES ( 'y' , 'y' ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 'y' ) ,( 10 , 'y' ) ;
INSERT INTO x ( x ) VALUES ( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ;
CREATE INDEX x ON x ( x ) WHERE datetime ( x , x ) IS NOT NULL ;
INSERT INTO x ( x ) VALUES ( 0.1 ) ;
INSERT INTO x ( x , x ) VALUES ( 0.1 , 'y' ) ;
INSERT INTO x ( x , x ) VALUES ( 'y' , 0.1 ) ;
CREATE TABLE x ( x , x AS( x + julianday ( 'y' ) ) ) ;
SELECT x , quote ( substr ( x , 10 , 10 ) ) FROM x 'y' ORDER BY x ;
SELECT x , quote ( substr ( x , 10 , 10 ) ) FROM x WHERE x = 10 ;
SELECT x , quote ( substr ( x , 10 , 10 ) ) FROM x 'y' ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 'y' , 10 ) ,( 10 , 'y' , 10 ) ;
INSERT INTO x ( x ) SELECT x FROM x WHERE x = 10 ;
UPDATE x SET x = ( SELECT x FROM x ) WHERE x = 10 ;
DELETE FROM x WHERE x < 10 ;
CREATE TABLE x ( x INT UNIQUE , x INT ) ;
SELECT * FROM x WHERE x = 'y' AND x = 'y' ;
DELETE FROM x WHERE x = 'y' AND x = 'y' ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INT ) ;
DELETE FROM x WHERE x = 'y' OR x = 'y' ;
DELETE FROM x WHERE x = 10 OR x > 10 ;
INSERT INTO x ( x , x , x ) SELECT x + 10 , 10 , x FROM x ;
INSERT INTO x ( x , x , x ) SELECT x + 10 , 10 , x FROM x WHERE x = 10 ;
DELETE FROM x WHERE EXISTS ( SELECT 10 FROM x AS v WHERE x = x + 10 ) ;
DELETE FROM x WHERE x = 10 OR x = 10 ;
UPDATE x SET x = ( SELECT x FROM x WHERE x = 'y' ) WHERE x = 'y' ;
DELETE FROM x WHERE x IN ( 10 , 10 , 10 ) ;
INSERT INTO x SELECT x + 10 , x + 10 FROM x ;
SELECT x FROM x WHERE x > 10 AND x < 10 ;
SELECT x FROM x WHERE x >= 10 AND x < 10 ;
SELECT x FROM x WHERE x > 10 AND x <= 10 ;
SELECT x FROM x WHERE x >= 10 AND x <= 10 ;
INSERT INTO x VALUES ( 10 , NULL , NULL , 0.1 ) ;
SELECT x FROM x WHERE x >= 10 ORDER BY x ;
SELECT x FROM x WHERE x > 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND x > 'y' ;
SELECT x FROM x WHERE x = 10 AND x >= 'y' ;
SELECT x FROM x WHERE x = 10 AND x < 'y' ;
SELECT x FROM x WHERE x = 10 AND x <= 'y' ;
SELECT x CONCAT x CONCAT x CONCAT x FROM x ORDER BY x , x , x , x ;
SELECT x CONCAT x CONCAT x CONCAT x FROM x ORDER BY x DESC , x ASC , x DESC , x ASC ;
SELECT x CONCAT x CONCAT x CONCAT x FROM x ORDER BY x ASC , x DESC , x ASC , x DESC ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x , x , x ) ;
INSERT INTO x VALUES ( 10 , NULL , NULL , NULL , NULL ) ;
INSERT INTO x VALUES ( 10 , 0.1 , 0.1 , 0.1 , 0.1 ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 'y' , 'y' ) ;
SELECT x FROM x ORDER BY x DESC ;
SELECT x FROM x WHERE x > 10 ;
SELECT x FROM x WHERE x IN ( 10 , 10 ) AND x > 10 AND x < 'y' ;
CREATE TABLE x AS SELECT x AS a , x AS b FROM x ;
CREATE TABLE x ( x PRIMARY KEY NOT NULL , x NOT NULL ) ;
CREATE TABLE x ( x , x NOT NULL , x NOT NULL , x NOT NULL ) ;
SELECT ( SELECT DISTINCT x FROM x AS i ) FROM x AS o ORDER BY x ;
SELECT quote ( x ) FROM x ORDER BY 10 ;
INSERT INTO x ( x ) VALUES ( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ;
SELECT DISTINCT x FROM x ORDER BY x ASC ;
SELECT DISTINCT x FROM x ORDER BY x DESC ;
SELECT DISTINCT x FROM x ORDER BY x ;
SELECT ( SELECT 'y' UNION SELECT DISTINCT max ( x ) ORDER BY 10 ) FROM x ;
SELECT * , 'y' FROM x ORDER BY x , x ;
CREATE TABLE x ( x TEXT UNIQUE NOT NULL ) ;
SELECT * , 'y' FROM x ORDER BY 10 , 10 , 10 , 10 , 10 ;
CREATE TABLE x ( x , x , x , x , x , x , x , x , x , x ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
SELECT DISTINCT x , x , x FROM x WHERE x = 10 AND x = 10 ;
SELECT DISTINCT x , x , x , x FROM x WHERE x = 10 AND x = 10 ;
SELECT DISTINCT x , x , x , x , x FROM x WHERE x = 10 AND x = 10 ;
SELECT DISTINCT x , x , x , x , x , x FROM x WHERE x = 10 AND x = 10 ;
CREATE TABLE x ( x INT , x INT ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
SELECT DISTINCT x , x FROM x , x ;
SELECT DISTINCT x , x + 10 FROM x ;
SELECT DISTINCT x , x , x FROM x ;
SELECT DISTINCT x , x , x FROM x WHERE x = 10 ;
INSERT INTO x VALUES ( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ;
SELECT DISTINCT x FROM x , x WHERE x = x AND x != 10 ;
SELECT DISTINCT x FROM x , x WHERE x = x AND x != 10 ORDER BY x DESC ;
SELECT DISTINCT x FROM x , x WHERE x = x ;
INSERT INTO x ( x ) VALUES ( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ;
SELECT DISTINCT x , x , x FROM x CROSS JOIN x ORDER BY x ;
INSERT INTO x ( x ) VALUES ( NULL ) ,( NULL ) ,( NULL ) ,( NULL ) ,( NULL ) ,( NULL ) ,( NULL ) ,( NULL ) ,( NULL ) ,( NULL ) ,( NULL ) ;
SELECT group_concat ( DISTINCT x , x ) FROM x ;
SELECT * FROM x WHERE x IN ( 10 , 10 ) ;
INSERT INTO x VALUES ( 'y' , 'y' , 'y' , 'y' , 'y' , 'y' ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x UNIQUE ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x TEXT , x INTEGER ) ;
INSERT INTO x VALUES ( 10 , 'y' , NULL ) ;
CREATE TABLE x ( x TEXT , x INTEGER PRIMARY KEY ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x TEXT , x TEXT ) ;
INSERT INTO x VALUES ( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 10 , 10 ) ;
INSERT INTO x VALUES ( 'y' , 'y' ) ,( 'y' , 'y' ) ,( 'y' , 'y' ) ;
DELETE FROM x WHERE x IN ( 'y' , 'y' ) ;
SELECT my_changes ( 'y' ) ;
INSERT INTO x VALUES ( 'y' ) ,( 'y' ) ;
UPDATE x SET x = my_changes ( 'y' ) ;
UPDATE x SET x = changes () ;
SELECT 'y' ;
UPDATE x SET x = x + 10 WHERE x % 10 ;
CREATE TABLE x ( x FLOAT , x INTEGER ) ;
INSERT INTO x VALUES ( 'y' , 10 , 'y' ) ;
SELECT quote ( x ) , quote ( x ) , quote ( x ) FROM x ORDER BY x DESC LIMIT 10 ;
SELECT quote ( x ) , quote ( x ) FROM x ORDER BY x DESC LIMIT 10 ;
SELECT quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) FROM x ORDER BY x DESC LIMIT 10 ;
SELECT quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) FROM x ;
SELECT quote ( x ) , quote ( x ) FROM x ;
SELECT quote ( x ) , quote ( x ) , quote ( x ) FROM x ;
SELECT x , x , x FROM x ORDER BY x DESC LIMIT 10 ;
INSERT INTO x VALUES ( 'y' , 'y' , 'y' , 'y' ) ;
CREATE TABLE x ( x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x ) ;
CREATE TABLE x ( x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x ) ;
CREATE TABLE x ( x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x ) ;
CREATE TABLE x ( x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x ) ;
INSERT INTO x VALUES ( 0.1 , 'y' ) ;
CREATE TABLE x ( x , x INTEGER PRIMARY KEY , x ) ;
INSERT INTO x VALUES ( 10 , NULL , 10 ) ;
UPDATE x SET x = NULL WHERE x = 10 ;
CREATE TABLE x ( x , x INT PRIMARY KEY NOT NULL , x ) ;
INSERT INTO x VALUES ( 0.1 , 0.1 ) ;
CREATE TABLE x ( x TEXT , x INTEGER CHECK( x > 10 ) ) ;
CREATE TABLE x ( x CHECK( x CONCAT x ) , x ) ;
CREATE TABLE x ( x PRIMARY KEY ON CONFLICT ABORT , x ) ;
CREATE TABLE x ( x PRIMARY KEY ON CONFLICT ROLLBACK , x ) ;
CREATE TABLE x ( x PRIMARY KEY ON CONFLICT IGNORE , x ) ;
CREATE TABLE x ( x PRIMARY KEY ON CONFLICT FAIL , x ) ;
CREATE TABLE x ( x PRIMARY KEY ON CONFLICT REPLACE , x ) ;
CREATE TABLE x ( x , x NOT NULL ON CONFLICT ABORT ) ;
CREATE TABLE x ( x , x NOT NULL ON CONFLICT ROLLBACK ) ;
CREATE TABLE x ( x , x NOT NULL ON CONFLICT IGNORE ) ;
CREATE TABLE x ( x , x NOT NULL ON CONFLICT FAIL ) ;
CREATE TABLE x ( x , x NOT NULL ON CONFLICT REPLACE ) ;
CREATE TABLE x ( x , x NOT NULL ) ;
INSERT INTO x SELECT ( ( x % 10 ) * x + 10 ) , 'y' FROM x ;
CREATE TABLE x ( x , x INTEGER PRIMARY KEY ) ;
CREATE TABLE x . x ( x , x ) ; INSERT INTO x . x VALUES ( 10 , 10 ) ;
DELETE FROM x . x WHERE x > 10 ;
SELECT count ( * ) FROM x . x UNION ALL SELECT count ( * ) FROM x . x ;
SELECT count ( * ) FROM x . x ;
CREATE VIEW x AS SELECT * FROM x AS x , x AS y ;
SELECT CASE 10 WHEN 10 THEN 'y' WHEN 10 THEN 'y' ELSE 'y' END ;
INSERT INTO x VALUES ( 'y' , 'y' , 10 , 0.1 ) ;
SELECT CASE NULL WHEN 'y' THEN 'y' WHEN 'y' THEN 'y' ELSE 'y' END ;
INSERT INTO x VALUES ( 10 , 10 , 'y' , 10 , 'y' , 'y' ) ;
SELECT typeof ( x ) , x , typeof ( x ) , x , typeof ( x ) , x FROM x ;
SELECT CASE WHEN NULL THEN 'y' ELSE 'y' END ;
SELECT CASE WHEN 0.1 THEN 'y' ELSE 'y' END ;
SELECT CASE WHEN 10 THEN 'y' ELSE 'y' END ;
SELECT CASE WHEN 'y' THEN 'y' ELSE 'y' END ;
CREATE TABLE x ( x , x , x , x , x ) ;
INSERT INTO x SELECT * FROM x WHERE x = 'y' ;
INSERT INTO x SELECT x FROM x ;
INSERT INTO x . x SELECT x FROM x . x ;
INSERT INTO x VALUES ( NULL , 0.1 ) ;
INSERT INTO x VALUES ( 10 , NULL , 0.1 ) ;
INSERT INTO x VALUES ( 'y' , 10 , 'y' , 'y' ) ;
INSERT INTO x VALUES ( 'y' , 0.1 , 0.1 , NULL ) ;
INSERT INTO x VALUES ( 'y' , 10 , 'y' , 0.1 ) ;
INSERT INTO x VALUES ( 'y' , NULL , 0.1 , NULL ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 0.1 ) ;
INSERT INTO x VALUES ( 10 , 10 , 0.1 , NULL ) ;
INSERT INTO x VALUES ( 10 , NULL , 'y' , 'y' ) ;
INSERT INTO x VALUES ( 10 , NULL , 0.1 , NULL ) ;
INSERT INTO x VALUES ( 10 , 0.1 , 0.1 ) ;
INSERT INTO x VALUES ( 0.1 , 0.1 , 'y' ) ;
INSERT INTO x VALUES ( NULL , 10 , 'y' ) ;
INSERT INTO x VALUES ( 0.1 , 10 ) ;
CREATE TABLE x ( x PRIMARY KEY , x TEXT ) ;
CREATE TABLE x ( x TEXT , x INTEGER , x ) ;
INSERT INTO x VALUES ( 10 , 0.1 , NULL ) ;
INSERT INTO x VALUES ( 'y' , 10 , 0.1 ) ;
INSERT INTO x VALUES ( 'y' , 10 , NULL ) ;
CREATE TABLE x ( x , x TEXT ) ;
INSERT INTO x SELECT * FROM x WHERE x < 10 ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ;
INSERT OR REPLACE INTO x VALUES ( 'y' , 'y' ) ;
CREATE TABLE x ( x , x UNIQUE ) ;
INSERT INTO x . x VALUES ( 10 , 'y' ) ;
DELETE FROM x . x ;
INSERT INTO x . x VALUES ( NULL , 'y' ) ;
INSERT INTO x ( x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 ) ;
SELECT 'y' , x FROM x . x WHERE x = 'y' ;
SELECT 'y' , x FROM x WHERE x = 'y' ;
CREATE TABLE x ( x PRIMARY KEY , x UNIQUE ) ;
INSERT INTO x SELECT x + 10 , randomblob ( 10 ) FROM x ;
DELETE FROM x WHERE x % 10 ;
INSERT INTO x SELECT x , x FROM x WHERE x % 10 ;
UPDATE x SET x = randomblob ( 10 ) WHERE ( x % 10 ) == 10 ;
VACUUM INTO 'file_name' ;
SELECT x , x FROM x . x ;
UPDATE x SET x = x , x = random () ;
SELECT count ( * ) FROM x , x , x , x , x , x , x ;
SELECT count ( * ) FROM x , x LEFT JOIN x ;
SELECT count ( * ) FROM x , x LEFT JOIN x , x ;
SELECT * FROM x WHERE x IN ( 'y' , 'y' ) ;
SELECT 10 FROM x . x LIMIT 10 ;
CREATE TABLE x ( x INT , x INT , x CHAR(100) ) ;
SELECT count ( * ) , max ( x ) FROM x ;
INSERT INTO x SELECT x , x + 10 FROM x WHERE x < 10 ;
SELECT x , test_eval ( 'y' CONCAT x ) , x FROM x ;
UPDATE x SET x = 10 , x = 10 , x = 10 ;
CREATE TABLE x ( x UNIQUE , x UNIQUE , x UNIQUE ) ;
INSERT INTO x ( x , x ) SELECT randstr ( 10 , 10 ) , 10 FROM x ;
UPDATE x SET x = x , x = 10 ;
INSERT INTO x ( x ) SELECT randstr ( 10 , 10 ) FROM x ;
SELECT 10 ;
INSERT INTO x VALUES ( 10 ) ,( 10 ) ,( NULL ) ,( 0.1 ) ,( 'y' ) ,( 'y' ) ;
INSERT INTO x SELECT randomblob ( 10 ) , randomblob ( 10 ) FROM x ;
INSERT INTO x VALUES ( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ;
SELECT sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) FROM x ;
CREATE VIEW x AS SELECT sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) , sum ( x ) FILTER( WHEN x > 10 ) FROM x ;
SELECT x , max ( x ) FILTER( WHEN x = 'y' ) FROM x ;
SELECT x , x , max ( x ) FILTER( WHEN x = 'y' ) FROM x GROUP BY x ;
SELECT avg ( x ) FILTER( WHEN x != 10 ) AS h FROM x GROUP BY x ORDER BY x ;
SELECT avg ( x ) FILTER( WHEN x != 10 ) AS h FROM x GROUP BY x ORDER BY ( x + 0.1 ) ;
SELECT x , avg ( x ) FILTER( WHEN x != 10 ) AS h FROM x GROUP BY x ORDER BY avg ( x ) ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , NULL ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , NULL ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , NULL ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
SELECT x / 10 , sum ( x ) FILTER( WHEN x % 10 = 10 ) , sum ( x ) FILTER( WHEN x % 10 = 10 ) , sum ( x ) FILTER( WHEN x % 10 = 10 ) , sum ( x ) FILTER( WHEN x % 10 = 10 ) , sum ( x ) FILTER( WHEN x % 10 = 10 ) FROM x GROUP BY ( x / 10 ) ORDER BY 10 ;
CREATE TABLE x ( x TEXT PRIMARY KEY , x TEXT ) ;
SELECT 10 , x FROM x ;
INSERT INTO x VALUES ( 10 , NULL ) ,( 10 , 10 ) ,( 10 , 10 ) ;
INSERT OR REPLACE INTO x ( x , x , x ) VALUES ( 10 , NULL , 'y' ) ;
INSERT OR REPLACE INTO x ( x , x , x ) VALUES ( 10 , 10 , 'y' ) ;
CREATE UNIQUE INDEX x ON x ( x ) WHERE x < 10 ;
SELECT x , typeof ( x ) FROM x ;
CREATE TABLE x ( x INT UNIQUE ) ;
CREATE TABLE x ( x TEXT PRIMARY KEY ) ;
CREATE VIEW x AS SELECT x AS y FROM x ;
INSERT INTO x VALUES ( 10 , 10 , 'y' , 'y' , 'y' ) ;
CREATE TABLE x ( x , x PRIMARY KEY ) ;
REPLACE INTO x ( x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 ) ;
CREATE TABLE x . x ( x PRIMARY KEY ) ;
UPDATE x SET x = x + 10 , x = x + 10 ;
CREATE TABLE x ( x , x PRIMARY KEY , x ) ;
INSERT INTO x VALUES ( 10 , NULL , NULL ) ;
INSERT INTO x VALUES ( NULL , 10 , 10 , 10 ) ;
INSERT INTO x VALUES ( NULL , 'y' , 10 , 'y' ) ;
INSERT INTO x VALUES ( 10 , 'y' , 10 , 'y' ) ;
UPDATE x SET x = 10 , x = 'y' WHERE x = 10 ;
INSERT INTO x VALUES ( 'y' , 10 , 'y' , NULL ) ;
INSERT INTO x VALUES ( 'y' , 10 , 'y' , 10 ) ;
INSERT INTO x VALUES ( 10 , 'y' , 10 , NULL ) ;
INSERT INTO x VALUES ( 10 , 'y' , 10 , 10 ) ;
INSERT INTO x VALUES ( NULL , 'y' ) ;
INSERT OR FAIL INTO x VALUES ( 10 ) ,( 10 ) ;
INSERT OR REPLACE INTO x VALUES ( 10 , 'y' ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 'y' , NULL ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x , x ) ;
SELECT sum ( x ) , count ( x ) , round ( avg ( x ) , 10 ) , min ( x ) , max ( x ) , count ( * ) FROM x ;
SELECT max ( 'y' CONCAT x CONCAT 'y' ) FROM x ;
SELECT min ( 'y' CONCAT x CONCAT 'y' ) FROM x ;
SELECT typeof ( random () ) ;
SELECT randomblob ( 10 ) IS NOT NULL ;
SELECT typeof ( randomblob ( 10 ) ) ;
SELECT testfunc ( NULL , NULL ) ;
SELECT testfunc ( 'y' , 'y' , 'y' , 10 ) ;
SELECT testfunc ( 'y' , 'y' , 'y' , NULL ) ;
SELECT testfunc ( 'y' , 'y' , 'y' , 0.1 ) ;
SELECT testfunc ( 'y' , 'y' , 'y' , 10 , 'y' , 'y' , 'y' , NULL , 'y' , 'y' , 'y' , 0.1 , 'y' , 'y' , 'y' , 10 , 'y' , 'y' , 'y' , NULL , 'y' , 'y' , 'y' , 0.1 ) ;
SELECT sqlite_version ( * ) ;
SELECT test_destructor ( 'y' ) , test_destructor_count () ;
SELECT test_destructor_count () ;
SELECT min ( test_destructor ( x ) ) , max ( test_destructor ( x ) ) FROM x ;
SELECT test_auxdata ( 'y' ) ;
SELECT test_auxdata ( 'y' ) FROM x ;
SELECT test_auxdata ( 'y' , 10 ) FROM x ;
SELECT test_auxdata ( 'y' , x ) FROM x ;
SELECT test_auxdata ( 'y' CONCAT 'y' , x ) FROM x ;
SELECT testfunc1 ( 10 , 10 , 10 ) ;
SELECT sum ( x ) , total ( x ) FROM x ;
SELECT sum ( x ) FROM SELECT 10 AS x UNION ALL SELECT 10 AS x ;
SELECT abs ( 10 ) ;
SELECT 'y' MATCH 'y' ;
SELECT typeof ( group_concat ( x , 'y' ) ) FROM SELECT 'y' AS x UNION ALL SELECT 'y' ;
SELECT nullx_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789 ( 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
SELECT nullx_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789 ( 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
SELECT nullx_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_12345678a ( 10 ) ;
SELECT nullx_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789a ( 10 ) ;
CREATE TABLE x ( x , x , x , x , x , x , x , x , x ) ;
SELECT typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) FROM x ;
SELECT length ( x ) , length ( x ) , length ( x ) , length ( x ) FROM x ;
SELECT quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) FROM x ;
SELECT test_frombind ( 10 , 10 , , 10 ) ;
SELECT test_frombind ( 10 , ( ) , 10 , + 10 ) ;
CREATE VIEW x ( x ) AS SELECT testdirectonly ( 10 ) ;
SELECT * FROM SELECT testdirectonly ( 10 ) AS v33 ;
SELECT likelihood ( 10 , 0.1 ) ;
SELECT likelihood ( 0.1 , 0.1 ) ;
SELECT likelihood ( NULL , 0.1 ) ;
SELECT likelihood ( 'y' , 0.1 ) ;
SELECT likelihood ( 10 , 0.1 ) , likelihood ( 10 , 0.1 ) ;
SELECT likelihood ( 10 , 0.1 + 0.1 ) ;
SELECT unlikely ( 10 ) ;
SELECT unlikely ( 0.1 ) ;
SELECT unlikely ( NULL ) ;
SELECT unlikely ( 'y' ) ;
SELECT likely ( CAST ( 10 AS INT ) ) == 'y' ;
SELECT unlikely ( CAST ( 10 AS INT ) ) == 'y' ;
SELECT likelihood ( CAST ( 10 AS INT ) , 0.1 ) == 'y' ;
SELECT likely ( 10 ) ;
SELECT likely ( 0.1 ) ;
SELECT likely ( NULL ) ;
SELECT likely ( 'y' ) ;
SELECT tointeger ( NULL ) ;
SELECT tointeger ( 'y' ) ;
SELECT tointeger ( 10 ) ;
SELECT tointeger ( 10 - 10 ) ;
SELECT tointeger ( 10 + 10 ) ;
SELECT toreal ( NULL ) ;
SELECT toreal ( 'y' ) ;
SELECT toreal ( 10 ) ;
SELECT toreal ( 10 - 10 ) ;
SELECT toreal ( 10 + 10 ) ;
SELECT toreal ( tointeger ( 10 ) - 10 ) ;
SELECT toreal ( tointeger ( 10 ) ) ;
SELECT toreal ( tointeger ( 10 ) + 10 ) ;
CREATE TABLE x ( x INTEGER CHECK( tointeger ( x ) IS NOT NULL ) ) ;
INSERT INTO x ( x ) VALUES ( NULL ) ;
SELECT tointeger ( toreal ( 'y' ) ) ;
SELECT tointeger ( toreal ( 10 ) ) ;
SELECT tointeger ( toreal ( 10 - 10 ) ) ;
SELECT tointeger ( toreal ( 10 + 10 ) ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 10 ) ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
CREATE TABLE x ( x AS( TYPEOF ( x ) ) , x ) ;
CREATE TABLE x ( x AS( typeof ( x ) ) , x ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 'y' , 0.1 ) ,( 10 , 'y' , NULL ) ;
SELECT x , x , x , 'y' FROM x ORDER BY x ;
SELECT x FROM x WHERE x LIKE 'y' OR x = 'y' ORDER BY x ;
CREATE INDEX x ON x ( x ) WHERE x BETWEEN 10 AND 10 ;
SELECT x FROM x WHERE x = 'y' AND x BETWEEN 10 AND 10 ;
UPDATE x SET x = x + 10 WHERE x < 10 ;
SELECT x , x , 'y' FROM x ORDER BY x ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' ) ,( 10 , 10 , 10 ) ;
UPDATE x SET x = x , x = x ;
UPDATE x SET x = x , x = x + 10 ;
REPLACE INTO x ( x , x , x ) VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ;
CREATE TABLE x ( x NOT NULL AS( x ) , x ) ;
REPLACE INTO x ( x ) VALUES ( NULL ) ;
CREATE TABLE x ( x GENERATED ALWAYS AS( 10 ) , x UNIQUE , x UNIQUE ) ;
SELECT quote ( 10 = x OR x BETWEEN x AND 10 ) FROM x ;
SELECT 10 FROM x WHERE 10 = x OR x BETWEEN x AND 10 ;
CREATE TABLE x ( x , x AS( x + x ) , x AS( x ) CHECK( x ) ) ;
UPDATE x SET x = NULL ;
INSERT INTO x VALUES ( 'y' , 'y' ) ,( 'y' , 'y' ) ;
SELECT typeof ( x ) , x , typeof ( x ) , x , 'y' FROM x ORDER BY x ;
UPDATE x SET x = 'y' WHERE x = 10 OR x = 10 ;
UPDATE x SET x = x CONCAT 'y' WHERE x = x ;
DELETE FROM x WHERE x = x ;
INSERT INTO x . x SELECT * FROM x ;
DELETE FROM x WHERE x > 10 ;
SELECT * FROM x INTERSECT SELECT * FROM x ;
SELECT * FROM x EXCEPT SELECT * FROM x ;
REPLACE INTO x VALUES ( 10 , 'y' ) ;
SELECT ieee754 ( 10 , 10 ) IS NULL ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x , x NOT NULL ) ;
SELECT x FROM x WHERE x IS NOT NULL ;
SELECT x , x , x , x FROM x EXCEPT SELECT x , x , x , x FROM x ;
INSERT INTO x ( x , x , x , x , x ) VALUES ( 10 , 'y' , 10 , 10 , NULL ) ;
UPDATE x SET x = 10 WHERE x IN ( 10 , 10 , 10 ) ;
SELECT x FROM x WHERE x IN ( SELECT x FROM x ) ;
SELECT x FROM x WHERE x IN ( 10 ) ;
SELECT * FROM x WHERE x IN ( 10 ) ;
SELECT * FROM x WHERE x IN ( 'y' ) ;
SELECT * FROM x WHERE x IN ( SELECT x , x FROM x UNION ALL SELECT x , x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x , x FROM x UNION SELECT x , x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x , x FROM x EXCEPT SELECT x , x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x , x FROM x INTERSECT SELECT x , x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x , x FROM x UNION ALL SELECT x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x , x FROM x UNION SELECT x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x , x FROM x EXCEPT SELECT x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x , x FROM x INTERSECT SELECT x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x FROM x UNION ALL SELECT x , x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x FROM x UNION SELECT x , x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x FROM x EXCEPT SELECT x , x FROM x ) ;
SELECT * FROM x WHERE x IN ( SELECT x FROM x INTERSECT SELECT x , x FROM x ) ;
INSERT INTO x VALUES ( NULL , 10 , 10 ) ;
SELECT x IN ( SELECT x FROM x AS inside WHERE x BETWEEN x + 10 AND x + 10 ) FROM x AS outside ORDER BY x ;
SELECT * FROM x WHERE x IN ( SELECT x FROM x ) ;
SELECT 10 WHERE ( SELECT 10 , 10 ) OR ( 10 IN ( 10 , 10 ) ) ;
INSERT INTO x VALUES ( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ;
SELECT x FROM x AS a JOIN x AS b ON x = x WHERE x IN ( 10 , 10 , 10 ) ;
SELECT x , x IN ( 10 , 10 , 10 ) FROM x ORDER BY x ;
SELECT CASE WHEN x NOT IN ( 10 , 10 , 10 ) THEN 'y' ELSE 'y' END FROM x ;
SELECT CASE WHEN x NOT IN ( NULL , 10 , 10 ) THEN 'y' ELSE 'y' END FROM x ;
SELECT CASE WHEN x NOT IN ( 10 , 10 , 10 ) OR x = 10 THEN 'y' ELSE 'y' END FROM x ;
SELECT CASE WHEN x NOT IN ( NULL , 10 , 10 ) OR x = 10 THEN 'y' ELSE 'y' END FROM x ;
SELECT x FROM x WHERE x NOT IN ( 10 , NULL , 10 ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x TEXT , x INT ) ;
INSERT INTO x VALUES ( 10 , 'y' ) ,( 10 , 'y' ) ;
INSERT INTO x VALUES ( 10 , 'y' , 10 ) ,( 10 , 'y' , 10 ) ,( 10 , 'y' , 10 ) ;
INSERT INTO x ( x ) VALUES ( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ;
SELECT * FROM x WHERE x IN ( SELECT x FROM x WHERE ( x % 10 ) == 10 ) ORDER BY x DESC , x ;
SELECT 10 IN ( 'y' ) ;
SELECT 10 IN ( CAST ( 'y' AS TEXT ) ) ;
SELECT * FROM x WHERE 'y' IN ( x ) ;
SELECT 10 FROM x WHERE x IN ( 'y' ) ;
SELECT x IN ( 'y' ) FROM x ;
SELECT x IN ( 'y' , 10 , 10 ) FROM x ;
INSERT INTO x ( x , x ) VALUES ( 10 , NULL ) ON CONFLICT ( x , x , x ) ;
SELECT x FROM x WHERE x IN ( SELECT x FROM x WHERE x IN ( 10 , 10 ) ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INTEGER , x INTEGER , x VARCHAR(255) ) ;
DELETE FROM x WHERE x IN ( SELECT x FROM x WHERE x LIKE 'y' CONCAT 'y' ) ;
SELECT * FROM x WHERE x IN ( 'y' , 'y' , 'y' ) ;
SELECT x FROM x WHERE x IN ( 10 , 10 ) ;
SELECT x FROM x WHERE x IN ( 'y' ) ;
SELECT * FROM x WHERE x = 10 AND x IN ( 10 ) ;
SELECT * FROM x WHERE x IN ( 10 ) AND x = 10 ;
SELECT * FROM x WHERE x IN ( 10 ) AND x IN ( 10 ) ;
SELECT * FROM x WHERE x = 10 AND x NOT IN ( 10 ) ;
SELECT * FROM x WHERE x NOT IN ( 10 ) AND x = 10 ;
SELECT * FROM x WHERE x NOT IN ( 10 ) AND x NOT IN ( 10 ) ;
SELECT * FROM x WHERE x NOT IN ( 10 , 10 , 10 ) ;
SELECT * FROM x WHERE x NOT IN ( 10 ) ;
SELECT x FROM x WHERE x = x ORDER BY x ;
SELECT x FROM x WHERE ( x CONCAT 'y' ) = x ORDER BY x ;
SELECT x FROM x WHERE ( x CONCAT 'y' ) = ( x CONCAT 'y' ) ORDER BY x ;
SELECT x FROM x WHERE x IN ( x ) ORDER BY x ;
SELECT x FROM x WHERE ( x CONCAT 'y' ) IN ( x ) ORDER BY x ;
SELECT x FROM x WHERE x = x ;
SELECT x FROM x WHERE x IN ( x ) ;
SELECT 10 FROM x WHERE 'y' IN ( x ) ;
SELECT * FROM x , x WHERE x = 10 AND x IN ( x ) ;
CREATE TABLE x ( x INTEGER UNIQUE ) ;
CREATE TABLE x ( x TEXT UNIQUE ) ;
CREATE TABLE x ( x INTEGER , x INTEGER , x TEXT , x TEXT ) ;
INSERT INTO x VALUES ( 10 , 10 , 'y' , 'y' ) ,( 10 , 10 , 'y' , 'y' ) ,( 10 , 10 , 'y' , 'y' ) ,( 10 , 10 , 'y' , 'y' ) ,( 10 , 10 , 'y' , 'y' ) ,( 10 , 10 , 'y' , 'y' ) ;
SELECT count ( * ) FROM x WHERE x IN ( SELECT DISTINCT x FROM x LIMIT 10 ) ;
SELECT count ( * ) FROM x WHERE x IN ( SELECT x FROM x LIMIT 10 ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x VARCHAR(500) ) ;
CREATE VIEW x ( x ) AS SELECT LOWER ( CAST ( 'y' AS TEXT ) ) FROM x ;
SELECT lower ( 'y' ) FROM x WHERE x NOT IN ( 10 , 10 , lower ( 'y' ) ) ;
SELECT lower ( 'y' ) FROM x WHERE x != lower ( 'y' ) ;
CREATE TABLE x ( x INT UNIQUE , x TEXT ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 0.1 , NULL ) ;
PRAGMA x ( 10 ) ;
CREATE TABLE x ( x INTEGER UNIQUE , x TEXT ) ;
INSERT INTO x SELECT x , x FROM x ;
UPDATE x SET x = ( SELECT x FROM x WHERE x = x ) ;
INSERT INTO x SELECT x CONCAT x , x CONCAT x , x CONCAT x FROM x ;
UPDATE x SET x = x , x = x , x = x ;
PRAGMA x ( 'y' ) ;
SELECT x FROM x WHERE x != 'y' ORDER BY x ;
SELECT x FROM x WHERE x = 10 ORDER BY x ;
SELECT x FROM x WHERE x = x AND x = x ;
INSERT INTO x VALUES ( 'y' , NULL , 10 ) ;
INSERT INTO x VALUES ( NULL , 'y' , 10 ) ;
SELECT x FROM x ORDER BY x , x ;
SELECT x FROM x WHERE x >= 'y' ;
SELECT x FROM x WHERE x >= 10 ;
SELECT x FROM x WHERE x < 'y' ;
SELECT x FROM x WHERE x <= 'y' ;
SELECT x FROM x WHERE typeof ( x ) IN ( 'y' , 'y' ) ORDER BY x ;
CREATE TABLE x ( x UNIQUE PRIMARY KEY ) ;
SELECT count ( * ) FROM x WHERE x = 'y' AND x = 'y' ;
CREATE TRIGGER x BEFORE INSERT ON x BEGIN SELECT 10 ; END ;
CREATE TABLE x ( x UNIQUE PRIMARY KEY ON CONFLICT ROLLBACK ) ;
INSERT INTO x ( x , x ) VALUES ( 'y' , 10 ) ,( 'y' , 10 ) ;
SELECT x , x , 'y' FROM x ;
INSERT INTO x ( x , x ) VALUES ( 'y' , 'y' ) ,( 'y' , 'y' ) ;
INSERT OR IGNORE INTO x ( x ) VALUES ( 0.1 ) ,( 10 ) ;
CREATE INDEX x ON x ( x ) WHERE x IS NOT NULL ;
SELECT count ( x ) , count ( x ) FROM x ;
CREATE INDEX x ON x ( x , x ) WHERE x IS NOT NULL ;
CREATE INDEX x ON x ( x , x ) WHERE EXISTS ( SELECT * FROM x ) ;
CREATE INDEX x ON x ( x , x ) WHERE x != random () ;
CREATE INDEX x ON x ( x , x ) WHERE x NOT LIKE 'y' ;
UPDATE x SET x = x ;
UPDATE x SET x = NULL WHERE x % 10 != 10 ;
UPDATE x SET x = CASE WHEN x % 10 != 10 THEN x END ;
DELETE FROM x WHERE x BETWEEN 10 AND 10 ;
INSERT INTO x ( x , x ) SELECT x , x FROM x WHERE x < 10 ;
UPDATE x SET x = NULL WHERE x % 10 == 10 ;
SELECT count ( * ) FROM x WHERE x IS NOT NULL ;
CREATE INDEX x ON x ( x ) WHERE x < 10 OR x > 10 ;
SELECT x FROM x WHERE x = 10 AND x < 10 ;
SELECT x FROM x WHERE x = 10 AND x > 10 ;
INSERT INTO x SELECT x , x FROM x WHERE x < 10 ;
UPDATE x SET x = 10 WHERE x % 10 != 10 ;
CREATE UNIQUE INDEX x ON x ( x ) WHERE x != 10 ;
SELECT count ( * ) FROM x WHERE x = 10 ;
SELECT count ( * ) FROM x WHERE x BETWEEN 10 AND 10 ;
SELECT x + 10 FROM x WHERE x = 'y' ;
CREATE INDEX x ON x ( x ) WHERE x = 10 ;
SELECT * FROM x LEFT JOIN x ON ( x = 10 ) ORDER BY x ;
SELECT * FROM x JOIN x ON ( x = 10 ) ORDER BY x ;
CREATE INDEX x ON x ( x ) WHERE x = 'y' ;
CREATE INDEX x ON x ( x , x ) WHERE x IN ( 10 , 10 , 10 ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( NULL , 10 , 10 ) ;
UPDATE x SET x = x WHERE x IN ( 10 , 10 , 10 ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ;
CREATE TABLE x ( x , x , x , x , x INTEGER PRIMARY KEY ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 , 10 ) ;
CREATE INDEX x ON x ( x ) WHERE x = 10 AND x = 10 AND x = 10 ;
SELECT x FROM x WHERE x = 10 AND x = 10 AND x = 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND 10 = x AND x = 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x = 10 ORDER BY x DESC ;
CREATE INDEX x ON x ( x ) WHERE x != 10 ;
SELECT 'y' , * FROM x WHERE x IN ( SELECT x FROM x ) ;
SELECT * FROM x WHERE x OR 10 ;
INSERT INTO x ( x , x ) VALUES ( NULL , 'y' ) ;
SELECT * FROM x WHERE CASE x WHEN 10 THEN 10 ELSE 10 END ;
SELECT x <= x , x >= x FROM x ;
SELECT 10 FROM x WHERE x >= x ;
SELECT 10 FROM x WHERE x <= x ;
SELECT COUNT ( * ) FROM x WHERE x GLOB x ;
INSERT INTO x ( x , x , x ) VALUES ( 'y' , 10 , 10 ) ,( 'y' , 10 , 10 ) ,( 'y' , 10 , 10 ) ,( 'y' , 10 , 10 ) ;
SELECT * FROM SELECT * FROM x WHERE x = 10 AND x = 'y' , x WHERE x = 'y' ;
SELECT * FROM x WHERE x = 10 ORDER BY x , x LIMIT 10 ;
SELECT x , x , x FROM x INDEXED BY x WHERE x = 10 AND x = 10 AND x = 10 ;
SELECT x , x , x FROM x INDEXED BY x WHERE x = 10 AND x = 10 AND x = 'y' ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x TEXT ) ;
SELECT * FROM x INDEXED BY x ORDER BY 10 ;
SELECT x , x , 'y' FROM x WHERE substr ( x , 10 , 10 ) == 'y' ORDER BY x , x ;
SELECT x , x , 'y' FROM x WHERE 'y' == substr ( x , 10 , 10 ) ORDER BY x , x ;
SELECT x FROM x WHERE x = 10 AND substr ( x , 10 , 10 ) = 'y' ORDER BY x ;
SELECT x , substr ( x , x , 10 ) , 'y' FROM x ORDER BY 10 ;
UPDATE x SET x = length ( x ) ;
SELECT length ( x ) FROM x ORDER BY length ( x ) ;
SELECT length ( x ) FROM x ORDER BY length ( x ) DESC ;
INSERT INTO x ( x , x , x , x ) VALUES ( 10 , 'y' , 10 , 10 ) ,( 10 , 'y' , 10 , 10 ) ,( 10 , 'y' , 10 , 10 ) ,( 10 , 'y' , 10 , 10 ) ,( 10 , 'y' , 10 , 10 ) ,( 10 , 'y' , 10 , 10 ) ;
CREATE TABLE x ( x , x , x ) ; INSERT INTO x VALUES ( 10 , 10 , 10 ) ;
INSERT INTO x SELECT * FROM x WHERE x = 10 ;
INSERT INTO x ( x ) SELECT printf ( 'y' , x ) FROM x ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 10 , 10 ) ,( 'y' , 'y' , 'y' ) ,( 10 , 10 , 10 ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 'y' ) ;
INSERT INTO x ( x , x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 , 10 ) ;
INSERT INTO x ( x , x , x , x , x ) VALUES ( 10 , NULL , NULL , NULL , NULL ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ;
UPDATE x SET x = 10 WHERE ( x IN ( 10 , 10 ) ) = 10 ;
INSERT INTO x VALUES ( NULL ) ,( 10 ) ;
SELECT 'y' , typeof ( x ) , x FROM x WHERE x < 10 ;
SELECT 'y' , typeof ( x ) , x FROM x WHERE x + 10 < 10 ;
SELECT x + x , x + x FROM x ORDER BY x + x , x + x ;
SELECT 10 IN ( SELECT 10 ) FROM x ;
SELECT 10 IN ( SELECT 10 UNION ALL SELECT 10 ) FROM x ;
SELECT abs ( 10 + 10 ) IN ( SELECT 10 UNION ALL SELECT 10 ) FROM x ;
CREATE TABLE x ( x INT PRIMARY KEY , x INT UNIQUE ) ;
REPLACE INTO x ( x , x ) VALUES ( 10 , 10 ) ;
REPLACE INTO x VALUES ( 10 , 10 ) ;
REPLACE INTO x SELECT 10 , 10 ;
CREATE TABLE x ( x INTEGER , x ) ;
INSERT INTO x VALUES ( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ;
SELECT x + 10 , quote ( x + 10 ) FROM x ORDER BY 10 ;
UPDATE x SET x = printf ( 'y' , x , x ) ;
CREATE TABLE x ( x INTEGER , x INTEGER ) ;
SELECT * FROM x WHERE abs ( x ) = 10 OR abs ( x ) = 10 ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 0.1 ) ,( 10 , 10 ) ;
SELECT x , x FROM x WHERE x IS NULL ;
INSERT INTO x SELECT x FROM x WHERE x = 10 ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x UNIQUE ) ;
INSERT INTO x SELECT max ( x ) FROM x ;
INSERT INTO x ( x , x ) SELECT nullif ( x * 10 + 10 , 10 ) , x + 10 FROM x ;
INSERT INTO x SELECT nullif ( x * 10 + 10 , 10 ) , x + 10 FROM x ;
INSERT INTO x VALUES ( 10 , 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 , 10 ) ;
CREATE TABLE x AS SELECT 'y' AS x ;
CREATE TABLE x ( x , x , x , x , x , x , x ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
INSERT INTO x ( x , x , x , x , x , x , x ) SELECT * FROM x ;
INSERT INTO x ( x , x , x ) SELECT 'y' , 10 , 'y' ;
REPLACE INTO x SELECT x , 10 FROM x ;
REPLACE INTO x SELECT x , x FROM x ;
SELECT x , length ( x ) FROM x ;
CREATE TABLE x ( x , x UNIQUE , x UNIQUE ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ;
SELECT * , 'y' FROM x ORDER BY x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INT , x INT , x INT ) ;
CREATE UNIQUE INDEX x ON x ( x ) WHERE x <= x ;
INSERT INTO x SELECT x , count ( * ) FROM x GROUP BY x ;
INSERT INTO x SELECT x , count () FROM x GROUP BY x ;
INSERT INTO x ( x , x ) SELECT * FROM x ;
INSERT INTO x ( x , x , x ) SELECT x , 'y' , x FROM x ;
INSERT INTO x SELECT x + ( SELECT max ( x ) FROM x ) , x FROM x ;
UPDATE x SET x = 'y' CONCAT x CONCAT 'y' CONCAT x CONCAT 'y' ;
INSERT INTO x SELECT x + ( SELECT max ( x ) + 10 FROM x ) , x FROM x ;
DELETE FROM x WHERE x != 10 ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 , 'y' , 'y' ) ;
INSERT INTO x SELECT DISTINCT NULL , x , x , x FROM x LEFT OUTER JOIN x ON x == x AND x == x AND x == x WHERE x IS NULL ;
INSERT INTO x SELECT x , 10 FROM x WHERE x = 10 ;
INSERT INTO x SELECT ( SELECT x FROM x ) , 10 ;
INSERT INTO x ( x ) SELECT 10 UNION ALL SELECT 10 ORDER BY 10 ;
INSERT INTO x SELECT x , x + 10 FROM x ;
SELECT 'y' , x , x FROM x UNION ALL SELECT 'y' , x , x FROM x ORDER BY x ;
SELECT 'y' , x , x FROM x UNION ALL SELECT 'y' , x , x FROM x ORDER BY x , x ;
INSERT INTO x ( x ) SELECT 10 FROM x LIMIT 10 ;
UPDATE x SET x = randstr ( 10 , 10 ) WHERE ( x % 10 ) == 10 ;
INSERT INTO x SELECT randstr ( 10 , 10 ) , randstr ( 10 , 10 ) , x FROM x ;
INSERT INTO x SELECT 10 , 10 ;
INSERT INTO x SELECT * FROM x LIMIT 10 ;
INSERT INTO x SELECT DISTINCT * FROM x ;
CREATE TABLE x ( x CHECK( x != 'y' ) ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY ) ; INSERT INTO x VALUES ( 10 ) ;
CREATE TABLE x ( x INT ) ; INSERT INTO x VALUES ( 10 ) ;
DELETE FROM x ; DELETE FROM x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY ON CONFLICT REPLACE , x ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY ON CONFLICT IGNORE , x ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY ON CONFLICT FAIL , x ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY ON CONFLICT ABORT , x ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY ON CONFLICT ROLLBACK , x ) ;
INSERT INTO x SELECT * FROM x UNION ALL SELECT * FROM x WHERE EXISTS ( SELECT * FROM x WHERE x = x ) ;
SELECT coalesce ( instr ( 'y' , NULL ) , 10 ) ;
SELECT coalesce ( instr ( NULL , NULL ) , 10 ) ;
SELECT instr ( x , x ) FROM x ;
INSERT INTO x SELECT x + 10 , randstr ( 10 , 10 ) FROM x ;
INSERT INTO x SELECT x + 10 , x CONCAT 'y' CONCAT x FROM x ;
UPDATE x SET x = substr ( x , 10 , 10 ) ;
SELECT md5sum ( x CONCAT x ) FROM x ;
INSERT INTO x SELECT round ( x / 10 ) , randstr ( 10 , 10 ) , randstr ( 10 , 10 ) FROM x ;
SELECT max ( min ( x , x ) ) , min ( max ( x , x ) ) , x FROM x GROUP BY x ORDER BY x ;
SELECT * FROM x WHERE x == 10 ;
INSERT INTO x VALUES ( 0.1 , 'y' , 'y' ) ;
SELECT * FROM x WHERE x == 'y' ;
SELECT * FROM x WHERE x > 'y' ;
SELECT * FROM x WHERE x > 10 AND x < 10 ;
SELECT * FROM x WHERE x >= 'y' AND x < 'y' ;
SELECT * FROM x WHERE x == 'y' AND x > 10 ;
SELECT * FROM x WHERE 10 < x ;
SELECT * FROM x WHERE 10 < x AND 10 >= x ;
SELECT * FROM x WHERE x < 10 AND x > 10 ;
SELECT * FROM x WHERE x >= 10 ;
SELECT x , x , x FROM x WHERE x == 'y' ;
INSERT INTO x SELECT NULL , x , x FROM x ;
SELECT x FROM x WHERE x = 0.1 + 0.1 ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INTEGER , x TEXT ) ;
SELECT * FROM x WHERE x < x ;
SELECT * FROM x WHERE x = x ;
SELECT x FROM x WHERE x < 10 ;
DELETE FROM x WHERE x = 10 OR x < 10 ;
DELETE FROM x WHERE abs ( x ) IS NULL OR abs ( x ) < 10 ;
UPDATE x SET x = 'y' WHERE abs ( x ) = 10 ;
SELECT intreal ( 10 ) ;
SELECT intreal ( 10 ) = 10 , 10 = intreal ( 10 ) ;
SELECT intreal ( 10 ) = 0.1 , 0.1 = intreal ( 10 ) ;
SELECT typeof ( intreal ( 10 ) ) ;
SELECT 'y' CONCAT intreal ( 10 ) CONCAT 'y' ;
SELECT max ( 0.1 , intreal ( 10 ) , 0.1 ) , max ( 10 , intreal ( 10 ) , 10 ) ;
SELECT max ( 0.1 , intreal ( 10 ) , intreal ( 10 ) , 0.1 ) , max ( 10 , intreal ( 10 ) , intreal ( 10 ) , 10 ) ;
INSERT INTO x ( x ) VALUES ( 10 ) ,( 10 ) ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , NULL ) ;
SELECT x FROM x WHERE x IS NULL ;
SELECT x FROM x WHERE 10 ;
INSERT INTO x VALUES ( 10 , 10 , 10 , NULL , NULL ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , NULL ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , NULL , 10 ) ;
SELECT x , x , 'y' FROM x , x ON x = x ;
SELECT * FROM x AS x NATURAL JOIN x ;
SELECT * FROM x NATURAL JOIN x AS y ;
SELECT * FROM x AS x INNER JOIN x USING ( b , c ) ;
SELECT * FROM x INNER JOIN x AS y USING ( b , c ) ;
SELECT * FROM x AS x INNER JOIN x AS y USING ( b , c ) ;
SELECT * FROM x INNER JOIN x USING ( b ) ;
SELECT * FROM x INNER JOIN x USING ( c ) ;
SELECT * FROM x INNER JOIN x USING ( c , b ) ;
SELECT * FROM x CROSS JOIN x USING ( b , c ) ;
SELECT * FROM x INNER JOIN x USING ( b , c ) ;
SELECT * FROM x NATURAL JOIN x NATURAL JOIN x ;
SELECT * FROM x NATURAL JOIN x USING ( b ) ;
SELECT * FROM x JOIN x ON x = x USING ( b ) ;
SELECT * FROM x JOIN x USING ( a ) ;
SELECT * FROM x JOIN x USING ( d ) ;
SELECT * FROM x JOIN x ON x = x ;
SELECT * FROM x LEFT x JOIN x ;
SELECT * FROM x NATURAL AWK SED JOIN x ;
SELECT * FROM x , x WHERE x < x ;
SELECT * FROM x , x WHERE x > x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x , x INTEGER ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , NULL ) ;
SELECT coalesce ( x , 10 ) FROM x LEFT JOIN x ON x = x ;
CREATE VIEW x AS SELECT x , x FROM x , x WHERE x = x ;
SELECT * FROM x LEFT JOIN x ON ( x = x ) ;
SELECT * FROM x LEFT JOIN SELECT x , x FROM x , x WHERE x = x ON ( x = x ) ;
SELECT * FROM x LEFT JOIN SELECT 10 , x , x FROM x AS sub1 ON x = x ;
CREATE VIEW x AS SELECT * FROM x WHERE x > 10 ;
SELECT * FROM x LEFT JOIN x ;
SELECT * FROM x LEFT JOIN SELECT * FROM x ;
SELECT * FROM x LEFT JOIN x , x WHERE x = x ;
SELECT * FROM SELECT 10 LEFT JOIN SELECT x + 10 FROM x GROUP BY 10 ;
CREATE VIEW x AS SELECT x , 10 AS b FROM x ;
SELECT * , 'y' FROM x LEFT JOIN x ON x = x WHERE x = 10 ;
SELECT * , 'y' FROM x LEFT JOIN x ON x = x WHERE x + 10 = x ;
SELECT * , 'y' FROM x LEFT JOIN x ON x = x ORDER BY x ;
SELECT * , 'y' FROM x LEFT JOIN x WHERE NOT ( 'y' = 'y' AND x = 10 ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
SELECT * FROM x LEFT JOIN SELECT abs ( 10 ) AS y FROM x ON x WHERE NOT ( x = 'y' ) ;
CREATE VIEW x AS SELECT x FROM x LEFT JOIN x ;
CREATE VIEW x ( x ) AS SELECT x FROM x LEFT JOIN x ;
SELECT * FROM x LEFT JOIN x WHERE NULL IN ( x ) ;
SELECT * FROM x LEFT JOIN x ON ( x = x ) JOIN x ON ( x = coalesce ( x , 10 ) ) ;
SELECT * FROM x JOIN x ON ( x = x ) JOIN x ON ( x = x ) ;
SELECT x , x FROM x LEFT JOIN x ON ( x = x ) LEFT JOIN x ON ( x = x ) ;
SELECT x , x FROM x LEFT JOIN x ON ( x = x ) LEFT JOIN x ON ( x = x + 10 ) ;
SELECT DISTINCT x , x FROM x LEFT JOIN x LEFT JOIN x ON ( x = x + 10 ) ;
SELECT x , x FROM x LEFT JOIN x LEFT JOIN x ON ( x = x + 10 ) ;
SELECT x FROM x LEFT JOIN x USING ( a ) ;
SELECT x FROM x LEFT JOIN x ON ( x = x AND x = x AND x = x ) ;
CREATE TABLE x ( x , x ) ; INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
CREATE TABLE x ( x , x ) ; INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ;
CREATE TABLE x ( x ) ; INSERT INTO x VALUES ( 10 ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INTEGER , x INTEGER ) ;
CREATE TABLE x ( x NOT NULL ) ;
SELECT * FROM x LEFT JOIN x LEFT JOIN x ON x = x ;
CREATE TABLE x ( x TEXT NOT NULL , x TEXT ) ;
CREATE TABLE x ( x TEXT NOT NULL , x TEXT NOT NULL ) ;
SELECT * FROM x LEFT JOIN x JOIN x WHERE x = x ;
SELECT count ( x ) FROM x LEFT JOIN x ON x GROUP BY x ;
SELECT count ( x ) FROM SELECT * FROM x LEFT JOIN x ON x GROUP BY x ;
SELECT * FROM x LEFT JOIN x ON x = 10 OR x = 10 WHERE x IS NULL ;
SELECT ifnull ( x , 'y' ) FROM x LEFT JOIN x ON ( x = x ) ;
SELECT * FROM x , x WHERE ( x >= 10 OR x < 10 ) AND x IN ( 10 , x ) ORDER BY 10 ;
SELECT * FROM x LEFT JOIN x USING ( a ) LEFT JOIN x USING ( a ) ;
SELECT x , x FROM x LEFT JOIN x ON x = x LEFT JOIN x ON x = x ;
SELECT * FROM x JOIN x USING ( y ) JOIN x USING ( x ) ;
SELECT * FROM x JOIN x NATURAL JOIN x ;
SELECT * FROM x JOIN x USING ( y ) NATURAL JOIN x ;
SELECT * FROM x NATURAL JOIN x JOIN x USING ( x , z ) ;
SELECT * FROM x NATURAL JOIN x JOIN x USING ( x ) ;
SELECT * FROM x NATURAL JOIN x JOIN x USING ( z ) ;
INSERT INTO x SELECT x + 10 , x CONCAT x FROM x ;
INSERT INTO x SELECT a_string ( 10 ) , a_string ( 10 ) FROM x ;
CREATE TABLE x . x ( x INTEGER ) ;
INSERT INTO x . x VALUES ( 10 ) ;
INSERT OR IGNORE INTO x . x SELECT * FROM x . x ;
INSERT INTO x SELECT randomblob ( 10 ) , randomblob ( 10 ) , randomblob ( 10 ) FROM x ;
SELECT last_insert_rowid () ;
UPDATE x SET x = x + 10 , x = 10 + last_insert_rowid () ;
UPDATE x SET x = 10 + last_insert_rowid () ;
DROP TABLE x ; DROP TABLE x ; DROP TRIGGER x ;
UPDATE x SET x = last_insert_rowid () WHERE x = 10 ;
SELECT changes () , total_changes () ;
UPDATE x SET x = x + changes () WHERE x = 10 ;
SELECT count () FROM x WHERE x = 10 ;
SELECT changes () ;
DROP TABLE x ; DROP TABLE x ; DROP TABLE x ;
DELETE FROM x WHERE x IS NOT NULL ;
SELECT total_changes () ;
SELECT x FROM x WHERE x LIKE 'y' ORDER BY 10 ;
SELECT x FROM x WHERE x MATCH 'y' ORDER BY 10 ;
INSERT INTO x SELECT * FROM x ORDER BY x ;
SELECT x FROM x WHERE x LIKE 'y' ORDER BY x ;
INSERT INTO x ( x , x ) VALUES ( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ;
INSERT INTO x ( x ) VALUES ( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ;
SELECT quote ( x ) FROM x WHERE x LIKE 'y' ORDER BY x ;
SELECT quote ( x ) FROM x WHERE x LIKE 'y' ORDER BY x DESC ;
SELECT quote ( x ) FROM x WHERE x LIKE 'y' ORDER BY x ASC ;
INSERT INTO x ( x ) VALUES ( 'y' ) ,( 10 ) ,( 10 ) ;
SELECT x FROM x WHERE x GLOB 'y' ;
SELECT * FROM x WHERE ( x LIKE 'y' ) ;
SELECT * FROM x WHERE x GLOB 'y' ;
SELECT x GLOB 'y' FROM x ;
CREATE TABLE x ( x TEXT , x , x , x ) ;
CREATE VIEW x AS SELECT * FROM x LIMIT 10 ;
SELECT count ( * ) FROM SELECT * FROM x ;
CREATE TABLE x AS SELECT * FROM x LIMIT 10 ;
SELECT x FROM SELECT x * 10 + x AS z FROM x ORDER BY x LIMIT 10 ORDER BY x LIMIT 10 ;
INSERT INTO x SELECT x FROM x ORDER BY x LIMIT 10 OFFSET 10 ;
INSERT INTO x SELECT x + ( SELECT max ( x ) FROM x ) FROM x ;
SELECT x FROM x ORDER BY x DESC LIMIT 10 OFFSET 10 ;
INSERT INTO x SELECT x - x , x + x FROM x WHERE x BETWEEN 10 AND 10 ORDER BY x LIMIT 10 ;
INSERT INTO x SELECT x - x , x + x FROM x WHERE x BETWEEN 10 AND 10 ORDER BY x DESC LIMIT 10 ;
INSERT INTO x SELECT x - x , x + x FROM x WHERE x ORDER BY x DESC LIMIT 10 ;
SELECT * FROM x ORDER BY x LIMIT 10 ;
SELECT * FROM x ORDER BY x DESC , x DESC LIMIT 10 ;
SELECT count ( * ) , sum ( x ) , sum ( x ) , min ( x ) , max ( x ) , min ( x ) , max ( x ) FROM x ;
SELECT * FROM x LIMIT 10 OFFSET 10 ;
SELECT x FROM x UNION ALL SELECT x FROM x LIMIT 10 ;
SELECT x FROM x UNION ALL SELECT x FROM x LIMIT 10 OFFSET 10 ;
SELECT x FROM x UNION ALL SELECT x FROM x ORDER BY 10 LIMIT 10 OFFSET 10 ;
SELECT x FROM x UNION SELECT x + 10 FROM x LIMIT 10 OFFSET 10 ;
SELECT x FROM x UNION SELECT x + 10 FROM x ORDER BY 10 DESC LIMIT 10 OFFSET 10 ;
SELECT x + 10 FROM x EXCEPT SELECT x FROM x LIMIT 10 ;
SELECT x + 10 FROM x EXCEPT SELECT x FROM x ORDER BY 10 DESC LIMIT 10 ;
SELECT x + 10 FROM x INTERSECT SELECT x FROM x LIMIT 10 ;
SELECT x + 10 FROM x INTERSECT SELECT x FROM x LIMIT 10 OFFSET 10 ;
SELECT x + 10 FROM x INTERSECT SELECT x FROM x ORDER BY 10 DESC LIMIT 10 OFFSET 10 ;
SELECT DISTINCT CAST ( round ( x / 10 ) AS INTEGER ) FROM x LIMIT 10 ;
SELECT DISTINCT CAST ( round ( x / 10 ) AS INTEGER ) FROM x LIMIT 10 OFFSET 10 ;
SELECT * FROM SELECT * FROM x LIMIT 10 ;
SELECT x , x , 'y' FROM x WHERE x IN ( 10 , 10 , 10 , 10 , 10 ) ORDER BY x LIMIT 10 ;
INSERT INTO x ( x , x ) VALUES ( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ;
SELECT x , x , 'y' FROM x , x WHERE x = 'y' AND x = x ORDER BY x LIMIT 10 ;
SELECT x , x , 'y' FROM x WHERE x IN ( 10 , 10 , 10 , 10 , 10 ) ORDER BY x DESC LIMIT 10 ;
SELECT * , 'y' FROM x , x WHERE x = x ORDER BY x LIMIT 10 ;
SELECT * , 'y' FROM x LEFT JOIN x ON x = x ORDER BY x LIMIT 10 ;
SELECT * , 'y' FROM x WHERE x = 10 AND ( x = 10 OR x = 10 ) ORDER BY x DESC ;
SELECT * , 'y' FROM x WHERE x = 10 AND ( x = 10 OR x = 10 ) ORDER BY x DESC LIMIT 10 ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
SELECT * , 'y' FROM x WHERE x IN ( 10 , 10 , 10 ) ORDER BY x DESC LIMIT 10 ;
SELECT x FROM x WHERE x IN ( 10 , 10 , 10 , 10 , 10 ) ORDER BY x DESC LIMIT 10 ;
SELECT x FROM x WHERE x IN ( 10 , 10 , 10 , 10 , 10 ) ORDER BY x LIMIT 10 ;
CREATE TABLE x ( x INT PRIMARY KEY , x ) ;
CREATE TABLE x ( x , x ) ; INSERT INTO x VALUES ( 10 , 10 ) ;
SELECT x FROM x , x WHERE x = x AND x <= x ORDER BY x DESC ;
INSERT INTO x ( x , x , x ) VALUES ( 'y' , 10 , 'y' ) ,( 'y' , 10 , 'y' ) ;
INSERT INTO x VALUES ( 'y' , 'y' , 'y' ) ,( 'y' , 'y' , 'y' ) ,( 'y' , 'y' , 'y' ) ;
CREATE TABLE x ( x , x , x , x VARCHAR(100) ) ;
INSERT INTO x ( x , x , x ) VALUES ( 'y' , 10 , 'y' ) ;
INSERT INTO x SELECT tx_exec ( 'y' ) ;
UPDATE x SET x = tx_exec ( 'y' ) ;
SELECT x * 10 FROM x ORDER BY x * 10 ;
SELECT x FROM x WHERE x = 'y' ORDER BY 10 ;
SELECT x FROM x UNION SELECT x FROM x ORDER BY 10 ;
SELECT * FROM x ORDER BY x DESC ;
INSERT INTO x SELECT x FROM x WHERE x BETWEEN 10 AND 10 ;
SELECT count ( * ) FROM SELECT DISTINCT x FROM x ;
CREATE VIRTUAL TABLE x USING rtree ( id , a , b , c , d ) ;
SELECT x , count ( x ) , count ( * ) FROM SELECT NULL AS x , x + 10 AS y FROM x UNION SELECT * FROM x GROUP BY x ORDER BY x ;
CREATE TABLE x ( x INTEGER UNIQUE NOT NULL ) ;
SELECT coalesce ( min ( x ) , 10 ) FROM x ;
SELECT coalesce ( max ( x ) , 10 ) FROM x ;
SELECT coalesce ( max ( x ) , 10 ) FROM x WHERE x < 10 ;
SELECT * FROM SELECT max ( x ) FROM x ;
SELECT * FROM SELECT min ( x ) FROM x ;
SELECT min ( x ) , max ( x ) FROM x ;
SELECT ( SELECT min ( x ) FROM x ) , ( SELECT max ( x ) FROM x ) ;
SELECT min ( x ) FROM x WHERE x = 10 ;
SELECT max ( x ) FROM x WHERE x = 10 ;
SELECT min ( x ) FROM x WHERE x = 10 AND x >= 0.1 ;
SELECT max ( x ) FROM x WHERE x = 10 AND x >= 0.1 ;
INSERT INTO x SELECT x , x , x * x FROM x ;
INSERT INTO x SELECT x , x , x * x + 10 FROM x ;
SELECT min ( x ) FROM x WHERE x = 10 AND x = 10 ;
SELECT max ( x ) FROM x WHERE x = 10 AND x = 10 ;
SELECT min ( x ) FROM x WHERE x = 10 AND x = 10 AND x = 10 ;
SELECT max ( x ) FROM x WHERE x = 10 AND x = 10 AND x = 10 ;
SELECT * FROM x ORDER BY x , x , x ;
SELECT min ( x ) , count ( x ) FROM x WHERE x = 'y' ;
SELECT min ( x ) FROM x WHERE x = 'y' AND x > 'y' ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ;
SELECT max ( x + x ) FROM x ;
SELECT x , max ( x + x ) FROM x ;
SELECT x , min ( x + x ) FROM x ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , NULL , 10 ) ,( 10 , 10 , NULL ) ;
SELECT min ( x ) , x FROM x ;
SELECT min ( x ) , x FROM x WHERE x < 10 ;
SELECT MIN ( x ) , x FROM x WHERE x ISNULL ;
SELECT MIN ( x ) FROM x WHERE x = 10 ;
SELECT min ( x ) , x , x FROM x WHERE x = 'y' ;
SELECT x , MIN ( x ) FROM x ;
CREATE TABLE x ( x TEXT , x TEXT , x TEXT , x TEXT ) ;
UPDATE x SET x = x CONCAT x CONCAT x CONCAT x ;
SELECT * ;
CREATE TABLE x ( x UNIQUE NOT NULL , x UNIQUE NOT NULL ) ;
CREATE TABLE x ( x INT UNIQUE , x TEXT UNIQUE ) ;
INSERT OR IGNORE INTO x VALUES ( 0.1 , 'y' ) ;
INSERT OR IGNORE INTO x VALUES ( 'y' , 10 ) ;
CREATE TABLE x ( x INTEGER , x TEXT , x ) ;
INSERT INTO x VALUES ( 0.1 , 10 , 10 ) ;
INSERT INTO x VALUES ( 10 , 0.1 , 10 ) ;
INSERT INTO x VALUES ( 0.1 , 0.1 , 10 ) ;
SELECT DISTINCT x , x FROM x ORDER BY x ;
SELECT min ( x ) , max ( x ) , count ( x ) FROM x GROUP BY x ORDER BY 10 ;
CREATE TABLE x AS SELECT x ;
CREATE TABLE x AS SELECT 10 ;
UPDATE x SET x = x + 10 WHERE x = 10 OR x = 10 ;
CREATE TABLE x AS SELECT * FROM x UNION ALL SELECT 10 ;
REPLACE INTO x ( x ) VALUES ( 'y' ) ;
SELECT x , quote ( x ) FROM x ;
UPDATE x SET x = 10 , x = 10 , x = 10 , x = 10 , x = 10 , x = 10 ;
CREATE UNIQUE INDEX x ON x ( x ) WHERE x = 10 ;
SELECT x , * FROM SELECT * FROM x , x ;
CREATE VIEW x AS SELECT * FROM x , x ;
SELECT x FROM x WHERE x <= 10 ;
SELECT x FROM x WHERE x < 10 ORDER BY 10 ;
CREATE VIEW x AS SELECT x AS p , x AS q FROM x AS x1 , x AS x2 WHERE x = x ;
SELECT * FROM x WHERE x >= 10 ORDER BY x ;
SELECT * FROM x WHERE x > 10 ORDER BY x ;
SELECT * FROM x WHERE x >= 10 AND x < 10 ORDER BY x DESC ;
SELECT * FROM x WHERE x >= 10 AND x <= 10 ORDER BY x DESC ;
INSERT INTO x ( x ) SELECT x CONCAT 'y' FROM x ;
SELECT count ( x ) FROM x WHERE x IN ( SELECT x FROM x ) ;
SELECT count ( x ) FROM x WHERE x IN ( SELECT x FROM x ORDER BY x + 10 ) ;
SELECT x AS c , x , x FROM x LEFT JOIN SELECT x , max ( x ) + 10 AS c FROM x GROUP BY x USING ( c ) ;
SELECT * FROM SELECT x AS c , x , x FROM x LEFT JOIN SELECT x , max ( x ) + 10 AS c FROM x GROUP BY x USING ( c ) ;
CREATE TABLE x ( x INTEGER NOT NULL , x TEXT ) ;
SELECT x , max ( x ) FROM x GROUP BY 10 , 10 ORDER BY 10 , 10 ;
SELECT * FROM x , SELECT x FROM x AS x WHERE x = x ;
CREATE TABLE x AS SELECT * FROM x , x ;
SELECT x FROM x LEFT JOIN x ON ( x = x ) ;
UPDATE x SET x = 10 WHERE x AND ( SELECT x FROM x WHERE x ) ;
INSERT OR IGNORE INTO x SELECT x * 10 FROM x ;
INSERT OR IGNORE INTO x SELECT x + 10 FROM x ;
INSERT OR IGNORE INTO x SELECT - x FROM x ;
SELECT * FROM x WHERE x >= ( SELECT x FROM x ) UNION ALL SELECT * FROM x LIMIT ( SELECT x FROM x ) ;
SELECT quote ( eval ( 'y' , 'y' ) ) ;
SELECT quote ( eval ( 'y' ) ) ;
SELECT eval ( 'y' , 'y' ) ;
SELECT x , coalesce ( x , eval ( 'y' ) ) , x
INSERT INTO x VALUES ( 10 , 10 , 10 ) ,( 10 , 10 , 10 ) ,( 10 , NULL , 10 ) ;
SELECT eval ( 'y' ) ;
SELECT x , x , eval ( printf ( 'y' , x + x , x + x ) ) FROM x , x ;
CREATE TABLE x ( x PRIMARY KEY , x UNIQUE , x ) ;
INSERT OR IGNORE INTO x ( x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 ) ;
INSERT OR REPLACE INTO x ( x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 ) ;
INSERT OR ABORT INTO x ( x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 ) ;
INSERT INTO x ( x , x , x , x , x ) VALUES ( 10 , NULL , 10 , 10 , 10 ) ;
INSERT OR IGNORE INTO x ( x , x , x , x , x ) VALUES ( 10 , NULL , 10 , 10 , 10 ) ;
INSERT OR REPLACE INTO x ( x , x , x , x , x ) VALUES ( 10 , NULL , 10 , 10 , 10 ) ;
INSERT INTO x ( x , x , x , x , x ) VALUES ( 10 , 10 , NULL , 10 , 10 ) ;
INSERT OR IGNORE INTO x ( x , x , x , x , x ) VALUES ( 10 , 10 , NULL , 10 , 10 ) ;
INSERT OR REPLACE INTO x ( x , x , x , x , x ) VALUES ( 10 , 10 , NULL , 10 , 10 ) ;
INSERT OR ABORT INTO x ( x , x , x , x , x ) VALUES ( 10 , 10 , NULL , 10 , 10 ) ;
INSERT OR ABORT INTO x ( x , x , x , x , x ) VALUES ( 10 , 10 , 10 , NULL , 10 ) ;
INSERT INTO x ( x , x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 , NULL ) ;
INSERT OR REPLACE INTO x ( x , x , x , x , x ) VALUES ( 10 , 10 , 10 , NULL , 10 ) ;
UPDATE x SET x = NULL , x = x , x = x ;
CREATE TABLE x ( x NOT NULL UNIQUE ) ;
CREATE TABLE x ( x UNIQUE NOT NULL ) ;
CREATE TABLE x ( x PRIMARY KEY NOT NULL ) ;
CREATE TABLE x ( x NOT NULL PRIMARY KEY ) ;
CREATE TABLE x ( x PRIMARY KEY UNIQUE NOT NULL ) ;
CREATE TABLE x ( x UNIQUE PRIMARY KEY NOT NULL ) ;
SELECT ifnull ( x + x , 10 ) FROM x ;
SELECT ifnull ( x * x , 10 ) FROM x ;
SELECT ifnull ( CASE WHEN x != 10 THEN 10 ELSE 10 END , 10 ) FROM x ;
SELECT ifnull ( CASE WHEN NOT x != 10 THEN 10 ELSE 10 END , 10 ) FROM x ;
SELECT ifnull ( CASE WHEN x != 10 AND x != 10 THEN 10 ELSE 10 END , 10 ) FROM x ;
SELECT ifnull ( CASE WHEN NOT ( x != 10 AND x != 10 ) THEN 10 ELSE 10 END , 10 ) FROM x ;
SELECT ifnull ( CASE WHEN x != 10 OR x != 10 THEN 10 ELSE 10 END , 10 ) FROM x ;
SELECT ifnull ( CASE WHEN NOT ( x != 10 OR x != 10 ) THEN 10 ELSE 10 END , 10 ) FROM x ;
SELECT ifnull ( CASE x WHEN x THEN 10 ELSE 10 END , 10 ) FROM x ;
SELECT count ( * ) , count ( x ) , count ( x ) , sum ( x ) , sum ( x ) , avg ( x ) , avg ( x ) , min ( x ) , max ( x ) FROM x ;
SELECT x FROM x WHERE x < 10 AND x = 10 ;
SELECT x FROM x WHERE NOT ( x < 10 AND x = 10 ) ;
SELECT x FROM x UNION SELECT x FROM x ORDER BY x ;
CREATE TABLE x ( x , x UNIQUE ON CONFLICT IGNORE ) ;
SELECT x FROM x WHERE x = NULL ;
SELECT x FROM x WHERE x IN ( 10 , NULL ) ;
SELECT x FROM x WHERE x < 10 ORDER BY x ;
SELECT x FROM x WHERE x != 10 ORDER BY x ;
INSERT INTO x VALUES ( 10 , NULL , 'y' ) ;
INSERT INTO x VALUES ( NULL , 'y' , 'y' ) ;
SELECT * FROM x WHERE x = 10 AND x IS NULL ;
SELECT * FROM x WHERE x IS NULL AND x = 'y' ;
INSERT INTO x VALUES ( NULL ) ,( 10 ) ,( 10 ) ,( 10 ) ,( NULL ) ;
CREATE VIRTUAL TABLE x USING echo ( tx ) ;
SELECT * FROM x ORDER BY x NULLS FIRST ;
SELECT * FROM x ORDER BY x NULLS LAST ;
SELECT x , x FROM x WHERE x = 10 ORDER BY x NULLS LAST , x ;
SELECT * FROM x WHERE x = 10 AND x = 10 ORDER BY x NULLS LAST ;
SELECT * FROM x WHERE x = 10 AND x = 10 ORDER BY x DESC NULLS FIRST ;
SELECT * FROM x ORDER BY x DESC NULLS FIRST ;
DELETE FROM x WHERE x NOT IN ( 10 , 10 ) ;
INSERT INTO x VALUES ( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 'y' ) ;
SELECT count ( * ) FROM x , x ;
SELECT ( SELECT 'y' FROM SELECT 'y' ORDER BY 'y' ASC , 'y' DESC GROUP BY 10 HAVING length ( x ) ) FROM x ;
SELECT ( SELECT x CONCAT x FROM x , x ORDER BY x , x ) ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
SELECT x , x , 'y' FROM x ORDER BY x , x LIMIT 10 ;
SELECT x , x FROM x , x ORDER BY 10 , 10 ;
SELECT x , x FROM x CROSS JOIN x ORDER BY 10 , 10 ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x , x , x , x ) ;
SELECT x , x , x FROM x ORDER BY x , x , x ;
SELECT x , x , x FROM x ORDER BY x DESC , x , x ;
SELECT x FROM x ORDER BY x , x LIMIT 10 OFFSET 10 ;
SELECT x FROM x ORDER BY x DESC , x LIMIT 10 OFFSET 10 ;
SELECT x FROM x ORDER BY x , x DESC LIMIT 10 OFFSET 10 ;
SELECT x FROM x ORDER BY x , x , x , x , x ;
SELECT x FROM x ORDER BY x , x , x , x , x DESC ;
SELECT x FROM x ORDER BY x , x , x , x DESC , x ;
SELECT x FROM x ORDER BY x , x , x DESC , x , x ;
SELECT x FROM x ORDER BY x , x DESC , x , x , x ;
SELECT x FROM x ORDER BY x DESC , x , x , x , x ;
SELECT x FROM x ORDER BY x DESC , x DESC , x , x , x LIMIT 10 ;
SELECT x FROM x ORDER BY x , x , x , x , x DESC LIMIT 10 OFFSET 10 ;
SELECT x , x , sum ( x ) FROM x GROUP BY x , x ORDER BY x , x ;
SELECT x , x , sum ( x ) FROM x GROUP BY x , x ORDER BY x DESC , x DESC ;
SELECT x , x , sum ( x ) FROM x GROUP BY x , x ORDER BY x , x DESC ;
SELECT x , x , sum ( x ) FROM x GROUP BY x , x ORDER BY x DESC , x ;
SELECT x , x , sum ( x ) FROM x GROUP BY x , x ORDER BY x , x DESC NULLS FIRST ;
SELECT x , x , sum ( x ) FROM x GROUP BY x , x ORDER BY x DESC , x NULLS LAST ;
SELECT sum ( length ( x ) ) FROM x ;
CREATE TABLE x ( x CHECK( x < 10 ) , x CHECK( x < 10 ) ) ;
INSERT INTO x SELECT NULL , a_string ( 10 ) FROM x ;
UPDATE x SET x = NULL WHERE x > 10 ;
SELECT count ( * ) FROM x WHERE x < 10 ;
RELEASE x ;
CREATE TABLE x . x ( x UNIQUE , x UNIQUE ) ;
REPLACE INTO x SELECT * FROM x ;
INSERT INTO x SELECT * FROM x WHERE x <= 10 ;
UPDATE x SET x = a_string ( 10 ) ;
INSERT INTO x SELECT a_string ( ( SELECT 10 + max ( x ) FROM x ) ) FROM x ;
INSERT INTO x ( x , x , x ) SELECT x + 10 , x , x FROM x ;
INSERT INTO x SELECT a_string ( 10 ) , a_string ( 10 ) , a_string ( 10 ) FROM x ;
UPDATE x SET x = a_string ( 10 ) WHERE x > 10 ;
SELECT COALESCE ( max ( x ) , 10 ) FROM x ;
INSERT INTO x SELECT x CONCAT x FROM x ;
DELETE FROM x WHERE x % 10 != 10 ;
INSERT INTO x VALUES ( 'y' , NULL ) ,( 'y' , 'y' ) ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( NULL , 10 ) ,( NULL , 10 ) ;
PRAGMA x . x ( x ) ;
INSERT INTO x ( x ) SELECT x CONCAT x CONCAT x CONCAT x FROM x ;
INSERT INTO x SELECT x + 10 , randomblob ( 10 ) , x + 10 , randomblob ( 10 ) FROM x ;
CREATE TABLE x . x ( x INTEGER PRIMARY KEY , x , x , x ) ;
INSERT INTO x VALUES ( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ,( 'y' , 10 ) ;
SELECT printf ( 'y' ) ;
SELECT printf ( 'y' , 10 , 10 , 10 ) ;
SELECT printf ( 'y' , 10 , 'y' , 10 ) ;
SELECT printf ( 'y' , 0.1 ) ;
SELECT printf ( 'y' , 10 , 0.1 ) ;
SELECT printf ( 'y' , 10 , 10 , 0.1 ) ;
SELECT printf ( 'y' , 0.1 , 'y' ) ;
SELECT printf ( 'y' , 10 ) ;
SELECT printf ( 'y' , 10 , 'y' ) ;
SELECT printf ( 'y' , 'y' ) ;
SELECT printf ( 'y' , x , x , x ) FROM x ORDER BY x ;
SELECT printf ( 'y' , x , x ) FROM x ORDER BY x ;
SELECT printf ( 'y' , x ) FROM x ORDER BY x ;
SELECT printf ( 'y' , 'y' , 'y' ) ;
SELECT printf ( 'y' , 10 , 10 ) ;
CREATE TABLE x ( x , x , x CHECK( x != x ) ) ;
CREATE INDEX x ON x ( x ) WHERE x = x ;
INSERT INTO x VALUES ( 10 , 'y' , 0.1 ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 'y' , 0.1 ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 'y' , 10 ) ;
CREATE TABLE x ( x INTEGER , x INTEGER , x INTEGER , x INTEGER , x , x , x ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , NULL , 10 , 10 , 10 ) ;
INSERT INTO x VALUES ( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ;
REINDEX x . x ;
SELECT x FROM x WHERE x IS NULL ORDER BY 10 ;
SELECT x FROM x WHERE x IS NULL AND x IN ( 10 , 10 , 10 , 10 , 10 ) ;
SELECT sum ( x ) , sum ( length ( x ) ) FROM x ;
UPDATE x SET x = randomblob ( 10 ) WHERE x = 10 ;
SELECT 10 AS y FROM x , x ORDER BY x ;
SELECT 10 AS yy FROM x , x ORDER BY x ;
SELECT x AS y FROM x ORDER BY x ;
SELECT x AS yy FROM x ORDER BY x ;
SELECT x AS yy FROM x ORDER BY 10 ;
SELECT 'y' , substr ( x , 10 ) AS m FROM x ORDER BY x ;
SELECT 'y' , substr ( x , 10 ) AS m FROM x ORDER BY lower ( x ) ;
CREATE TABLE x ( x CHAR(2) ) ;
SELECT count ( * ) , substr ( x , 10 , 10 ) AS m FROM x GROUP BY x ORDER BY 10 , 10 ;
SELECT count ( * ) , substr ( x , 10 , 10 ) AS mx FROM x GROUP BY x ORDER BY 10 , 10 ;
SELECT min ( x ) FROM x GROUP BY lower ( x ) ;
SELECT min ( x ) AS name FROM x GROUP BY lower ( x ) ;
SELECT 10 AS x WHERE ( SELECT x AS y WHERE 10 > x ) ;
CREATE TABLE x ( x UNIQUE ON CONFLICT ROLLBACK ) ;
SELECT x FROM x WHERE ( x % 10 ) == 10 ORDER BY x DESC ;
SELECT x FROM x WHERE ( x % 10 ) == 10 ORDER BY x ASC ;
SELECT x FROM x WHERE x = 'y' OR x = 'y' OR x = 'y' ;
SELECT x , * FROM x WHERE x > 10 ;
SELECT x FROM x WHERE x NOT IN ( 10 , 10 , 10 , 10 , 10 ) ;
SELECT x FROM x WHERE x NOT IN ( 10 , 10 , 10 , 10 , 10 ) ORDER BY x ;
INSERT INTO x ( x , x ) SELECT - x , x FROM x ;
SELECT count ( * ) FROM x WHERE x == 'y' ;
SELECT x , x , addrow ( x + 10 ) , 'y' FROM x LIMIT 10 ;
SELECT * FROM x WHERE x < 'y' ORDER BY x ASC ;
SELECT * FROM x WHERE x < 'y' ORDER BY x DESC ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , NULL ) ;
CREATE TABLE x ( x ) ; INSERT INTO x ( x ) VALUES ( 'y' ) ;
CREATE TABLE x ( x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT ) ;
CREATE INDEX x ON x ( x , x , x , x , x ) ;
UPDATE x SET x = ( SELECT * FROM SELECT x , 10 ) < 10 ;
UPDATE x SET x = NULL WHERE x < ( SELECT * FROM SELECT x , 10 ) ;
DELETE FROM x WHERE x < ( SELECT * FROM SELECT x , 10 ) ;
UPDATE x SET x = x WHERE x = 10 ;
SELECT ( SELECT 10 , 10 UNION SELECT 10 , 10 ORDER BY 10 ) IN ( SELECT 10 , 10 ) ;
SELECT ( SELECT 10 , 10 UNION SELECT 10 , 10 ORDER BY 10 DESC ) IN ( SELECT 10 , 10 ) ;
CREATE TABLE x ( x INTEGER , x INTEGER , x INTEGER , x INTEGER ) ;
INSERT INTO x VALUES ( NULL , NULL , 10 ) ;
CREATE TABLE x ( x TEXT , x INTEGER ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , NULL , 10 ) ;
INSERT INTO x ( x , x , x ) VALUES ( 10 , 10 , NULL ) ;
INSERT INTO x ( x , x , x , x , x ) VALUES ( 10 , 'y' , 'y' , 10 , 10 ) ;
CREATE TABLE x ( x TEXT PRIMARY KEY , x INT ) ;
INSERT INTO x ( x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ;
INSERT INTO x ( x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 ) ;
INSERT INTO x ( x , x , x , x ) VALUES ( 10 , 'y' , 10 , 10 ) ;
SELECT x FROM x WHERE x = ( SELECT x FROM x WHERE x = x ) ;
SELECT x FROM x WHERE x IN ( SELECT 10 + x FROM x ) ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
CREATE VIRTUAL TABLE x USING echo ( t1 ) ;
ROLLBACK TO SAVEPOINT x ;
ROLLBACK TRANSACTION TO x ;
ROLLBACK TRANSACTION TO SAVEPOINT x ;
UPDATE x SET x = x CONCAT randstr ( 10 , 10 ) ;
INSERT OR ROLLBACK INTO x VALUES ( 10 , 'y' ) ;
UPDATE x SET x = randstr ( 10 , 10 ) WHERE random () % 10 ;
INSERT INTO x SELECT x FROM x WHERE random () % 10 ;
DELETE FROM x WHERE random () % 10 ;
INSERT INTO x SELECT randstr ( 10 , 10 ) FROM x WHERE ( random () % 10 == 10 ) ;
UPDATE x SET x = 'y' , x = 'y' ;
SELECT * FROM x ORDER BY 10 , 10 DESC ;
SELECT * FROM x ORDER BY 10 DESC , x ;
SELECT * FROM x ORDER BY x DESC , 10 ;
SELECT x , x FROM x AS x , x AS y ;
SELECT x FROM x , x ;
SELECT x FROM x AS x , x ;
SELECT 10 , 10 UNION SELECT * FROM x ;
SELECT * FROM x WHERE x = ( SELECT 10 ) ;
SELECT x FROM SELECT x AS x , x AS y FROM x UNION SELECT x , x FROM x ORDER BY x , x ORDER BY x ;
INSERT INTO x SELECT x + ( SELECT max ( x ) FROM x ) , x + ( SELECT max ( x ) FROM x ) , x + ( SELECT max ( x ) FROM x ) FROM x ;
SELECT count ( ( SELECT x FROM x WHERE x = NULL AND x >= x ) ) FROM x AS upper ;
SELECT * FROM x WHERE x <= 10 ;
SELECT 10 IN ( SELECT x FROM x ) ;
SELECT * FROM x , SELECT * FROM x WHERE x = 10 ORDER BY x , x ;
SELECT * FROM x , SELECT * FROM x WHERE x = 10 ORDER BY x , x LIMIT 10 ;
SELECT * FROM x , SELECT * FROM x WHERE x = 10 UNION ALL SELECT * FROM x WHERE x = 10 ORDER BY x , x LIMIT 10 ;
SELECT * FROM x , x WHERE max ( x , x ) > 10 ;
SELECT * FROM x CROSS JOIN x WHERE x ;
SELECT * FROM x CROSS JOIN x WHERE NOT x ;
SELECT * FROM x , x WHERE min ( x , x ) ;
SELECT * FROM x , x WHERE NOT min ( x , x ) ;
SELECT x , count ( * ) FROM x GROUP BY 10 ORDER BY x ;
SELECT x , min ( x ) FROM x GROUP BY x ORDER BY x DESC ;
SELECT x , min ( x ) FROM x GROUP BY x ORDER BY 10 ;
SELECT x , min ( x ) FROM x GROUP BY x ORDER BY 10 DESC ;
SELECT x , min ( x ) FROM x GROUP BY x ORDER BY x ;
SELECT x , sum ( x ) FROM x WHERE x = 10 GROUP BY x ;
SELECT x , sum ( x ) FROM x WHERE x = 10 ;
SELECT typeof ( sum ( x ) ) FROM x ;
SELECT typeof ( sum ( x ) ) FROM x GROUP BY x ;
SELECT DISTINCT * FROM x WHERE ( x IS NULL ) ;
SELECT 10 AS x ORDER BY ( SELECT x ORDER BY 10 ) ;
SELECT * FROM SELECT NULL , 10 UNION ALL SELECT NULL , 10 ;
SELECT DISTINCT * FROM SELECT NULL , 10 UNION ALL SELECT NULL , 10 ;
SELECT DISTINCT * FROM SELECT 10 , 10 UNION ALL SELECT 10 , 10 ;
CREATE TABLE x ( x TEXT , x FLOAT , x TEXT ) ;
SELECT * FROM SELECT 10 , SELECT 10 ON likely ( 10 OR 10 ) OR 10 ;
SELECT x FROM x GROUP BY x ;
SELECT x FROM x WHERE x > 10 GROUP BY x ;
SELECT x , x FROM x GROUP BY x , x ;
SELECT x , x FROM x GROUP BY x ;
SELECT x , count ( x ) FROM x , x WHERE x = x GROUP BY x ORDER BY x ;
SELECT x , count ( x ) FROM x , x WHERE x < x GROUP BY x ORDER BY x ;
SELECT x , count ( x ) FROM x , x WHERE x = x GROUP BY x ORDER BY 10 ;
SELECT x , count ( x ) FROM x , x GROUP BY x ORDER BY 10 ;
SELECT x , count ( * ) FROM x , x GROUP BY x ORDER BY 10 ;
SELECT x FROM SELECT x FROM x LIMIT 10 OFFSET 10 ;
SELECT x FROM SELECT x FROM x LIMIT 10 ;
SELECT x FROM SELECT x FROM x LIMIT 10 LIMIT 10 ;
SELECT * FROM SELECT * FROM x , x ;
CREATE TABLE x ( x INT , x VARCHAR(8) ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 'y' ) ,( 10 , 'y' ) ;
SELECT x , x , ( SELECT x FROM x WHERE x = x ) , 'y' FROM SELECT count ( * ) AS cnt , x AS xyz FROM x GROUP BY 10 ORDER BY x , x ;
SELECT x , x , lower ( ( SELECT x FROM x WHERE x = x ) ) , 'y' FROM SELECT count ( * ) AS cnt , x AS xyz FROM x GROUP BY 10 ORDER BY x , x ;
SELECT x , x , 'y' FROM SELECT count ( * ) AS cnt , x AS xyz FROM x GROUP BY 10 WHERE ( SELECT x FROM x WHERE x = x ) != 'y' ORDER BY x , x ;
SELECT x , x , 'y' FROM SELECT count ( * ) AS cnt , x AS xyz FROM x GROUP BY 10 ORDER BY lower ( ( SELECT x FROM x WHERE x = x ) ) ;
SELECT ( SELECT x FROM x WHERE x = x ) FROM SELECT count ( * ) AS cnt FROM x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x TEXT NULL ) ;
CREATE VIEW x AS SELECT * FROM x UNION SELECT * FROM x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INT , x ) ;
SELECT 10 IN ( SELECT x , x FROM x ) ;
SELECT 10 IN ( SELECT * FROM x ) ;
SELECT 10 IN ( SELECT x , x FROM x UNION SELECT x , x FROM x ) ;
SELECT 10 IN ( SELECT * FROM x UNION SELECT * FROM x ) ;
SELECT ( CASE WHEN x = 10 THEN 'y' ELSE x / 10 END ) AS t FROM x GROUP BY x ;
CREATE TABLE x ( x TEXT , x INT ) ;
SELECT typeof ( x ) , x FROM x GROUP BY x HAVING x < x ;
SELECT lower ( ( SELECT x FROM x UNION ALL SELECT x FROM x ORDER BY 10 ) ) ;
SELECT lower ( ( SELECT x FROM x INTERSECT SELECT x FROM x ORDER BY 10 ) ) ;
SELECT lower ( ( SELECT x FROM x EXCEPT SELECT x FROM x ORDER BY 10 ) ) ;
SELECT * FROM SELECT x FROM x UNION SELECT x FROM x WHERE x = x ;
SELECT DISTINCT * FROM SELECT x FROM x UNION ALL SELECT x FROM x ORDER BY 10 ;
SELECT x , count ( * ) FROM SELECT x FROM x UNION ALL SELECT x FROM x GROUP BY x ORDER BY 10 ;
SELECT x , count ( * ) FROM SELECT x FROM x UNION ALL SELECT x FROM x GROUP BY x HAVING count ( * ) > 10 ;
SELECT x , count ( ( NOT ( x IS NULL ) ) AND ( NOT ( x IS NULL ) ) ) FROM x WHERE ( CASE WHEN x != 'y' THEN 10 ELSE 10 END ) GROUP BY 10 ;
SELECT x , max ( x CONCAT x ) FROM x WHERE ( x CONCAT x CONCAT x ) != 'y' GROUP BY x ;
CREATE VIEW x AS SELECT x FROM x ORDER BY 10 ;
CREATE TABLE x AS SELECT x FROM x UNION ALL SELECT x FROM x ;
SELECT count ( * ) , max ( length ( x ) ) FROM x ;
CREATE VIEW x AS SELECT * FROM x , x WHERE x = x GROUP BY x ORDER BY x ;
INSERT INTO x ( x ) SELECT NULL FROM x ;
UPDATE x SET x = x , x = 'y' ;
CREATE VIEW x AS SELECT x , roman ( x ) FROM x ;
SELECT count ( * ) , sum ( x ) FROM x ;
CREATE TABLE x ( x TEXT , x INT , x INT , x INT ) ;
INSERT INTO x VALUES ( 'y' , 10 , 10 , 10 ) ;
SELECT x , x , x , x , 'y' FROM x WHERE x = 10 ORDER BY x ;
SELECT x , x , x , x , 'y' FROM x WHERE x != 10 AND x = 10 ORDER BY x DESC ;
SELECT x , x , x , x , 'y' FROM x WHERE x = 10 ORDER BY x , x , x ;
SELECT x , x , x , x , 'y' FROM x WHERE x IN ( 10 , 10 ) ORDER BY x , x , x ;
SELECT x , x , x , x , 'y' FROM x WHERE x BETWEEN 10 AND 10 ORDER BY x , x , x ;
SELECT x , x , x , x , 'y' FROM x WHERE x IN ( 10 , 10 ) AND x BETWEEN 10 AND 10 ORDER BY x , x ;
SELECT x , x , x , x , 'y' FROM x WHERE x != 10 AND x = 10 ORDER BY x ;
CREATE INDEX x ON x ( x , x , x , x , x , x , x , x ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x TEXT , x INTEGER , x INTEGER , x INTEGER , x INTEGER , x INTEGER ) ;
CREATE TABLE x ( x , x , x , x , x , x , x , x VARCHAR(300) ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , NULL ) ;
SELECT DISTINCT quote ( x ) , quote ( x ) , quote ( x ) , quote ( x ) , 'y' FROM x WHERE x = 10 ;
INSERT INTO x ( x , x , x ) SELECT x , x , x FROM x ;
SELECT x FROM x WHERE x = 10 AND x = 10 ;
INSERT INTO x VALUES ( 10 , 'y' , 10 , 'y' , 0.1 ) ;
INSERT INTO x VALUES ( 10 , 'y' , 10 , 'y' , 10 ) ;
UPDATE x SET x = 'y' CONCAT - x ;
UPDATE x SET x = 'y' WHERE x == 'y' ;
SELECT x FROM x ORDER BY substr ( x , 10 , 10 ) ;
SELECT x FROM x ORDER BY substr ( x , 10 , 10 ) + 0.1 ;
SELECT x FROM x ORDER BY substr ( x , 10 , 10 ) DESC ;
SELECT x FROM x ORDER BY substr ( x , 10 , 10 ) + 0.1 DESC ;
SELECT x , x FROM x ORDER BY x DESC ;
SELECT x CONCAT 'y' FROM x ORDER BY 10 DESC ;
SELECT x + 10 FROM x ORDER BY 10 DESC ;
SELECT x FROM x ORDER BY 10 DESC ;
SELECT substr ( x , 10 , 10 ) FROM x ORDER BY 10 ;
SELECT x FROM x ORDER BY x , x DESC ;
SELECT x FROM x ORDER BY x DESC , x ;
SELECT x FROM x ORDER BY x DESC , x DESC ;
CREATE TABLE x ( x INTEGER , x VARCHAR(30) ) ;
SELECT x FROM x WHERE x <= 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x < 10 ORDER BY x DESC ;
SELECT x FROM x , x WHERE x = 10 ORDER BY x , x ;
CREATE UNIQUE INDEX x ON x ( x , x , x ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 'y' ) ;
SELECT * FROM x LEFT JOIN x ON ( x = x ) ORDER BY x ;
SELECT next_char ( 'y' , 'y' , 'y' ) ;
SELECT next_char ( 'y' , 'y' , 'y' , NULL , 'y' ) ;
SELECT next_char ( 'y' , 'y' , 'y' , NULL , NULL ) ;
SELECT x , x , x FROM x WHERE x MATCH 'y' ORDER BY x LIMIT 10 ;
CREATE VIRTUAL TABLE x USING spellfix1 ;
SELECT x , x FROM x WHERE x MATCH 'y' LIMIT 10 ;
SELECT x , x FROM x WHERE x = 10 ;
SELECT x , x FROM x WHERE x = 10 AND x MATCH 'y' ;
INSERT OR REPLACE INTO x ( x , x ) VALUES ( 10 , 'y' ) ;
INSERT OR ABORT INTO x ( x , x ) VALUES ( 10 , 'y' ) ;
INSERT OR ROLLBACK INTO x ( x , x ) VALUES ( 10 , 'y' ) ;
INSERT OR FAIL INTO x ( x , x ) VALUES ( 10 , 'y' ) ;
INSERT OR IGNORE INTO x ( x , x ) VALUES ( 10 , 'y' ) ;
SELECT count ( * ) FROM x WHERE x MATCH 'y' AND x <= 10 ;
SELECT x , x , x FROM x WHERE x MATCH 'y' AND x <= 10 ORDER BY x , x ;
SELECT spellfix1_scriptcode ( 'y' ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ;
SELECT editdist3 ( 'y' ) ;
SELECT editdist3 ( 'y' , 'y' ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ,( 10 , 'y' , 'y' , 10 ) ;
INSERT INTO x VALUES ( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ;
SELECT * FROM x WHERE x = 10 ORDER BY x ;
UPDATE x SET x = x CONCAT hex ( randomblob ( 10 ) ) ;
SELECT * , 'y' FROM x WHERE x = 10 ORDER BY x ;
SELECT x , quote ( x ) , x , quote ( x ) , x , x , x , x , 'y' FROM x 'y' , 10 ;
SELECT * FROM x 'y' ;
SELECT * FROM x 10 ;
SELECT x , x FROM x ORDER BY 10 ;
SELECT x , x , x FROM x WHERE x LIKE 'y' AND NOT x ;
SELECT count ( * ) FROM x WHERE NOT x ;
SELECT count ( * ) FROM x WHERE x > 10 ;
SELECT * FROM x WHERE NOT x ;
SELECT x , x FROM x , x WHERE x = ( SELECT x ) ;
SELECT count ( * ) FROM x WHERE x > ( SELECT count ( * ) FROM x ) ;
SELECT ( x * 10 ) > x FROM x , x WHERE x = x ;
SELECT x FROM x WHERE ( SELECT ( x * 10 ) > x FROM x WHERE x = x ) ;
SELECT ( SELECT x ) , x FROM x ;
SELECT * FROM SELECT ( SELECT x ) , x FROM x ;
SELECT * FROM SELECT ( SELECT sum ( x ) FROM x ) ;
CREATE TABLE x ( x INT , x TEXT PRIMARY KEY ) ;
SELECT ( SELECT 10 ) ;
SELECT x IN ( 0.1 , 10 ) FROM x ;
CREATE VIEW x AS SELECT x FROM x WHERE x > 10 ;
SELECT * FROM x WHERE EXISTS ( SELECT * FROM x WHERE x = x ) ;
SELECT * FROM x WHERE EXISTS ( SELECT 10 ) ;
SELECT ( SELECT x ) FROM x ;
SELECT x , ( SELECT x ) FROM x GROUP BY x ;
SELECT x , ( SELECT x FROM x WHERE x = x ) FROM x GROUP BY x ;
SELECT max ( x ) , ( SELECT x FROM x WHERE x = x ) FROM x ;
SELECT x , ( SELECT ( SELECT x FROM x WHERE x = x ) ) FROM x GROUP BY x ;
SELECT x , ( SELECT count ( * ) FROM x WHERE x = x ) FROM x ;
CREATE TABLE x ( x ) ; INSERT INTO x VALUES ( 10 ) ,( 10 ) ,( 10 ) ;
CREATE TABLE x ( x ) ; INSERT INTO x VALUES ( 10 ) ,( 10 ) ;
SELECT max ( ( SELECT avg ( x ) FROM x ) ) FROM x ;
SELECT max ( ( SELECT count ( x ) FROM x ) ) FROM x ;
SELECT max ( ( SELECT count () FROM x ) ) FROM x ;
SELECT max ( ( SELECT x FROM SELECT count ( x ) AS a FROM x ) ) FROM x ;
SELECT ( SELECT x FROM x ) ;
SELECT ( SELECT 10 FROM SELECT * FROM x ) AS x WHERE x ;
SELECT ( SELECT 10 FROM SELECT * FROM SELECT 10 ) AS x WHERE x ;
SELECT x FROM SELECT x , x FROM SELECT * FROM x UNION ALL SELECT * FROM x WHERE x = 10 ORDER BY x ;
SELECT x FROM SELECT 'y' , x FROM SELECT x FROM x UNION ALL SELECT x FROM x ORDER BY x ;
SELECT x , x FROM SELECT x , x FROM SELECT * FROM x UNION ALL SELECT * FROM x ORDER BY x ;
SELECT ( SELECT x FROM x WHERE x = x ORDER BY x , x ) FROM x ;
SELECT 10 IN ( SELECT x FROM x ORDER BY x DESC ) ;
INSERT INTO x SELECT x FROM x UNION ALL SELECT x FROM x ;
SELECT sum ( x ) FROM SELECT x FROM x ORDER BY x LIMIT 10 ;
SELECT sum ( x ) FROM SELECT x FROM x ORDER BY x DESC LIMIT 10 ;
SELECT ( SELECT x FROM x ORDER BY x ) ;
SELECT ( SELECT x FROM x ORDER BY x DESC ) ;
SELECT ( SELECT x FROM x ORDER BY x LIMIT 10 ) ;
SELECT ( SELECT x FROM x ORDER BY x DESC LIMIT 10 ) ;
SELECT ( SELECT x FROM x ORDER BY x LIMIT 10 OFFSET 10 ) ;
SELECT ( SELECT x FROM x ORDER BY x DESC LIMIT 10 OFFSET 10 ) ;
SELECT x FROM x WHERE x IN ( SELECT x FROM x ORDER BY x DESC LIMIT 10 OFFSET 10 ) ;
SELECT x FROM x WHERE x IN ( SELECT x FROM x ORDER BY x ) ;
SELECT x FROM x WHERE x IN ( SELECT x FROM x ORDER BY x LIMIT 10 ) ;
SELECT x FROM x WHERE x IN ( SELECT x FROM x ORDER BY x DESC LIMIT 10 ) ;
SELECT test_getsubtype ( test_setsubtype ( 'y' , 10 ) ) ;
SELECT typeof ( test_setsubtype ( 'y' , 10 ) ) ;
SELECT test_setsubtype ( 'y' , 10 ) ;
CREATE TABLE x . x ( x INTEGER PRIMARY KEY , x TEXT ) ;
INSERT INTO x . x SELECT * FROM x WHERE x BETWEEN 10 AND 10 ;
INSERT INTO x VALUES ( 'y' , 'y' , 10 , 10 ) ;
SELECT * FROM x WHERE x BETWEEN 10 AND 10 ;
INSERT INTO x . x VALUES ( 10 , NULL ) ;
SELECT x FROM x WHERE x BETWEEN 10 AND 10 ORDER BY x ;
SELECT x FROM x WHERE ( x % 10 ) = 10 ;
SELECT * , 'y' FROM x WHERE x = 10 AND x = 10 AND x = 10 ;
SELECT * , 'y' FROM x LIMIT 10 ;
CREATE VIRTUAL TABLE x USING generate_series ;
SELECT * FROM x 10 , 10 , 10 ;
SELECT * FROM x 10 , 10 ;
SELECT * FROM x 10 , 10 WHERE x = 10 ;
SELECT * FROM x 10 , 10 , 10 , 10 ;
SELECT * FROM x 10 , 10 , 10 ORDER BY x DESC ;
SELECT x , * FROM x 10 , 10 , 10 ORDER BY x DESC ;
CREATE VIEW x ( x ) AS SELECT x FROM x 10 , 10 ;
SELECT * FROM x 10 ORDER BY x ;
SELECT DISTINCT x FROM x 10 , x , x ORDER BY 10 ;
SELECT typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) FROM x LIMIT 10 ;
SELECT typeof ( x + x ) , typeof ( x CONCAT x ) , typeof ( x + x ) , typeof ( x CONCAT x ) FROM x LIMIT 10 ;
CREATE TABLE x AS SELECT x , x , x AS i , ( SELECT x FROM x ) AS j FROM x ;
SELECT x , x , x FROM x WHERE x = 10 ;
INSERT INTO x SELECT x * 10 , x * 10 FROM x ;
INSERT INTO x SELECT x * 10 + 10 , x * 10 + 10 FROM x ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , NULL ) ,( 10 , 'y' ) ;
SELECT quote ( add_i ( 10 , 10 ) ) ;
SELECT quote ( add_r ( 10 , 10 ) ) ;
SELECT quote ( add_t ( 10 , 10 ) ) ;
SELECT quote ( add_b ( 10 , 10 ) ) ;
SELECT quote ( add_a ( 10 , 10 ) ) ;
SELECT quote ( add_i ( 0.1 , 0.1 ) ) ;
SELECT quote ( add_r ( 0.1 , 0.1 ) ) ;
SELECT quote ( add_t ( 0.1 , 0.1 ) ) ;
SELECT quote ( add_b ( 0.1 , 0.1 ) ) ;
SELECT quote ( add_a ( 0.1 , 0.1 ) ) ;
SELECT quote ( ret_i ( 0.1 ) ) ;
SELECT quote ( ret_r ( 0.1 ) ) ;
SELECT quote ( ret_t ( 0.1 ) ) ;
SELECT quote ( ret_b ( 0.1 ) ) ;
SELECT quote ( ret_a ( 0.1 ) ) ;
SELECT quote ( ret_i ( 'y' ) ) ;
SELECT quote ( ret_r ( 'y' ) ) ;
SELECT quote ( ret_t ( 'y' ) ) ;
SELECT quote ( ret_b ( 'y' ) ) ;
SELECT quote ( ret_a ( 'y' ) ) ;
UPDATE x SET x = int2str ( 10 ) ;
SELECT x = int2str ( 10 ) FROM x ;
UPDATE x SET x = int2str ( x + 10 ) ;
DELETE FROM x WHERE ( random () % 10 ) == 10 ;
CREATE TEMP TRIGGER x BEFORE INSERT ON x BEGIN SELECT 10 , 10 , 10 ; END ;
SELECT x , x , x , x FROM x . x ;
SELECT * FROM SELECT x FROM x LIMIT 10 UNION ALL SELECT 10 ;
CREATE VIEW x ( x , x ) AS SELECT DISTINCT x , 'y' FROM x ;
SELECT count ( * ) FROM x WHERE x >= x ;
SELECT count ( * ) FROM x WHERE NOT NOT ( x >= x ) ;
SELECT count ( * ) FROM x WHERE ( ( x >= x ) OR 10 + 10 ) ;
INSERT INTO x SELECT NULL , x CONCAT x FROM x ;
CREATE TABLE x ( x INT PRIMARY KEY , x , x ) ;
SELECT ( SELECT 10 FROM SELECT 10 FROM x WHERE x = 10 OR x = 'y' WHERE x = 'y' OR x IN ( SELECT x = ( 'y' IN ( SELECT 'y' ) ) ) ) FROM x ;
CREATE TABLE x ( x TEXT UNIQUE , x TEXT UNIQUE , x ) ;
SELECT * FROM x WHERE ( x = 'y' OR x = 'y' ) AND x IS NOT NULL ;
INSERT INTO x VALUES ( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ;
SELECT x FROM x WHERE x IN ( 10 , 10 , 10 ) ORDER BY x ASC ;
SELECT x FROM x WHERE x IN ( 10 , 10 , 10 ) ORDER BY x DESC ;
INSERT INTO x VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ;
SELECT x , x FROM x WHERE x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x ASC , x ASC ;
SELECT x , x FROM x WHERE x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x ASC , x DESC ;
SELECT x , x FROM x WHERE x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x DESC , x ASC ;
SELECT x , x FROM x WHERE x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x DESC , x DESC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x , x ASC , x ASC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x ASC , x ASC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x , x ASC , x DESC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x ASC , x DESC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x , x DESC , x ASC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x DESC , x ASC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x , x DESC , x DESC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( 10 , 10 , 10 ) ORDER BY x DESC , x DESC ;
SELECT x , x FROM x WHERE x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x ASC , x ASC ;
SELECT x , x FROM x WHERE x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x ASC , x DESC ;
SELECT x , x FROM x WHERE x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x DESC , x ASC ;
SELECT x , x FROM x WHERE x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x DESC , x DESC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x , x ASC , x ASC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x ASC , x ASC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x , x ASC , x DESC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x ASC , x DESC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x , x DESC , x ASC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x DESC , x ASC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x , x DESC , x DESC ;
SELECT x , x , x FROM x , x WHERE x = 10 AND x = 10 AND x IN ( SELECT x FROM x ) ORDER BY x DESC , x DESC ;
SELECT x FROM x WHERE x IN ( SELECT x FROM x ) ORDER BY x ASC ;
SELECT x FROM x WHERE x IN ( SELECT x FROM x ) ORDER BY x DESC ;
SELECT 'y' , x , ( SELECT count ( * ) FROM x JOIN SELECT DISTINCT x AS p FROM x AS x ON x = x ) FROM x ;
SELECT ( SELECT x FROM SELECT * FROM x WHERE x = x ORDER BY x LIMIT 10 OFFSET 10 WHERE x = x ) FROM x AS out ;
CREATE TABLE x ( x VARCHAR(1) PRIMARY KEY , x INTEGER NOT NULL ) ;
SELECT DISTINCT x FROM SELECT x , x FROM x ORDER BY x , x LIMIT 10 AS test ;
SELECT x FROM x JOIN x ON x = x AS x JOIN x ON x = x AS y ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 'y' ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x VARCHAR(36) , x INTEGER ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x VARCHAR(36) ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 ) ,( 10 , 10 , 10 , 10 , 10 ) ;
SELECT x / 10 , x / 10 FROM x ;
SELECT x / 10 , x / 10 FROM SELECT * FROM x ;
SELECT x / 10 , x / 10 FROM SELECT * FROM x LIMIT 10 OFFSET 10 ;
SELECT x / 10 , x / 10 FROM SELECT * FROM x LIMIT 10 OFFSET 10 LIMIT 10 OFFSET 10 ;
SELECT x / 10 , x / 10 FROM x AS a , x AS b WHERE x = x LIMIT 10 OFFSET 10 ;
SELECT x FROM x WHERE x IN ( 0.1 ) ;
SELECT x FROM x WHERE 10 IN ( x ) ;
SELECT x FROM x WHERE 0.1 IN ( x ) ;
SELECT x FROM x WHERE 'y' IN ( x ) ;
SELECT x , x FROM x WHERE x IN ( 10 ) ;
SELECT x , x FROM x WHERE x IN ( 0.1 ) ;
SELECT x , x FROM x WHERE x IN ( 'y' ) ;
SELECT x , x FROM x WHERE 10 IN ( x ) ;
SELECT x , x FROM x WHERE 0.1 IN ( x ) ;
SELECT x , x FROM x WHERE 'y' IN ( x ) ;
SELECT * FROM x WHERE x = AND x = AND x = AND x = AND x = ;
DELETE FROM x WHERE x = 10 AND x = 10 AND x = 10 AND x = 10 AND x = 10 AND x = 10 ;
SELECT x == x FROM SELECT x , 'y' AS xyz FROM x , x ;
SELECT 'y' == x FROM SELECT x , 'y' AS xyz FROM x , x ;
SELECT SUM ( x ) FROM SELECT x BETWEEN x AND x AS count FROM x ;
SELECT x BETWEEN x AND x AS count FROM x ;
SELECT typeof ( x ) , typeof ( x ) FROM x WHERE 10 = x + 10 AND x == 'y' ;
SELECT typeof ( x ) , typeof ( x ) FROM x WHERE 10 = x * 10 AND x == 'y' ;
SELECT typeof ( x ) , typeof ( x ) FROM x WHERE 10 = x / 10 AND x == 'y' ;
SELECT typeof ( x ) , typeof ( x ) FROM x WHERE 10 = x % 10 AND x == 'y' ;
SELECT 10 + 0.1 ;
SELECT 'y' / 'y' ;
SELECT 'y' + 'y' ;
SELECT 'y' - 'y' ;
SELECT 'y' / 'y' , 'y' / 'y' , 'y' / 'y' ;
INSERT INTO x SELECT x , CASE x WHEN 'y' THEN NULL ELSE x END FROM x ;
INSERT INTO x SELECT x , coalesce ( x , x ) FROM x ;
SELECT x , x BETWEEN 'y' AND 'y' FROM x ORDER BY x ;
SELECT * FROM x GROUP BY x ORDER BY x ;
SELECT * FROM x GROUP BY x ORDER BY x ASC ;
SELECT * FROM x GROUP BY x ORDER BY x DESC ;
SELECT DISTINCT x AS x , x AS y FROM x , x ;
SELECT count ( * ) FROM x , x GROUP BY x , x ;
SELECT x , force_rollback () , EXISTS ( SELECT 10 FROM x WHERE x = x ) FROM x ;
SELECT ins () AS x FROM x UNION ALL SELECT ins () AS x FROM x ;
SELECT count ( CASE WHEN x = 'y' THEN 10 END ) , count ( CASE WHEN x = 'y' THEN 10 END ) FROM x ;
INSERT INTO x SELECT randomblob ( 10 ) , randomblob ( 10 ) ;
INSERT INTO x VALUES ( 10 , 'y' , 10 , 10 , 0.1 , 10 , 10 ) ;
INSERT INTO x VALUES ( NULL , 'y' , 'y' , 'y' ) ;
CREATE TABLE x ( x INTEGER , x INTEGER , x INTEGER ) ;
CREATE TABLE x ( x INTEGER , x INTEGER NOT NULL , x INTEGER NOT NULL , x INTEGER , x INTEGER , x INTEGER ) ;
CREATE VIEW x AS SELECT * FROM x ORDER BY x ;
SELECT * FROM x UNION ALL SELECT * FROM x ORDER BY 10 ;
SELECT count ( * ) , sum ( x ) , sum ( x ) FROM x ;
SELECT x FROM x WHERE max ( x ) < 10 GROUP BY x ;
SELECT typeof ( x ) , typeof ( x ) FROM x ;
SELECT * FROM x LEFT JOIN x ON x = x OR x = x ;
SELECT * FROM x LEFT JOIN x ON x IN ( x , x ) ;
SELECT * FROM x LEFT JOIN x ON x BETWEEN x AND x ;
SELECT * FROM x LEFT JOIN x ON x GLOB 'y' WHERE x = 10 ;
UPDATE x SET x = x CONCAT 'y' WHERE x % 10 == 10 ;
UPDATE x SET x = CASE WHEN x < 10 THEN substr ( x , 10 , 10 ) ELSE 'y' END ;
SELECT tkt2213func ( tkt2213func ( 'y' ) ) ;
SELECT avg ( x ) , typeof ( avg ( x ) ) FROM x ;
SELECT sum ( x ) , typeof ( sum ( x ) ) FROM x ;
SELECT x , sum ( x ) , typeof ( sum ( x ) ) FROM x GROUP BY x ORDER BY x ;
SELECT x , typeof ( x ) FROM x WHERE x = 10 ;
SELECT count ( * ) FROM x WHERE x < 'y' ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x UNIQUE , x ) ;
SELECT count ( * ) FROM x WHERE x IS NOT NULL
SELECT x , x , x FROM x UNION ALL SELECT x , x , x FROM x ORDER BY 10 ;
SELECT x , CAST ( x AS TEXT ) , x FROM x UNION ALL SELECT x , x , x FROM x ORDER BY 10 ;
SELECT x , x , x FROM x UNION ALL SELECT x , x , x FROM x ORDER BY x ;
SELECT x , CAST ( x AS TEXT ) AS x , x FROM x UNION ALL SELECT x , x , x FROM x ORDER BY x ;
SELECT x , CAST ( x AS TEXT ) AS x , x FROM x UNION ALL SELECT x , x , x FROM x ORDER BY CAST ( x AS TEXT ) ;
SELECT x , x , x FROM x UNION ALL SELECT x AS x , x , x FROM x ORDER BY x ;
SELECT x AS b , CAST ( x AS TEXT ) AS a , x FROM x UNION ALL SELECT x , x , x FROM x ORDER BY x ;
SELECT x , x , x FROM x UNION ALL SELECT x AS b , CAST ( x AS TEXT ) AS a , x FROM x ORDER BY x ;
SELECT x AS b FROM x ORDER BY x ;
SELECT * FROM x ORDER BY 10 , 10 , 10 ;
SELECT * FROM x ORDER BY 10 , 10 , 10 , 10 ;
SELECT * FROM x ORDER BY 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ;
SELECT * FROM x ORDER BY 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ;
SELECT * FROM x ORDER BY 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ;
SELECT * FROM x ORDER BY 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ;
SELECT * FROM x ORDER BY 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ;
SELECT group_concat ( x ) FROM SELECT x FROM x ORDER BY x DESC ;
SELECT group_concat ( x ) FROM SELECT x FROM x ORDER BY x ;
SELECT group_concat ( x ) FROM SELECT x FROM x ;
SELECT execsql ( x ) FROM x WHERE x = 10 ;
CREATE VIRTUAL TABLE x USING echo ( t2 ) ;
CREATE VIRTUAL TABLE x USING echo ( r1 ) ;
CREATE VIRTUAL TABLE x USING echo ( r2 ) ;
SELECT x , x FROM x AS l , x AS r WHERE x < x ;
CREATE VIEW x AS SELECT x AS x , x + 10 AS y FROM x ;
SELECT * , ( SELECT x FROM SELECT x AS z FROM x WHERE x = x + 10 ) FROM x ;
SELECT x FROM SELECT x FROM x ORDER BY x LIMIT 10 WHERE x = 10 ;
SELECT count ( * ) FROM SELECT x FROM x ORDER BY x LIMIT 10 WHERE x = 10 ;
SELECT x FROM SELECT x FROM x ORDER BY x WHERE x = 10 ;
SELECT count ( * ) FROM SELECT x FROM x ORDER BY x WHERE x = 10 ;
SELECT x FROM SELECT x FROM x WHERE x = 10 ;
SELECT count ( * ) FROM SELECT x FROM x WHERE x = 10 ;
SELECT * FROM SELECT * FROM x WHERE 10 = x AS x ;
SELECT * FROM x , x , x WHERE x = 10 AND x = x AND x = x ;
CREATE TABLE x ( x INTEGER , x TEXT , x TEXT ) ;
SELECT x FROM x WHERE x = 'y' LIMIT 10 ;
SELECT x FROM x WHERE x = x LIMIT 10 ;
SELECT x FROM x WHERE x = 10 LIMIT 10 ;
CREATE TABLE x ( x INTEGER NOT NULL , x INTEGER ) ;
SELECT x , CASE WHEN x = 10 THEN 'y' ELSE x END AS col1 FROM x ;
SELECT DISTINCT x , CASE WHEN x = 10 THEN 'y' ELSE x END AS col1 FROM x ;
SELECT DISTINCT x , CASE WHEN x = 'y' THEN 'y' ELSE x END AS col1 FROM x ;
CREATE TABLE x ( x VARCHAR(80) , x VARCHAR(80) , x VARCHAR(80) , x VARCHAR(80) , x INTEGER , x VARCHAR(80) , x VARCHAR(80) , x VARCHAR(80) , x VARCHAR(80) , x VARCHAR(80) , x VARCHAR(80) ) ;
UPDATE x SET x = x WHERE x = x AND x > x AND x <= x ;
INSERT INTO x ( x , x ) SELECT x , x FROM x ;
INSERT INTO x SELECT x + 10 , f1 ( x ) FROM x ;
INSERT INTO x SELECT x + 10 , sql ( x == 10 , 'y' ) FROM x ;
INSERT INTO x VALUES ( 10 , 10 , 'y' , 10 ) ;
SELECT * FROM x JOIN x USING ( b ) ;
CREATE TABLE x ( x INTEGER NOT NULL , x CHAR(25) NOT NULL , x INTEGER NOT NULL , x VARCHAR(152) ) ;
CREATE TABLE x ( x INTEGER NOT NULL , x CHAR(25) NOT NULL , x VARCHAR(152) ) ;
SELECT 10 , 10 , 10 ;
SELECT sql ( 'y' ) ;
SELECT * FROM x WHERE x = x AND x = x AND x = 'y' ;
CREATE TABLE x ( x INTEGER , x INTEGER , x TEXT ) ;
SELECT * FROM x WHERE x = x AND x = x AND x = 10 ;
CREATE TABLE x ( x INTEGER UNIQUE , x ) ;
SELECT 'y' FROM x LEFT JOIN x ON x = x JOIN x ON x = x ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INTEGER , x DOUBLE , x DOUBLE , x TEXT , x TEXT , x TEXT , x INTEGER ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 'y' , 'y' , 10 , 10 , 'y' , 10 , 10 , NULL ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 'y' , 'y' , NULL , NULL , NULL , NULL , NULL , 'y' ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INTEGER , x TEXT , x INTEGER , x TEXT , x TEXT ) ;
INSERT INTO x VALUES ( 10 , 10 , 'y' , NULL , NULL , 'y' ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT ) ;
INSERT INTO x VALUES ( 10 , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , NULL , NULL , NULL , NULL , NULL , NULL ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INTEGER , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x VARCHAR(24) , x VARCHAR(24) , x TEXT , x TEXT , x TEXT , x VARCHAR(24) , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x TEXT , x INTEGER ) ;
INSERT INTO x VALUES ( 10 , 10 , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , NULL , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , NULL , NULL , NULL , 10 ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INTEGER , x TEXT , x TEXT , x TEXT ) ;
SELECT * FROM x WHERE x >= 'y' AND x < 'y' AND x = x ;
SELECT * FROM x WHERE x = x AND x = 'y' ;
CREATE TABLE x ( x TEXT , x INTEGER , x TEXT ) ;
SELECT count ( * ) FROM x WHERE x = 'y' ;
UPDATE x SET x = 'y' CONCAT x WHERE x = 10 OR x = 10 ;
CREATE TABLE x . x ( x , x , x , x ) ;
CREATE TRIGGER x BEFORE UPDATE ON x BEGIN SELECT 10 ; END ;
CREATE TABLE x ( x TEXT PRIMARY KEY , x ) ;
UPDATE x SET x = x , x = x + 10 WHERE x = 10 ;
CREATE TRIGGER x BEFORE UPDATE ON x BEGIN SELECT x ; END ;
UPDATE x SET x = CASE WHEN x = 10 THEN x ELSE x + 10 END WHERE x = 10 ;
CREATE TEMP TRIGGER x AFTER INSERT ON x BEGIN UPDATE x SET x = x + 10 ; END ;
CREATE TABLE x ( x , x , x UNIQUE ) ;
CREATE UNIQUE INDEX x ON x ( x ) WHERE x ;
REPLACE INTO x ( x , x , x ) VALUES ( 10 , 10 , 10 ) ;
DELETE FROM x ; END ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x , x , x , x , x , x , x , x ) ;
CREATE VIEW x AS SELECT x , x , x , x FROM x , x ;
UPDATE x SET x = 10 , x = 10 * 10 WHERE x = 10 ;
UPDATE x SET x = x + 10 , x = x + 10 , x = x + 10 ;
CREATE VIEW x ( x , x , x , x ) AS SELECT * FROM x ;
UPDATE x SET x = x WHERE x = x ;
UPDATE x SET x = counter ( 10 ) ;
CREATE TRIGGER x AFTER UPDATE ON x BEGIN SELECT 10 ; END ;
CREATE TRIGGER x AFTER DELETE ON x BEGIN SELECT 10 ; END ;
CREATE TRIGGER x BEFORE DELETE ON x BEGIN SELECT 10 ; END ;
CREATE VIEW x AS SELECT x , x AS c FROM x WHERE x > 'y' ;
CREATE VIEW x AS SELECT DISTINCT x , x FROM x ;
CREATE VIEW x AS SELECT x , x FROM x EXCEPT SELECT 10 , 'y' ;
CREATE VIEW x AS SELECT sum ( x ) AS a , max ( x ) AS b FROM x GROUP BY x HAVING x > 'y' ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INT NOT NULL ) ;
CREATE TABLE x ( x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x ) ;
INSERT INTO x VALUES ( 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' , 'y' ) ;
SELECT * FROM x ORDER BY x DESC LIMIT 10 ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x UNIQUE , x , x , x ) ;
CREATE TRIGGER x AFTER UPDATE ON x BEGIN UPDATE x SET x = x + 10 ; END ;
INSERT INTO x ( x , x , x , x ) VALUES ( 0.1 , 0.1 , 0.1 , 0.1 ) ;
INSERT INTO x ( x , x , x , x ) VALUES ( NULL , 0.1 , 0.1 , 0.1 ) ;
UPDATE x SET x = 'y' , x = 'y' , x = 'y' ;
UPDATE x SET x = 'y' , x = 10 ;
CREATE TABLE x ( x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x , x ) ;
INSERT INTO x VALUES ( 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 , 10 ) ;
SELECT x , x , x IS NULL , x IS NULL FROM x ;
END
INSERT INTO x SELECT x * 10 + x FROM x WHERE x IN ( 10 , 10 , 10 , 10 ) ;
SELECT typeof ( x ) , typeof ( x ) , typeof ( x ) , typeof ( x ) FROM x ;
CREATE TABLE x ( x FLOAT ) ;
SELECT x ISNULL FROM x ;
INSERT INTO x VALUES ( NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL ) ;
SELECT * FROM x WHERE x IN ( 10 , 10 , 10 ) ;
INSERT INTO x VALUES ( NULL , 'y' , 10 , 10 ) ;
CREATE VIRTUAL TABLE x USING unionvtab ( VALUES(NULL, 't1', 1, 100) ) ;
CREATE VIRTUAL TABLE x . x USING unionvtab ( VALUES('', 't1', 1, 100) ) ;
CREATE TABLE x . x ( x , x , x INTEGER PRIMARY KEY ) ;
CREATE TABLE x ( x , x , x INTEGER PRIMARY KEY ) ;
CREATE TABLE x ( x INT PRIMARY KEY , x INT UNIQUE , x TEXT ) ;
SELECT * FROM x ORDER BY x , x , x , x ;
DELETE FROM x WHERE x <= 10 ;
UPDATE x SET x = 10 , x = 10 WHERE x = 10 ;
UPDATE x SET x = 10 , x = 10 , x = 10 WHERE x = 10 ;
UPDATE x SET x = x + 10 WHERE x IN ( SELECT x FROM x ) ;
SELECT count ( * ) FROM x WHERE x = x ;
SELECT count ( * ) FROM x WHERE x = x + 10 ;
UPDATE x SET x = printf ( x , x ) WHERE x IS NULL ;
CREATE TABLE x ( x INTEGER PRIMARY KEY ON CONFLICT REPLACE , x UNIQUE ) ;
UPDATE x SET x = x + 10 WHERE x > 10 ;
UPDATE x SET x = x + 10 WHERE x = 'y' ;
UPDATE x SET x = x + 10 WHERE x > 10 OR x > 10 ;
CREATE UNIQUE INDEX x ON x ( x ) WHERE x IS NOT NULL ;
INSERT INTO x ( x ) VALUES ( NULL ) ,( NULL ) ;
SELECT quote ( x ) , quote ( x ) , 'y' FROM x ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ON CONFLICT DO NOTHING ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ON CONFLICT DO NOTHING ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ON CONFLICT ( x ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ON CONFLICT ( x COLLATE x ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ON CONFLICT ( x + x ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ON CONFLICT ( x + x ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ON CONFLICT ( x ) ;
CREATE UNIQUE INDEX x ON x ( x ) WHERE x > 10 ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ON CONFLICT ( x ) WHERE x != 10 ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ON CONFLICT ( x ) WHERE x > 10 ;
INSERT INTO x ( x ) VALUES ( 'y' ) ,( 'y' ) ,( 'y' ) ;
INSERT INTO x ( x ) VALUES ( 'y' ) ,( 'y' ) ,( 'y' ) ,( 'y' ) ON CONFLICT ( x ) DO UPDATE SET = x x + 10 ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INT UNIQUE ) ;
INSERT OR IGNORE INTO x ( x ) VALUES ( 'y' ) ON CONFLICT ( x ) ;
INSERT OR IGNORE INTO x ( x ) VALUES ( 'y' ) ,( 10 ) ON CONFLICT ( x ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INT , x INT , x INT , x INT ) ;
INSERT INTO x ( x , x , x , x , x ) VALUES ( 10 , 10 , 10 , 10 , 10 ) ON CONFLICT ( x ) DO UPDATE SET = x x ;
CREATE TABLE x ( x INT , x INT , x INT , x INT , x INT ) ;
INSERT INTO x ( x ) VALUES ( 10 ) ON CONFLICT ( x ) DO UPDATE SET = x x ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ON CONFLICT ( x ) DO UPDATE SET = x x , = x x + 10 WHERE x < x ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ON CONFLICT ( x ) DO UPDATE SET = x x + 10 ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ON CONFLICT ( x ) DO UPDATE SET = x x + 10 WHERE x < 10 ;
INSERT INTO x VALUES ( 10 , 'y' ) ON CONFLICT ( x ) ;
INSERT INTO x VALUES ( 10 , 'y' ) ON CONFLICT ( x , x ) ;
INSERT INTO x ( x , x ) VALUES ( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ,( 10 , 10 ) ON CONFLICT ( x , x ) DO UPDATE SET = x x + 10 ;
INSERT INTO x VALUES ( 10 , NULL , 'y' ) ON CONFLICT DO NOTHING ;
INSERT INTO x VALUES ( 10 , NULL , 'y' ) ON CONFLICT ( x ) DO UPDATE SET = x 10 ;
INSERT INTO x VALUES ( 10 , NULL , 'y' ) ON CONFLICT ( x ) DO UPDATE SET = x 'y' ;
CREATE TABLE x ( x INT PRIMARY KEY , x , x , x ) ;
INSERT INTO x VALUES ( 10 , 'y' , NULL ) ON CONFLICT DO NOTHING ;
INSERT INTO x VALUES ( 10 , 'y' , NULL ) ON CONFLICT ( 'y' CONCAT x ) ;
INSERT INTO x VALUES ( 10 , 'y' , NULL ) ON CONFLICT ( ( 'y' CONCAT x ) COLLATE x ) ;
INSERT INTO x VALUES ( 10 , 'y' , NULL ) ON CONFLICT ( x CONCAT 'y' ) ;
INSERT INTO x VALUES ( 10 , 'y' , NULL ) ON CONFLICT ( ( ( 'y' CONCAT x ) ) ) ;
INSERT OR REPLACE INTO x VALUES ( 10 , 10 , 'y' ) ON CONFLICT ( x ) ;
CREATE TABLE x ( x INT PRIMARY KEY , x UNIQUE , x ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x UNIQUE , x UNIQUE ) ;
INSERT OR REPLACE INTO x VALUES ( 10 , 10 , 10 ) ON CONFLICT ( x ) ;
INSERT OR REPLACE INTO x VALUES ( 10 , 10 , 10 ) ON CONFLICT ( x ) DO UPDATE SET = x x CONCAT 'y' ;
INSERT INTO x VALUES ( 'y' , 10 , 10 , 10 ) ON CONFLICT ( x ) DO UPDATE SET = x x ;
INSERT INTO x VALUES ( 'y' , 10 , 10 , 10 ) ON CONFLICT ( x , x ) DO UPDATE SET = x x CONCAT x ;
INSERT INTO x VALUES ( 'y' , 10 , 10 , NULL ) ON CONFLICT ( x , x ) DO UPDATE SET = x x ;
INSERT INTO x VALUES ( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ,( 10 ) ;
UPDATE x SET x = x CONCAT 'y' CONCAT x ;
INSERT INTO x ( x , x ) SELECT x CONCAT x , x CONCAT x FROM x ;
SELECT count ( * ) , sum ( x ) , sum ( length ( x ) ) FROM x ;
VACUUM x INTO 'file_name' ;
INSERT INTO x SELECT NULL , x CONCAT 'y' CONCAT x , x CONCAT 'y' CONCAT x FROM x ;
CREATE TABLE x ( x INT PRIMARY KEY , x INT NULL ) ;
INSERT INTO x SELECT x , 10 FROM x ;
DELETE FROM x WHERE ( x % 10 ) != 10 ;
VACUUM x ;
DROP VIEW IF EXISTS x ;
CREATE VIEW x ( x ) AS SELECT * FROM x ;
CREATE VIEW x ( x , x ) AS SELECT x , x + x , x - x FROM x ;
CREATE VIEW x ( x , x , x , x ) AS SELECT x , x + x , x - x FROM x ;
CREATE VIEW x AS SELECT x FROM x UNION SELECT x FROM x ORDER BY x ;
SELECT x FROM x ORDER BY x LIMIT 10 ;
SELECT 10 FROM x LIMIT 10 ;
SELECT * FROM x AS a , x AS b WHERE x = x ;
SELECT * FROM x AS b , x AS a WHERE x = x ;
SELECT * FROM x AS a , x AS b , x AS c WHERE x = x AND x = x ;
SELECT min ( x ) , min ( x ) , min ( x ) , min ( x ) , min ( x + x + x ) FROM x ;
SELECT max ( x ) , max ( x ) , max ( x ) , max ( x ) , max ( x + x + x ) FROM x ;
CREATE VIEW x ( x ) AS SELECT x + x FROM x ;
CREATE VIEW x AS SELECT max ( x ) AS mx FROM SELECT x % 10 AS eo , count ( * ) AS cnt FROM x GROUP BY x ;
SELECT x + 10 , x * 10 FROM x ;
SELECT x + 10 , x FROM x , x WHERE x = 10 ;
SELECT x + 10 , x FROM x , x WHERE x > 10 ;
SELECT DISTINCT count ( * ) FROM x GROUP BY x ORDER BY 10 ;
SELECT DISTINCT count ( * ) FROM x GROUP BY x ORDER BY 10 LIMIT 10 ;
CREATE VIEW x AS SELECT DISTINCT count ( * ) FROM x GROUP BY x ORDER BY 10 LIMIT 10 ;
SELECT * FROM x ORDER BY 10 DESC ;
CREATE VIEW x AS SELECT DISTINCT x , count ( * ) FROM x GROUP BY x ORDER BY 10 LIMIT 10 ;
SELECT * FROM SELECT * FROM x WHERE x = 'y' ;
CREATE VIEW x AS SELECT x FROM x . x ;
CREATE VIEW x AS SELECT x AS x , x AS y FROM x ;
CREATE VIEW x AS SELECT x , * FROM x ;
CREATE VIEW x AS SELECT x FROM SELECT x FROM x ;
CREATE VIEW x AS SELECT x * 10 FROM x ;
CREATE VIEW x AS SELECT max ( x ) AS mx , min ( x ) AS mn FROM x GROUP BY x ;
SELECT * FROM x AS one , x AS two WHERE x = 10 ;
CREATE VIEW x ( x , x ) AS SELECT x , AVG ( x ) FROM x ;
SELECT x , typeof ( x ) , x , typeof ( x ) FROM x ;
SELECT 10 IN ( x ) FROM x ;
SELECT 10 IN ( x ) FROM SELECT x FROM x ;
CREATE VIRTUAL TABLE x USING echo ;
CREATE VIRTUAL TABLE x USING echo ( no_such_table ) ;
CREATE VIRTUAL TABLE x USING echo ( treal ) ;
CREATE VIRTUAL TABLE x USING echo ( treal , logmsg ) ;
CREATE VIRTUAL TABLE x USING echo ( template ) ;
CREATE TABLE x ( x INTEGER , x INTEGER , x ) ;
SELECT x AS d , x AS e , x AS f FROM x ;
SELECT * FROM x WHERE x >= 10 AND x <= 10 ;
SELECT * FROM x WHERE x MATCH 'y' ;
SELECT x FROM x ORDER BY x CONCAT 'y' ;
SELECT * FROM x , x WHERE x = 10 ;
UPDATE x SET x = 10 WHERE x < 10 ;
UPDATE x SET x = x CONCAT x CONCAT x ;
CREATE VIRTUAL TABLE x USING echo ( real_abc ) ;
INSERT INTO x SELECT x CONCAT 'y' , x , x FROM x ;
CREATE VIRTUAL TABLE x . x USING echo ( real_abc ) ;
CREATE VIRTUAL TABLE x USING echo ( r , e_log ) ;
CREATE VIRTUAL TABLE x USING echo ( del ) ;
SELECT * FROM x WHERE x CONCAT 'y' MATCH 'y' ;
CREATE VIRTUAL TABLE x USING echo ( c ) ;
INSERT INTO x VALUES ( 'y' , 'y' , 'y' , 10 , 'y' ) ;
CREATE VIRTUAL TABLE x USING echo_v2 ( t5 ) ;
CREATE VIRTUAL TABLE x USING echo ( t6 ) ;
CREATE VIRTUAL TABLE x USING echo ( t7 ) ;
CREATE VIRTUAL TABLE x USING echo ( t8 ) ;
CREATE VIRTUAL TABLE x USING echo ( t9 ) ;
CREATE VIRTUAL TABLE x USING tclvar ;
SELECT x , x , x FROM x WHERE x = 'y' ;
UPDATE x SET x = ( SELECT x FROM x WHERE x = 'y' AND x ) ;
CREATE VIRTUAL TABLE x USING echo ( elephant ) ;
CREATE VIRTUAL TABLE x USING echo ( sreal ) ;
CREATE TABLE x ( x VARCHAR(16) , x INTEGER , x FLOAT ) ;
DELETE FROM x WHERE x > 'y' ;
CREATE VIRTUAL TABLE x USING echo ( strings ) ;
CREATE VIRTUAL TABLE x USING echo ( ab_r ) ;
CREATE VIRTUAL TABLE x USING echo ( bc_r ) ;
SELECT x , x , x FROM x NATURAL JOIN x ;
CREATE VIRTUAL TABLE x USING echo ( abc ) ;
CREATE VIRTUAL TABLE x USING echo ( def ) ;
CREATE VIRTUAL TABLE x USING echo ( t2244 ) ;
UPDATE x SET x = 'y' WHERE 10 ;
CREATE VIRTUAL TABLE x USING echo ( t2250 ) ;
CREATE VIRTUAL TABLE x USING echo ( t2260a_real ) ;
CREATE VIRTUAL TABLE x USING echo ( t2260b_real ) ;
SELECT * FROM x , x WHERE x = x AND x > 10 ;
CREATE VIRTUAL TABLE x USING echo ( t0 ) ;
INSERT INTO x SELECT 'y' ;
INSERT INTO x VALUES ( NULL , 'y' , 0.1 ) ;
INSERT INTO x ( x , x , x ) SELECT * FROM x ;
INSERT INTO x SELECT 'y' , 'y' ;
SELECT x , x , x , 'y' FROM x ORDER BY 10 ;
SELECT * FROM x WHERE x = 10 AND NOT ( x < 10 ) ;
SELECT x , x FROM x WHERE x = 'y' ORDER BY x ;
SELECT x , x FROM x WHERE x = 'y' ;
UPDATE x SET x = x CONCAT 'y' WHERE x = 'y' OR x = 'y' CONCAT 'y' ;
UPDATE x SET x = x CONCAT 'y' WHERE x = 'y' OR x BETWEEN 'y' AND 'y' ;
DELETE FROM x WHERE x BETWEEN 'y' AND 'y' OR x = 'y' ;
INSERT INTO x SELECT blob ( 10 ) FROM x ;
SELECT count ( x ) , sum ( x ) FROM x ;
SELECT x >= 10 FROM x WHERE x = 'y' ;
INSERT INTO x SELECT 10 - x , x , ( SELECT max ( x ) FROM x ) + 10 - x , x FROM x ;
SELECT * FROM x WHERE x + 10 IN ( 10 , 10 , 10 , 10 ) ORDER BY 10 ;
SELECT * FROM x WHERE x IN ( 10 , 10 , 10 , 10 ) ORDER BY 10 ;
SELECT * FROM x WHERE x IN ( 10 , 10 , 10 , 10 , 10 ) ORDER BY 10 ;
SELECT * FROM x WHERE x IN ( 10 , 10 , 10 , 10 ) ORDER BY 10 DESC ;
SELECT * FROM x WHERE x IN ( SELECT x FROM x WHERE x IN ( 10 , 10 , 10 ) ) ORDER BY 10 ;
SELECT * FROM x WHERE x + 10 IN ( SELECT x FROM x WHERE x IN ( 10 , 10 , 10 ) ) ORDER BY 10 ;
SELECT * FROM x WHERE x IN ( 10 , 10 ) ORDER BY 10 ;
SELECT * FROM x WHERE x + 10 IN ( 10 , 10 ) ORDER BY 10 ;
SELECT * FROM x WHERE x = 10 AND x IN ( 10 , 10 ) ORDER BY 10 ;
SELECT * FROM x WHERE x IN ( 10 , 10 ) AND x NOT IN ( 10 , 10 ) ORDER BY 10 ;
SELECT * FROM x WHERE x IN ( 10 , 10 ) AND x IN ( 10 , 10 ) ORDER BY 10 ;
INSERT INTO x SELECT x , 10 - x , x FROM x ;
SELECT count ( * ) , sum ( x ) , sum ( x ) , sum ( x ) FROM x ;
SELECT x FROM x ORDER BY x , x LIMIT 10 ;
SELECT x FROM x ORDER BY x , x DESC LIMIT 10 ;
SELECT x FROM x WHERE x > 10 ORDER BY x , x , x LIMIT 10 ;
SELECT x FROM x WHERE x >= 10 ORDER BY x , x DESC , x LIMIT 10 ;
SELECT x FROM x WHERE x > 10 AND x < 10 ORDER BY x ;
SELECT x FROM x WHERE x >= 10 AND x <= 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x > 10 ORDER BY x LIMIT 10 ;
SELECT x FROM x WHERE x = 10 AND x > 10 ORDER BY x DESC LIMIT 10 ;
SELECT x FROM x WHERE x = 10 AND x > 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x >= 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x >= 10 AND x < 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x >= 10 AND x <= 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x > 10 AND x <= 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x > 10 AND x < 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x >= 10 AND x < 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND x >= 10 AND x <= 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND x > 10 AND x <= 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND x > 10 AND x < 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND x < 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND x <= 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND x > 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND x >= 10 ORDER BY x ;
SELECT x FROM x WHERE x = 10 AND x < 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x <= 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x = 10 AND x < 10 ORDER BY x DESC LIMIT 10 ;
SELECT * FROM x WHERE x < 10 ORDER BY x DESC ;
SELECT count ( * ) FROM x WHERE tclvar ( 'y' ) ;
DELETE FROM x WHERE ( x = 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x BETWEEN 10 AND 10 ) OR ( x = 10 ) OR ( x = 10 ) ;
SELECT * FROM x ORDER BY x DESC , x DESC ;
SELECT * FROM x ORDER BY x DESC , x ASC ;
SELECT * FROM x ORDER BY x ASC , x DESC ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x TEXT UNIQUE , x CHAR(100) ) ;
SELECT x AS alias FROM x , x WHERE x = 10 ;
SELECT * FROM x CROSS JOIN x WHERE x = 10 AND x = 'y' ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INTEGER NOT NULL ) ;
SELECT x , x FROM x , x WHERE x > x ;
SELECT DISTINCT x FROM x LEFT JOIN x ON x = x ORDER BY x IS NULL ;
SELECT DISTINCT x FROM x LEFT JOIN x ON x = x ORDER BY x ;
CREATE TABLE x ( x INT UNIQUE NOT NULL , x INT UNIQUE NOT NULL , x , x ) ;
CREATE TABLE x ( x INTEGER PRIMARY KEY , x INT , x INT ) ;
SELECT count ( * ) FROM x LEFT JOIN x ON ( x = x ) WHERE ifnull ( x , 10 ) >= 10 ;
SELECT * FROM x WHERE x = ( SELECT * FROM SELECT count ( * ) FROM x LIMIT 10 ORDER BY 10 LIMIT 10 ) AND ( x = 10 OR x = 10 ) ;
INSERT INTO x ( x ) VALUES ( NULL ) ,( NULL ) ,( 10 ) ,( NULL ) ,( NULL ) ;
SELECT count ( * ) FROM x LEFT JOIN x ON x IS NOT NULL ;
SELECT * FROM x , x WHERE x = x AND x = 10 ;
SELECT x FROM x WHERE x > 10 ORDER BY x DESC ;
SELECT x FROM x WHERE x > 10 AND x <
gitextract_60nog_yi/
├── .clang-format
├── .clang-tidy
├── .devcontainer/
│ ├── Dockerfile
│ ├── devcontainer.json
│ └── reinstall-cmake.sh
├── .github/
│ ├── linters/
│ │ └── .hadolint.yaml
│ └── workflows/
│ ├── build.yml
│ ├── code-format.yml_bak
│ ├── docker-image.yml
│ ├── lint.yml
│ └── stale.yml
├── .gitignore
├── .gitmodules
├── .vscode/
│ ├── c_cpp_properties.json
│ └── settings.json
├── CMakeLists.txt
├── CODEOWNERS
├── LICENSE
├── README.md
├── data/
│ ├── config_mariadb.yml
│ ├── config_mysql.yml
│ ├── config_postgresql.yml
│ ├── config_sqlite.yml
│ ├── fuzz_root/
│ │ ├── global_data_lib_mysql
│ │ ├── global_data_lib_pqsql
│ │ ├── init_lib/
│ │ │ ├── 1.txt
│ │ │ ├── 10.txt
│ │ │ ├── 11.txt
│ │ │ ├── 12.txt
│ │ │ ├── 13.txt
│ │ │ ├── 14.txt
│ │ │ ├── 15.txt
│ │ │ ├── 16.txt
│ │ │ ├── 17.txt
│ │ │ ├── 18.txt
│ │ │ ├── 19.txt
│ │ │ ├── 2.txt
│ │ │ ├── 20.txt
│ │ │ ├── 21.txt
│ │ │ ├── 3.txt
│ │ │ ├── 4.txt
│ │ │ ├── 5.txt
│ │ │ ├── 6.txt
│ │ │ ├── 7.txt
│ │ │ ├── 8.txt
│ │ │ ├── 9.txt
│ │ │ ├── new_code
│ │ │ └── sqltest
│ │ ├── input/
│ │ │ ├── 1.txt
│ │ │ ├── 10.txt
│ │ │ ├── 11.txt
│ │ │ ├── 12.txt
│ │ │ ├── 13.txt
│ │ │ ├── 14.txt
│ │ │ ├── 15.txt
│ │ │ ├── 16.txt
│ │ │ ├── 17.txt
│ │ │ ├── 18.txt
│ │ │ ├── 19.txt
│ │ │ ├── 2.txt
│ │ │ ├── 20.txt
│ │ │ ├── 21.txt
│ │ │ ├── 22.txt
│ │ │ ├── 23.txt
│ │ │ ├── 24.txt
│ │ │ ├── 25.txt
│ │ │ ├── 26.txt
│ │ │ ├── 3.txt
│ │ │ ├── 4.txt
│ │ │ ├── 5.txt
│ │ │ ├── 6.txt
│ │ │ ├── 7.txt
│ │ │ ├── 8.txt
│ │ │ ├── 9.txt
│ │ │ ├── new1.txt
│ │ │ ├── new2.txt
│ │ │ ├── new3.txt
│ │ │ └── new4.txt
│ │ ├── mysql_init_lib/
│ │ │ ├── 1
│ │ │ ├── 10
│ │ │ ├── 100
│ │ │ ├── 1000
│ │ │ ├── 1001
│ │ │ ├── 1002
│ │ │ ├── 1003
│ │ │ ├── 1004
│ │ │ ├── 1005
│ │ │ ├── 1006
│ │ │ ├── 1007
│ │ │ ├── 1008
│ │ │ ├── 1009
│ │ │ ├── 101
│ │ │ ├── 1010
│ │ │ ├── 1011
│ │ │ ├── 1012
│ │ │ ├── 1013
│ │ │ ├── 1014
│ │ │ ├── 1015
│ │ │ ├── 1016
│ │ │ ├── 1017
│ │ │ ├── 1018
│ │ │ ├── 1019
│ │ │ ├── 102
│ │ │ ├── 1020
│ │ │ ├── 1021
│ │ │ ├── 1022
│ │ │ ├── 1023
│ │ │ ├── 1024
│ │ │ ├── 1025
│ │ │ ├── 103
│ │ │ ├── 104
│ │ │ ├── 105
│ │ │ ├── 106
│ │ │ ├── 107
│ │ │ ├── 108
│ │ │ ├── 109
│ │ │ ├── 11
│ │ │ ├── 110
│ │ │ ├── 111
│ │ │ ├── 112
│ │ │ ├── 113
│ │ │ ├── 114
│ │ │ ├── 115
│ │ │ ├── 116
│ │ │ ├── 117
│ │ │ ├── 118
│ │ │ ├── 119
│ │ │ ├── 12
│ │ │ ├── 120
│ │ │ ├── 121
│ │ │ ├── 122
│ │ │ ├── 123
│ │ │ ├── 124
│ │ │ ├── 125
│ │ │ ├── 126
│ │ │ ├── 127
│ │ │ ├── 128
│ │ │ ├── 129
│ │ │ ├── 13
│ │ │ ├── 130
│ │ │ ├── 131
│ │ │ ├── 132
│ │ │ ├── 133
│ │ │ ├── 134
│ │ │ ├── 135
│ │ │ ├── 136
│ │ │ ├── 137
│ │ │ ├── 138
│ │ │ ├── 139
│ │ │ ├── 14
│ │ │ ├── 140
│ │ │ ├── 141
│ │ │ ├── 142
│ │ │ ├── 143
│ │ │ ├── 144
│ │ │ ├── 145
│ │ │ ├── 146
│ │ │ ├── 147
│ │ │ ├── 148
│ │ │ ├── 149
│ │ │ ├── 15
│ │ │ ├── 150
│ │ │ ├── 151
│ │ │ ├── 152
│ │ │ ├── 153
│ │ │ ├── 154
│ │ │ ├── 155
│ │ │ ├── 156
│ │ │ ├── 157
│ │ │ ├── 158
│ │ │ ├── 159
│ │ │ ├── 16
│ │ │ ├── 160
│ │ │ ├── 161
│ │ │ ├── 162
│ │ │ ├── 163
│ │ │ ├── 164
│ │ │ ├── 165
│ │ │ ├── 166
│ │ │ ├── 167
│ │ │ ├── 168
│ │ │ ├── 169
│ │ │ ├── 17
│ │ │ ├── 170
│ │ │ ├── 171
│ │ │ ├── 172
│ │ │ ├── 173
│ │ │ ├── 174
│ │ │ ├── 175
│ │ │ ├── 176
│ │ │ ├── 177
│ │ │ ├── 178
│ │ │ ├── 179
│ │ │ ├── 18
│ │ │ ├── 180
│ │ │ ├── 181
│ │ │ ├── 182
│ │ │ ├── 183
│ │ │ ├── 184
│ │ │ ├── 185
│ │ │ ├── 186
│ │ │ ├── 187
│ │ │ ├── 188
│ │ │ ├── 189
│ │ │ ├── 19
│ │ │ ├── 190
│ │ │ ├── 191
│ │ │ ├── 192
│ │ │ ├── 193
│ │ │ ├── 194
│ │ │ ├── 195
│ │ │ ├── 196
│ │ │ ├── 197
│ │ │ ├── 198
│ │ │ ├── 199
│ │ │ ├── strip_mysql
│ │ │ └── strip_trigger_collect
│ │ ├── mysql_input/
│ │ │ ├── 2.txt
│ │ │ ├── 3.txt
│ │ │ ├── 4.txt
│ │ │ ├── 5.txt
│ │ │ ├── 6.txt
│ │ │ ├── 7.txt
│ │ │ ├── 8.txt
│ │ │ ├── new
│ │ │ └── z.txt
│ │ ├── pqsql_init_lib/
│ │ │ ├── 1
│ │ │ ├── 1.txt
│ │ │ ├── 2
│ │ │ ├── 2.txt
│ │ │ ├── 3
│ │ │ ├── 3.txt
│ │ │ ├── 4
│ │ │ ├── 4.txt
│ │ │ ├── 5
│ │ │ ├── 5.txt
│ │ │ ├── 6.txt
│ │ │ ├── 7.txt
│ │ │ ├── 8.txt
│ │ │ ├── init
│ │ │ ├── x1
│ │ │ └── x3
│ │ ├── pqsql_input/
│ │ │ ├── cs_is
│ │ │ ├── cs_ss
│ │ │ ├── ct_ci_in_drop
│ │ │ ├── ct_ci_ri
│ │ │ ├── ct_cv_in_sel
│ │ │ ├── ct_cv_is
│ │ │ ├── ct_cv_ss
│ │ │ ├── ct_in_alter_select
│ │ │ ├── ct_ins_drop
│ │ │ ├── ct_is_ss
│ │ │ ├── ct_is_up
│ │ │ ├── ct_rn_is
│ │ │ ├── ct_ss_ds
│ │ │ ├── ct_st_re
│ │ │ ├── ct_st_union
│ │ │ └── trigger
│ │ └── pragma
│ └── run.sh
├── lint.cmake
├── scripts/
│ ├── .gitignore
│ ├── .pylintrc
│ ├── dockers/
│ │ ├── mariadb/
│ │ │ └── Dockerfile
│ │ ├── mysql/
│ │ │ └── Dockerfile
│ │ ├── postgresql/
│ │ │ └── Dockerfile
│ │ └── sqlite/
│ │ └── Dockerfile
│ ├── noxfile.py
│ ├── pyproject.toml
│ └── utils/
│ └── run.py
├── srcs/
│ ├── custom_mutator.cc
│ ├── db.h
│ ├── db_driver.cc
│ ├── db_factory.cc
│ ├── env.h
│ ├── internal/
│ │ ├── client/
│ │ │ ├── client.cc
│ │ │ ├── client.h
│ │ │ ├── client_mysql.cc
│ │ │ ├── client_mysql.h
│ │ │ ├── client_postgresql.cc
│ │ │ ├── client_postgresql.h
│ │ │ └── test_client.cc
│ │ ├── mysql/
│ │ │ ├── include/
│ │ │ │ ├── ast.h
│ │ │ │ ├── define.h
│ │ │ │ ├── mutator.h
│ │ │ │ └── utils.h
│ │ │ ├── mysql.cc
│ │ │ ├── mysql.h
│ │ │ ├── parser/
│ │ │ │ ├── Makefile
│ │ │ │ ├── bison.y
│ │ │ │ ├── bison_parser.cpp
│ │ │ │ ├── bison_parser.h
│ │ │ │ ├── bison_parser.output
│ │ │ │ ├── flex.l
│ │ │ │ ├── flex_lexer.cpp
│ │ │ │ ├── flex_lexer.h
│ │ │ │ └── parser_typedef.h
│ │ │ └── srcs/
│ │ │ ├── ast.cpp
│ │ │ ├── mutator.cpp
│ │ │ └── utils.cpp
│ │ ├── postgresql/
│ │ │ ├── include/
│ │ │ │ ├── ast.h
│ │ │ │ ├── define.h
│ │ │ │ ├── mutator.h
│ │ │ │ └── utils.h
│ │ │ ├── parser/
│ │ │ │ ├── Makefile
│ │ │ │ ├── bison.y
│ │ │ │ ├── bison_parser.cpp
│ │ │ │ ├── bison_parser.h
│ │ │ │ ├── bison_parser.output
│ │ │ │ ├── flex.l
│ │ │ │ ├── flex_lexer.cpp
│ │ │ │ ├── flex_lexer.h
│ │ │ │ └── parser_typedef.h
│ │ │ ├── postgresql.cc
│ │ │ ├── postgresql.h
│ │ │ └── srcs/
│ │ │ ├── ast.cpp
│ │ │ ├── mutator.cpp
│ │ │ └── utils.cpp
│ │ └── sqlite/
│ │ ├── include/
│ │ │ ├── ast.h
│ │ │ ├── define.h
│ │ │ ├── mutator.h
│ │ │ └── utils.h
│ │ ├── parser/
│ │ │ ├── Makefile
│ │ │ ├── bison_parser.cpp
│ │ │ ├── bison_parser.h
│ │ │ ├── bison_parser.output
│ │ │ ├── bison_parser.y
│ │ │ ├── flex_lexer.cpp
│ │ │ ├── flex_lexer.h
│ │ │ ├── flex_lexer.l
│ │ │ └── parser_typedef.h
│ │ ├── sqlite.cc
│ │ ├── sqlite.h
│ │ └── srcs/
│ │ ├── ast.cpp
│ │ ├── mutator.cpp
│ │ └── utils.cpp
│ └── utils/
│ ├── config_validate.cc
│ └── config_validate.h
└── tests/
├── CMakeLists.txt
└── db_config_test.cc
SYMBOL INDEX (1429 symbols across 52 files)
FILE: scripts/noxfile.py
function format (line 7) | def format(session): # pylint: disable=redefined-builtin
function format_check (line 13) | def format_check(session):
function lint (line 18) | def lint(session):
function type_check (line 24) | def type_check(session):
FILE: scripts/utils/run.py
function get_mutator_so_path (line 13) | def get_mutator_so_path(database):
function get_config_path (line 19) | def get_config_path(database):
function set_env (line 23) | def set_env(database):
function run (line 31) | def run(database, input_dir, output_dir=None, config_file=None, fuzzer=N...
FILE: srcs/custom_mutator.cc
type SquirrelMutator (line 14) | struct SquirrelMutator {
method SquirrelMutator (line 15) | SquirrelMutator(DataBase *db) : database(db) {}
function afl_custom_deinit (line 40) | void afl_custom_deinit(SquirrelMutator *data) { delete data; }
function u8 (line 42) | u8 afl_custom_queue_new_entry(SquirrelMutator *mutator,
function afl_custom_fuzz_count (line 53) | unsigned int afl_custom_fuzz_count(SquirrelMutator *mutator,
function afl_custom_fuzz (line 59) | size_t afl_custom_fuzz(SquirrelMutator *mutator, uint8_t *buf, size_t bu...
FILE: srcs/db.h
function class (line 5) | class DataBase {
FILE: srcs/db_driver.cc
function send_forkserver_error (line 37) | void send_forkserver_error(int error) {
function __afl_map_shm (line 46) | static void __afl_map_shm(void) {
function __afl_start_forkserver (line 124) | static void __afl_start_forkserver(void) {
function u32 (line 138) | static u32 __afl_next_testcase(u8 *buf, u32 max_len) {
function __afl_end_testcase (line 153) | static void __afl_end_testcase(client::ExecutionStatus status) {
function main (line 162) | int main(int argc, char *argv[]) {
FILE: srcs/db_factory.cc
function DataBase (line 17) | DataBase* create_database(YAML::Node config) {
FILE: srcs/internal/client/client.cc
type client (line 14) | namespace client {
function DBClient (line 15) | DBClient *create_client(const std::string &db_name, const YAML::Node &...
FILE: srcs/internal/client/client.h
function namespace (line 9) | namespace client {
FILE: srcs/internal/client/client_mysql.cc
function is_crash_response (line 17) | bool is_crash_response(int response) {
type client (line 22) | namespace client {
function ExecutionStatus (line 40) | ExecutionStatus MySQLClient::execute(const char *query, size_t size) {
function ExecutionStatus (line 125) | ExecutionStatus MySQLClient::clean_up_connection(MYSQL &mm) {
FILE: srcs/internal/client/client_mysql.h
function namespace (line 12) | namespace client {
FILE: srcs/internal/client/client_postgresql.cc
function PGconn (line 18) | PGconn *create_connection(std::string_view db_name) {
function reset_database (line 32) | void reset_database(PGconn *conn) {
type client (line 38) | namespace client {
function ExecutionStatus (line 55) | ExecutionStatus PostgreSQLClient::execute(const char *query, size_t si...
FILE: srcs/internal/client/client_postgresql.h
function namespace (line 11) | namespace client {
FILE: srcs/internal/client/test_client.cc
function main (line 9) | int main(int argc, char **argv) {
FILE: srcs/internal/mysql/include/ast.h
type NODETYPE (line 10) | enum NODETYPE {
type NODETYPE (line 15) | typedef NODETYPE IRTYPE;
type CASEIDX (line 17) | enum CASEIDX {
type DATATYPE (line 420) | enum DATATYPE {
function reset_id_counter (line 430) | static inline void reset_id_counter() { g_id_counter = 0; }
function string (line 432) | static string gen_id_name() { return "v" + to_string(g_id_counter++); }
function class (line 434) | class IROperator {
type UnionType (line 444) | enum UnionType {
type DATAFLAG (line 453) | enum DATAFLAG {
function class (line 474) | class IR {
function class (line 618) | class Node {
function virtual (line 627) | virtual void generate() {}
function virtual (line 628) | virtual void deep_delete() {}
function class (line 649) | class Program : public Node {
function class (line 658) | class Stmtlist : public Node {
function class (line 668) | class Stmt : public Node {
function class (line 682) | class CreateStmt : public Node {
function class (line 694) | class DropStmt : public Node {
function class (line 706) | class AlterStmt : public Node {
function class (line 716) | class SelectStmt : public Node {
function class (line 726) | class SelectWithParens : public Node {
function class (line 736) | class SelectNoParens : public Node {
function class (line 748) | class SelectClauseList : public Node {
function class (line 759) | class SelectClause : public Node {
function class (line 773) | class CombineClause : public Node {
function class (line 780) | class OptFromClause : public Node {
function class (line 789) | class SelectTarget : public Node {
function class (line 798) | class OptWindowClause : public Node {
function class (line 807) | class WindowClause : public Node {
function class (line 816) | class WindowDefList : public Node {
function class (line 826) | class WindowDef : public Node {
function class (line 836) | class WindowName : public Node {
function class (line 845) | class Window : public Node {
function class (line 857) | class OptPartition : public Node {
function class (line 866) | class OptFrameClause : public Node {
function class (line 877) | class RangeOrRows : public Node {
function class (line 884) | class FrameBoundStart : public Node {
function class (line 893) | class FrameBoundEnd : public Node {
function class (line 902) | class FrameBound : public Node {
function class (line 911) | class OptExistWindowName : public Node {
function class (line 920) | class OptGroupClause : public Node {
function class (line 930) | class OptHavingClause : public Node {
function class (line 939) | class OptWhereClause : public Node {
function class (line 948) | class WhereClause : public Node {
function class (line 957) | class FromClause : public Node {
function class (line 966) | class TableRef : public Node {
function class (line 984) | class OptIndex : public Node {
function class (line 993) | class OptOn : public Node {
function class (line 1002) | class OptUsing : public Node {
function class (line 1011) | class ColumnNameList : public Node {
function class (line 1021) | class OptTablePrefix : public Node {
function class (line 1031) | class JoinOp : public Node {
function class (line 1040) | class OptJoinType : public Node {
function class (line 1047) | class ExprList : public Node {
function class (line 1058) | class OptLimitClause : public Node {
function class (line 1067) | class LimitClause : public Node {
function class (line 1077) | class OptLimitRowCount : public Node {
function class (line 1086) | class OptOrderClause : public Node {
function class (line 1095) | class OptOrderNulls : public Node {
function class (line 1102) | class OrderItemList : public Node {
function class (line 1112) | class OrderItem : public Node {
function class (line 1123) | class OptOrderBehavior : public Node {
function class (line 1130) | class OptWithClause : public Node {
function class (line 1139) | class CteTableList : public Node {
function class (line 1149) | class CteTable : public Node {
function class (line 1159) | class CteTableName : public Node {
function class (line 1169) | class OptAllOrDistinct : public Node {
function class (line 1176) | class CreateTableStmt : public Node {
function class (line 1192) | class CreateIndexStmt : public Node {
function class (line 1206) | class CreateTriggerStmt : public Node {
function class (line 1219) | class CreateViewStmt : public Node {
function class (line 1233) | class OptTableOptionList : public Node {
function class (line 1242) | class TableOptionList : public Node {
function class (line 1253) | class TableOption : public Node {
function class (line 1262) | class OptOpComma : public Node {
function class (line 1269) | class OptIgnoreOrReplace : public Node {
function class (line 1276) | class OptViewAlgorithm : public Node {
function class (line 1283) | class OptSqlSecurity : public Node {
function class (line 1290) | class OptIndexOption : public Node {
function class (line 1297) | class OptExtraOption : public Node {
function class (line 1307) | class IndexAlgorithmOption : public Node {
function class (line 1316) | class LockOption : public Node {
function class (line 1325) | class OptOpEqual : public Node {
function class (line 1332) | class TriggerEvents : public Node {
function class (line 1339) | class TriggerName : public Node {
function class (line 1348) | class TriggerActionTime : public Node {
function class (line 1355) | class DropIndexStmt : public Node {
function class (line 1365) | class DropTableStmt : public Node {
function class (line 1377) | class OptRestrictOrCascade : public Node {
function class (line 1384) | class DropTriggerStmt : public Node {
function class (line 1394) | class DropViewStmt : public Node {
function class (line 1405) | class InsertStmt : public Node {
function class (line 1418) | class InsertRest : public Node {
function class (line 1429) | class SuperValuesList : public Node {
function class (line 1439) | class ValuesList : public Node {
function class (line 1448) | class OptOnConflict : public Node {
function class (line 1459) | class OptConflictExpr : public Node {
function class (line 1469) | class IndexedColumnList : public Node {
function class (line 1479) | class IndexedColumn : public Node {
function class (line 1489) | class UpdateStmt : public Node {
function class (line 1503) | class AlterAction : public Node {
function class (line 1517) | class AlterConstantAction : public Node {
function class (line 1526) | class ColumnDefList : public Node {
function class (line 1536) | class ColumnDef : public Node {
function class (line 1547) | class OptColumnConstraintList : public Node {
function class (line 1558) | class ColumnConstraintList : public Node {
function class (line 1568) | class ColumnConstraint : public Node {
function class (line 1577) | class OptReferenceClause : public Node {
function class (line 1587) | class OptCheck : public Node {
function class (line 1597) | class ConstraintType : public Node {
function class (line 1604) | class ReferenceClause : public Node {
function class (line 1616) | class OptForeignKey : public Node {
function class (line 1623) | class OptForeignKeyActions : public Node {
function class (line 1632) | class ForeignKeyActions : public Node {
function class (line 1641) | class KeyActions : public Node {
function class (line 1648) | class OptConstraintAttributeSpec : public Node {
function class (line 1657) | class OptInitialTime : public Node {
function class (line 1664) | class ConstraintName : public Node {
function class (line 1673) | class OptTemp : public Node {
function class (line 1680) | class OptCheckOption : public Node {
function class (line 1687) | class OptColumnNameListP : public Node {
function class (line 1696) | class SetClauseList : public Node {
function class (line 1706) | class SetClause : public Node {
function class (line 1717) | class OptAsAlias : public Node {
function class (line 1726) | class Expr : public Node {
function class (line 1740) | class Operand : public Node {
function class (line 1758) | class CastExpr : public Node {
function class (line 1768) | class ScalarExpr : public Node {
function class (line 1778) | class UnaryExpr : public Node {
function class (line 1787) | class BinaryExpr : public Node {
function class (line 1799) | class LogicExpr : public Node {
function class (line 1809) | class InExpr : public Node {
function class (line 1822) | class CaseExpr : public Node {
function class (line 1833) | class BetweenExpr : public Node {
function class (line 1844) | class ExistsExpr : public Node {
function class (line 1854) | class FunctionExpr : public Node {
function class (line 1867) | class OptDistinct : public Node {
function class (line 1874) | class OptFilterClause : public Node {
function class (line 1883) | class OptOverClause : public Node {
function class (line 1893) | class CaseList : public Node {
function class (line 1903) | class CaseClause : public Node {
function class (line 1913) | class CompExpr : public Node {
function class (line 1923) | class ExtractExpr : public Node {
function class (line 1933) | class DatetimeField : public Node {
function class (line 1940) | class ArrayExpr : public Node {
function class (line 1949) | class ArrayIndex : public Node {
function class (line 1959) | class Literal : public Node {
function class (line 1970) | class StringLiteral : public Node {
function class (line 1979) | class BoolLiteral : public Node {
function class (line 1986) | class NumLiteral : public Node {
function class (line 1996) | class IntLiteral : public Node {
function class (line 2005) | class FloatLiteral : public Node {
function class (line 2014) | class OptColumn : public Node {
function class (line 2021) | class TriggerBody : public Node {
function class (line 2033) | class OptIfNotExist : public Node {
function class (line 2040) | class OptIfExist : public Node {
function class (line 2047) | class Identifier : public Node {
function class (line 2056) | class AsAlias : public Node {
function class (line 2065) | class TableName : public Node {
function class (line 2074) | class ColumnName : public Node {
function class (line 2083) | class OptIndexKeyword : public Node {
function class (line 2090) | class ViewName : public Node {
function class (line 2099) | class FunctionName : public Node {
function class (line 2108) | class BinaryOp : public Node {
function class (line 2115) | class OptNot : public Node {
function class (line 2122) | class Name : public Node {
function class (line 2131) | class TypeName : public Node {
function class (line 2141) | class CharacterType : public Node {
function class (line 2151) | class CharacterWithLength : public Node {
function class (line 2161) | class CharacterWithoutLength : public Node {
function class (line 2170) | class CharacterConflicta : public Node {
function class (line 2177) | class NumericType : public Node {
function class (line 2184) | class OptTableConstraintList : public Node {
function class (line 2193) | class TableConstraintList : public Node {
function class (line 2203) | class TableConstraint : public Node {
function class (line 2217) | class OptEnforced : public Node {
FILE: srcs/internal/mysql/include/mutator.h
type RELATIONTYPE (line 15) | enum RELATIONTYPE {
function class (line 21) | class Mutator {
FILE: srcs/internal/mysql/mysql.cc
function MySQLDB (line 13) | MySQLDB *create_mysql() { return new MySQLDB; }
FILE: srcs/internal/mysql/mysql.h
function class (line 11) | class MySQLDB : public DataBase {
FILE: srcs/internal/mysql/parser/bison_parser.cpp
function yyerror (line 84) | int yyerror(YYLTYPE *llocp, Program *result, yyscan_t scanner,
type ff_tokentype (line 140) | enum ff_tokentype {
type FF_LTYPE (line 525) | struct FF_LTYPE
type FF_LTYPE (line 526) | struct FF_LTYPE {
function YY_ATTRIBUTE_UNUSED (line 1746) | YY_ATTRIBUTE_UNUSED
function yy_symbol_value_print (line 1785) | static void yy_symbol_value_print(FILE *yyo, int yytype,
function yy_symbol_print (line 1805) | static void yy_symbol_print(FILE *yyo, int yytype,
function yy_stack_print (line 1823) | static void yy_stack_print(yytype_int16 *yybottom, yytype_int16 *yytop) {
function yy_reduce_print (line 1841) | static void yy_reduce_print(yytype_int16 *yyssp, YYSTYPE *yyvsp, YYLTYPE...
function YYSIZE_T (line 1896) | static YYSIZE_T yystrlen(const char *yystr) {
function YYSIZE_T (line 1929) | static YYSIZE_T yytnamerr(char *yyres, const char *yystr) {
function yysyntax_error (line 1972) | static int yysyntax_error(YYSIZE_T *yymsg_alloc, char **yymsg,
function yydestruct (line 2096) | static void yydestruct(const char *yymsg, int yytype, YYSTYPE *yyvaluep,
function yyparse (line 3612) | int yyparse(Program *result, yyscan_t scanner) {
FILE: srcs/internal/mysql/parser/bison_parser.h
type ff_tokentype (line 65) | enum ff_tokentype {
type FF_STYPE (line 443) | typedef union FF_STYPE FF_STYPE;
type FF_LTYPE (line 450) | typedef struct FF_LTYPE FF_LTYPE;
type FF_LTYPE (line 451) | struct FF_LTYPE {
FILE: srcs/internal/mysql/parser/flex_lexer.cpp
type yy_buffer_state (line 402) | struct yy_buffer_state
type yy_buffer_state (line 432) | struct yy_buffer_state {
type yy_trans_info (line 577) | struct yy_trans_info {
type yyguts_t (line 1112) | struct yyguts_t {
type yyguts_t (line 1338) | struct yyguts_t
type yyguts_t (line 1338) | struct yyguts_t
function yy_get_next_buffer (line 2613) | static int yy_get_next_buffer(yyscan_t yyscanner) {
function yy_state_type (line 2738) | static yy_state_type yy_get_previous_state(yyscan_t yyscanner) {
function yy_state_type (line 2767) | static yy_state_type yy_try_NUL_trans(yy_state_type yy_current_state,
function input (line 2798) | static int input(yyscan_t yyscanner)
function yyrestart (line 2868) | void yyrestart(FILE *input_file, yyscan_t yyscanner) {
function yy_switch_to_buffer (line 2884) | void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) {
function yy_load_buffer_state (line 2913) | static void yy_load_buffer_state(yyscan_t yyscanner) {
function YY_BUFFER_STATE (line 2928) | YY_BUFFER_STATE yy_create_buffer(FILE *file, int size, yyscan_t yyscanne...
function yy_delete_buffer (line 2954) | void yy_delete_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner) {
function yy_init_buffer (line 2971) | static void yy_init_buffer(YY_BUFFER_STATE b, FILE *file, yyscan_t yysca...
function yy_flush_buffer (line 3000) | void yy_flush_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner) {
function yypush_buffer_state (line 3027) | void yypush_buffer_state(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) {
function yypop_buffer_state (line 3054) | void yypop_buffer_state(yyscan_t yyscanner) {
function yyensure_buffer_stack (line 3071) | static void yyensure_buffer_stack(yyscan_t yyscanner) {
function YY_BUFFER_STATE (line 3119) | YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size, yyscan_t yysc...
function YY_BUFFER_STATE (line 3153) | YY_BUFFER_STATE yy_scan_string(const char *yystr, yyscan_t yyscanner) {
function YY_BUFFER_STATE (line 3164) | YY_BUFFER_STATE yy_scan_bytes(const char *yybytes, int _yybytes_len,
type yyguts_t (line 3196) | struct yyguts_t
type yyguts_t (line 3196) | struct yyguts_t
type yyguts_t (line 3223) | struct yyguts_t
type yyguts_t (line 3223) | struct yyguts_t
function yyget_lineno (line 3230) | int yyget_lineno(yyscan_t yyscanner) {
function yyget_column (line 3241) | int yyget_column(yyscan_t yyscanner) {
function FILE (line 3252) | FILE *yyget_in(yyscan_t yyscanner) {
function FILE (line 3260) | FILE *yyget_out(yyscan_t yyscanner) {
function yyget_leng (line 3268) | int yyget_leng(yyscan_t yyscanner) {
type yyguts_t (line 3278) | struct yyguts_t
type yyguts_t (line 3278) | struct yyguts_t
function yyset_extra (line 3286) | void yyset_extra(YY_EXTRA_TYPE user_defined, yyscan_t yyscanner) {
function yyset_lineno (line 3295) | void yyset_lineno(int _line_number, yyscan_t yyscanner) {
function yyset_column (line 3308) | void yyset_column(int _column_no, yyscan_t yyscanner) {
function yyset_in (line 3323) | void yyset_in(FILE *_in_str, yyscan_t yyscanner) {
function yyset_out (line 3328) | void yyset_out(FILE *_out_str, yyscan_t yyscanner) {
function yyget_debug (line 3333) | int yyget_debug(yyscan_t yyscanner) {
function yyset_debug (line 3338) | void yyset_debug(int _bdebug, yyscan_t yyscanner) {
function YYSTYPE (line 3345) | YYSTYPE *yyget_lval(yyscan_t yyscanner) {
function yyset_lval (line 3350) | void yyset_lval(YYSTYPE *yylval_param, yyscan_t yyscanner) {
function YYLTYPE (line 3355) | YYLTYPE *yyget_lloc(yyscan_t yyscanner) {
function yyset_lloc (line 3360) | void yyset_lloc(YYLTYPE *yylloc_param, yyscan_t yyscanner) {
function yylex_init (line 3372) | int yylex_init(yyscan_t *ptr_yy_globals) {
function yylex_init_extra (line 3399) | int yylex_init_extra(YY_EXTRA_TYPE yy_user_defined, yyscan_t *ptr_yy_glo...
function yy_init_globals (line 3425) | static int yy_init_globals(yyscan_t yyscanner) {
function yylex_destroy (line 3458) | int yylex_destroy(yyscan_t yyscanner) {
function yy_flex_strncpy (line 3491) | static void yy_flex_strncpy(char *s1, const char *s2, int n,
function yy_flex_strlen (line 3502) | static int yy_flex_strlen(const char *s, yyscan_t yyscanner) {
type yyguts_t (line 3512) | struct yyguts_t
type yyguts_t (line 3512) | struct yyguts_t
type yyguts_t (line 3518) | struct yyguts_t
type yyguts_t (line 3518) | struct yyguts_t
function yyfree (line 3531) | void yyfree(void *ptr, yyscan_t yyscanner) {
FILE: srcs/internal/mysql/parser/flex_lexer.h
type flex_int8_t (line 282) | typedef int8_t flex_int8_t;
type flex_uint8_t (line 283) | typedef uint8_t flex_uint8_t;
type flex_int16_t (line 284) | typedef int16_t flex_int16_t;
type flex_uint16_t (line 285) | typedef uint16_t flex_uint16_t;
type flex_int32_t (line 286) | typedef int32_t flex_int32_t;
type flex_uint32_t (line 287) | typedef uint32_t flex_uint32_t;
type flex_int8_t (line 289) | typedef signed char flex_int8_t;
type flex_int16_t (line 290) | typedef short int flex_int16_t;
type flex_int32_t (line 291) | typedef int flex_int32_t;
type flex_uint8_t (line 292) | typedef unsigned char flex_uint8_t;
type flex_uint16_t (line 293) | typedef unsigned short int flex_uint16_t;
type flex_uint32_t (line 294) | typedef unsigned int flex_uint32_t;
type yy_buffer_state (line 376) | struct yy_buffer_state
type yy_size_t (line 381) | typedef size_t yy_size_t;
type yy_buffer_state (line 386) | struct yy_buffer_state {
FILE: srcs/internal/mysql/parser/parser_typedef.h
type FF_CUST_LTYPE (line 14) | struct FF_CUST_LTYPE {
FILE: srcs/internal/mysql/srcs/ast.cpp
function Node (line 10) | Node *generate_ast_node_by_type(IRTYPE type) {
function NODETYPE (line 19) | NODETYPE get_nodetype_by_string(string s) {
function string (line 29) | string get_string_by_nodetype(NODETYPE tt) {
function string (line 39) | string get_string_by_datatype(DATATYPE tt) {
function DATATYPE (line 49) | DATATYPE get_datatype_by_string(string s) {
function deep_delete (line 59) | void deep_delete(IR *root) {
function IR (line 68) | IR *deep_copy(const IR *root) {
function string (line 82) | string IR::to_string() {
function string (line 88) | string IR::to_string_core() {
function IR (line 127) | IR *Node::translate(vector<IR *> &v_ir_collector) { return NULL; }
function IR (line 128) | IR *Program::translate(vector<IR *> &v_ir_collector) {
function IR (line 151) | IR *Stmtlist::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 188) | CASEEND
function GENERATEEND (line 202) | GENERATEEND
function IR (line 281) | IR *CreateStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 339) | IR *DropStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 397) | IR *AlterStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 424) | IR *SelectStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 464) | IR *SelectWithParens::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 498) | CASEEND
function GENERATEEND (line 512) | GENERATEEND
function IR (line 554) | IR *SelectClauseList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 597) | CASEEND
function GENERATEEND (line 611) | GENERATEEND
function IR (line 665) | IR *CombineClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 692) | IR *OptFromClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 729) | IR *SelectTarget::translate(vector<IR *> &v_ir_collector) {
function IR (line 752) | IR *OptWindowClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 789) | IR *WindowClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 812) | IR *WindowDefList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 849) | CASEEND
function GENERATEEND (line 863) | GENERATEEND
function IR (line 893) | IR *WindowName::translate(vector<IR *> &v_ir_collector) {
function IR (line 916) | IR *Window::translate(vector<IR *> &v_ir_collector) {
function IR (line 955) | IR *OptPartition::translate(vector<IR *> &v_ir_collector) {
function IR (line 992) | IR *OptFrameClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1050) | IR *RangeOrRows::translate(vector<IR *> &v_ir_collector) {
function IR (line 1077) | IR *FrameBoundStart::translate(vector<IR *> &v_ir_collector) {
function IR (line 1113) | IR *FrameBoundEnd::translate(vector<IR *> &v_ir_collector) {
function IR (line 1149) | IR *FrameBound::translate(vector<IR *> &v_ir_collector) {
function IR (line 1193) | IR *OptExistWindowName::translate(vector<IR *> &v_ir_collector) {
function IR (line 1230) | IR *OptGroupClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1271) | IR *OptHavingClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1308) | IR *OptWhereClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1345) | IR *WhereClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1368) | IR *FromClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1391) | IR *TableRef::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 1531) | CASEEND
function GENERATEEND (line 1583) | GENERATEEND
function IR (line 1628) | IR *OptOn::translate(vector<IR *> &v_ir_collector) {
function IR (line 1665) | IR *OptUsing::translate(vector<IR *> &v_ir_collector) {
function IR (line 1702) | IR *ColumnNameList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 1739) | CASEEND
function GENERATEEND (line 1753) | GENERATEEND
function IR (line 1797) | IR *JoinOp::translate(vector<IR *> &v_ir_collector) {
function IR (line 1838) | IR *OptJoinType::translate(vector<IR *> &v_ir_collector) {
function IR (line 1874) | IR *ExprList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 1920) | CASEEND
function GENERATEEND (line 1936) | GENERATEEND
function IR (line 1976) | IR *LimitClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 2030) | IR *OptLimitRowCount::translate(vector<IR *> &v_ir_collector) {
function IR (line 2067) | IR *OptOrderClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 2104) | IR *OptOrderNulls::translate(vector<IR *> &v_ir_collector) {
function IR (line 2133) | IR *OrderItemList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 2170) | CASEEND
function GENERATEEND (line 2184) | GENERATEEND
function IR (line 2220) | IR *OptOrderBehavior::translate(vector<IR *> &v_ir_collector) {
function IR (line 2249) | IR *OptWithClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 2294) | IR *CteTableList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 2331) | CASEEND
function GENERATEEND (line 2345) | GENERATEEND
function IR (line 2375) | IR *CteTableName::translate(vector<IR *> &v_ir_collector) {
function IR (line 2402) | IR *OptAllOrDistinct::translate(vector<IR *> &v_ir_collector) {
function IR (line 2431) | IR *CreateTableStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2523) | IR *CreateIndexStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2574) | IR *CreateTriggerStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2619) | IR *CreateViewStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2710) | IR *OptTableOptionList::translate(vector<IR *> &v_ir_collector) {
function IR (line 2747) | IR *TableOptionList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 2790) | CASEEND
function GENERATEEND (line 2804) | GENERATEEND
function IR (line 2902) | IR *OptOpComma::translate(vector<IR *> &v_ir_collector) {
function IR (line 2927) | IR *OptIgnoreOrReplace::translate(vector<IR *> &v_ir_collector) {
function IR (line 2956) | IR *OptViewAlgorithm::translate(vector<IR *> &v_ir_collector) {
function IR (line 2989) | IR *OptSqlSecurity::translate(vector<IR *> &v_ir_collector) {
function IR (line 3018) | IR *OptIndexOption::translate(vector<IR *> &v_ir_collector) {
function IR (line 3047) | IR *OptExtraOption::translate(vector<IR *> &v_ir_collector) {
function IR (line 3093) | IR *IndexAlgorithmOption::translate(vector<IR *> &v_ir_collector) {
function IR (line 3140) | IR *LockOption::translate(vector<IR *> &v_ir_collector) {
function IR (line 3195) | IR *OptOpEqual::translate(vector<IR *> &v_ir_collector) {
function IR (line 3220) | IR *TriggerEvents::translate(vector<IR *> &v_ir_collector) {
function IR (line 3247) | IR *TriggerName::translate(vector<IR *> &v_ir_collector) {
function IR (line 3270) | IR *TriggerActionTime::translate(vector<IR *> &v_ir_collector) {
function IR (line 3294) | IR *DropIndexStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 3321) | IR *DropTableStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 3360) | IR *OptRestrictOrCascade::translate(vector<IR *> &v_ir_collector) {
function IR (line 3389) | IR *DropTriggerStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 3416) | IR *DropViewStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 3449) | IR *InsertStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 3494) | IR *InsertRest::translate(vector<IR *> &v_ir_collector) {
function IR (line 3549) | IR *SuperValuesList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 3586) | CASEEND
function GENERATEEND (line 3600) | GENERATEEND
function IR (line 3626) | IR *OptOnConflict::translate(vector<IR *> &v_ir_collector) {
function IR (line 3681) | IR *OptConflictExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 3722) | IR *IndexedColumnList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 3759) | CASEEND
function GENERATEEND (line 3773) | GENERATEEND
function IR (line 3803) | IR *UpdateStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 3893) | IR *AlterAction::translate(vector<IR *> &v_ir_collector) {
function IR (line 3975) | IR *AlterConstantAction::translate(vector<IR *> &v_ir_collector) {
function IR (line 4036) | IR *ColumnDefList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 4073) | CASEEND
function GENERATEEND (line 4087) | GENERATEEND
function IR (line 4123) | IR *OptColumnConstraintList::translate(vector<IR *> &v_ir_collector) {
function IR (line 4170) | IR *ColumnConstraintList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 4207) | CASEEND
function GENERATEEND (line 4221) | GENERATEEND
function IR (line 4247) | IR *OptReferenceClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 4288) | IR *OptCheck::translate(vector<IR *> &v_ir_collector) {
function IR (line 4329) | IR *ConstraintType::translate(vector<IR *> &v_ir_collector) {
function IR (line 4357) | IR *ReferenceClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 4396) | IR *OptForeignKey::translate(vector<IR *> &v_ir_collector) {
function IR (line 4421) | IR *OptForeignKeyActions::translate(vector<IR *> &v_ir_collector) {
function IR (line 4458) | IR *ForeignKeyActions::translate(vector<IR *> &v_ir_collector) {
function IR (line 4512) | IR *KeyActions::translate(vector<IR *> &v_ir_collector) {
function IR (line 4546) | IR *OptConstraintAttributeSpec::translate(vector<IR *> &v_ir_collector) {
function IR (line 4592) | IR *OptInitialTime::translate(vector<IR *> &v_ir_collector) {
function IR (line 4621) | IR *ConstraintName::translate(vector<IR *> &v_ir_collector) {
function IR (line 4644) | IR *OptTemp::translate(vector<IR *> &v_ir_collector) {
function IR (line 4669) | IR *OptCheckOption::translate(vector<IR *> &v_ir_collector) {
function IR (line 4702) | IR *OptColumnNameListP::translate(vector<IR *> &v_ir_collector) {
function IR (line 4739) | IR *SetClauseList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 4776) | CASEEND
function GENERATEEND (line 4790) | GENERATEEND
function IR (line 4840) | IR *OptAsAlias::translate(vector<IR *> &v_ir_collector) {
function IR (line 4877) | IR *Expr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4953) | IR *Operand::translate(vector<IR *> &v_ir_collector) {
function IR (line 5065) | IR *CastExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5092) | IR *ScalarExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5132) | IR *UnaryExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5205) | IR *BinaryExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5277) | IR *LogicExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5323) | IR *InExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5398) | IR *CaseExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5469) | IR *BetweenExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5526) | IR *ExistsExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5553) | IR *FunctionExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5622) | IR *OptDistinct::translate(vector<IR *> &v_ir_collector) {
function IR (line 5647) | IR *OptFilterClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 5684) | IR *OptOverClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 5730) | IR *CaseList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 5767) | CASEEND
function GENERATEEND (line 5781) | GENERATEEND
function IR (line 5811) | IR *CompExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5901) | IR *ExtractExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5928) | IR *DatetimeField::translate(vector<IR *> &v_ir_collector) {
function IR (line 5966) | IR *ArrayExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 5989) | IR *ArrayIndex::translate(vector<IR *> &v_ir_collector) {
function IR (line 6016) | IR *Literal::translate(vector<IR *> &v_ir_collector) {
function IR (line 6065) | IR *StringLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 6083) | IR *BoolLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 6107) | IR *NumLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 6147) | IR *IntLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 6165) | IR *FloatLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 6183) | IR *OptColumn::translate(vector<IR *> &v_ir_collector) {
function IR (line 6208) | IR *TriggerBody::translate(vector<IR *> &v_ir_collector) {
function IR (line 6266) | IR *OptIfNotExist::translate(vector<IR *> &v_ir_collector) {
function IR (line 6291) | IR *OptIfExist::translate(vector<IR *> &v_ir_collector) {
function IR (line 6316) | IR *Identifier::translate(vector<IR *> &v_ir_collector) {
function IR (line 6334) | IR *AsAlias::translate(vector<IR *> &v_ir_collector) {
function IR (line 6357) | IR *TableName::translate(vector<IR *> &v_ir_collector) {
function IR (line 6380) | IR *ColumnName::translate(vector<IR *> &v_ir_collector) {
function IR (line 6403) | IR *OptIndexKeyword::translate(vector<IR *> &v_ir_collector) {
function IR (line 6436) | IR *ViewName::translate(vector<IR *> &v_ir_collector) {
function IR (line 6459) | IR *FunctionName::translate(vector<IR *> &v_ir_collector) {
function IR (line 6482) | IR *BinaryOp::translate(vector<IR *> &v_ir_collector) {
function IR (line 6520) | IR *OptNot::translate(vector<IR *> &v_ir_collector) {
function IR (line 6545) | IR *Name::translate(vector<IR *> &v_ir_collector) {
function IR (line 6568) | IR *TypeName::translate(vector<IR *> &v_ir_collector) {
function IR (line 6608) | IR *CharacterType::translate(vector<IR *> &v_ir_collector) {
function IR (line 6648) | IR *CharacterWithLength::translate(vector<IR *> &v_ir_collector) {
function IR (line 6675) | IR *CharacterWithoutLength::translate(vector<IR *> &v_ir_collector) {
function IR (line 6721) | IR *CharacterConflicta::translate(vector<IR *> &v_ir_collector) {
function IR (line 6772) | IR *NumericType::translate(vector<IR *> &v_ir_collector) {
function IR (line 6834) | IR *OptTableConstraintList::translate(vector<IR *> &v_ir_collector) {
function IR (line 6871) | IR *TableConstraintList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 6908) | CASEEND
function GENERATEEND (line 6922) | GENERATEEND
function IR (line 7007) | IR *OptEnforced::translate(vector<IR *> &v_ir_collector) {
FILE: srcs/internal/mysql/srcs/mutator.cpp
function IR (line 21) | IR *Mutator::deep_copy_with_record(const IR *root, const IR *record) {
function IR (line 307) | IR *Mutator::locate_parent(IR *root, IR *old_ir) {
function IR (line 318) | IR *Mutator::strategy_delete(IR *cur) {
function IR (line 341) | IR *Mutator::strategy_insert(IR *cur) {
function IR (line 381) | IR *Mutator::strategy_replace(IR *cur) {
function IR (line 450) | IR *Mutator::generate_ir_by_type(IRTYPE type) {
function IR (line 460) | IR *Mutator::get_ir_from_library(IRTYPE type) {
function string (line 476) | string Mutator::get_a_string() {
function string (line 570) | string Mutator::parse_data(string &input) {
function replace_in_vector (line 839) | static bool replace_in_vector(string &old_str, string &new_str,
function remove_in_vector (line 850) | static bool remove_in_vector(string &str_to_remove, vector<string> &vict...
function IR (line 1111) | static IR *search_mapped_ir(IR *ir, DATATYPE type) {
function IR (line 1133) | IR *Mutator::find_closest_node(IR *stmt_root, IR *node, DATATYPE type) {
FILE: srcs/internal/mysql/srcs/utils.cpp
function trim_string (line 7) | void trim_string(string &res) {
function string (line 33) | string gen_string() { return string("x"); }
function gen_float (line 35) | double gen_float() { return 1.2; }
function gen_long (line 37) | long gen_long() { return 1; }
function gen_int (line 39) | int gen_int() { return 1; }
function Program (line 43) | Program *parser(string sql) {
function ducking_hash (line 65) | uint64_t ducking_hash(const void *key, int len) {
function get_all_files_in_dir (line 111) | vector<string> get_all_files_in_dir(const char *dir_name) {
FILE: srcs/internal/postgresql/include/ast.h
type NODETYPE (line 10) | enum NODETYPE {
type NODETYPE (line 15) | typedef NODETYPE IRTYPE;
type CASEIDX (line 17) | enum CASEIDX {
type DATATYPE (line 420) | enum DATATYPE {
function reset_id_counter (line 430) | static inline void reset_id_counter() { g_id_counter = 0; }
function string (line 432) | static string gen_id_name() { return "v" + to_string(g_id_counter++); }
function class (line 434) | class IROperator {
type UnionType (line 444) | enum UnionType {
type DATAFLAG (line 453) | enum DATAFLAG {
function class (line 474) | class IR {
function class (line 616) | class Node {
function virtual (line 625) | virtual void generate() {}
function virtual (line 626) | virtual void deep_delete() {}
function class (line 647) | class Program : public Node {
function class (line 656) | class Stmtlist : public Node {
function class (line 666) | class Stmt : public Node {
function class (line 681) | class CreateStmt : public Node {
function class (line 692) | class DropStmt : public Node {
function class (line 703) | class AlterStmt : public Node {
function class (line 713) | class SelectStmt : public Node {
function class (line 723) | class SelectWithParens : public Node {
function class (line 733) | class SelectNoParens : public Node {
function class (line 745) | class SelectClauseList : public Node {
function class (line 756) | class SelectClause : public Node {
function class (line 770) | class CombineClause : public Node {
function class (line 777) | class OptFromClause : public Node {
function class (line 786) | class SelectTarget : public Node {
function class (line 795) | class OptWindowClause : public Node {
function class (line 804) | class WindowClause : public Node {
function class (line 813) | class WindowDefList : public Node {
function class (line 823) | class WindowDef : public Node {
function class (line 833) | class WindowName : public Node {
function class (line 842) | class Window : public Node {
function class (line 854) | class OptPartition : public Node {
function class (line 863) | class OptFrameClause : public Node {
function class (line 875) | class RangeOrRows : public Node {
function class (line 882) | class FrameBoundStart : public Node {
function class (line 891) | class FrameBoundEnd : public Node {
function class (line 900) | class FrameBound : public Node {
function class (line 909) | class OptFrameExclude : public Node {
function class (line 918) | class FrameExclude : public Node {
function class (line 925) | class OptExistWindowName : public Node {
function class (line 934) | class OptGroupClause : public Node {
function class (line 944) | class OptHavingClause : public Node {
function class (line 953) | class OptWhereClause : public Node {
function class (line 962) | class WhereClause : public Node {
function class (line 971) | class FromClause : public Node {
function class (line 980) | class TableRef : public Node {
function class (line 993) | class OptOnOrUsing : public Node {
function class (line 1002) | class OnOrUsing : public Node {
function class (line 1012) | class ColumnNameList : public Node {
function class (line 1022) | class OptTablePrefix : public Node {
function class (line 1032) | class JoinOp : public Node {
function class (line 1041) | class OptJoinType : public Node {
function class (line 1048) | class ExprList : public Node {
function class (line 1058) | class OptLimitClause : public Node {
function class (line 1067) | class LimitClause : public Node {
function class (line 1077) | class OptOrderClause : public Node {
function class (line 1086) | class OptOrderNulls : public Node {
function class (line 1093) | class OrderItemList : public Node {
function class (line 1103) | class OrderItem : public Node {
function class (line 1114) | class OptOrderBehavior : public Node {
function class (line 1121) | class OptWithClause : public Node {
function class (line 1130) | class CteTableList : public Node {
function class (line 1140) | class CteTable : public Node {
function class (line 1150) | class CteTableName : public Node {
function class (line 1160) | class OptAllOrDistinct : public Node {
function class (line 1167) | class CreateTableStmt : public Node {
function class (line 1181) | class CreateIndexStmt : public Node {
function class (line 1195) | class CreateViewStmt : public Node {
function class (line 1208) | class DropIndexStmt : public Node {
function class (line 1218) | class DropTableStmt : public Node {
function class (line 1228) | class DropViewStmt : public Node {
function class (line 1238) | class InsertStmt : public Node {
function class (line 1250) | class InsertRest : public Node {
function class (line 1261) | class SuperValuesList : public Node {
function class (line 1271) | class ValuesList : public Node {
function class (line 1280) | class OptOnConflict : public Node {
function class (line 1291) | class OptConflictExpr : public Node {
function class (line 1301) | class IndexedColumnList : public Node {
function class (line 1311) | class IndexedColumn : public Node {
function class (line 1321) | class UpdateStmt : public Node {
function class (line 1333) | class ReindexStmt : public Node {
function class (line 1342) | class AlterAction : public Node {
function class (line 1355) | class ColumnDefList : public Node {
function class (line 1365) | class ColumnDef : public Node {
function class (line 1376) | class OptColumnConstraintList : public Node {
function class (line 1385) | class ColumnConstraintList : public Node {
function class (line 1395) | class ColumnConstraint : public Node {
function class (line 1404) | class ConstraintType : public Node {
function class (line 1414) | class ForeignClause : public Node {
function class (line 1426) | class OptForeignKeyActions : public Node {
function class (line 1435) | class ForeignKeyActions : public Node {
function class (line 1444) | class KeyActions : public Node {
function class (line 1451) | class OptConstraintAttributeSpec : public Node {
function class (line 1460) | class OptInitialTime : public Node {
function class (line 1467) | class ConstraintName : public Node {
function class (line 1476) | class OptTemp : public Node {
function class (line 1483) | class OptCheckOption : public Node {
function class (line 1490) | class OptColumnNameListP : public Node {
function class (line 1499) | class SetClauseList : public Node {
function class (line 1509) | class SetClause : public Node {
function class (line 1520) | class Expr : public Node {
function class (line 1534) | class Operand : public Node {
function class (line 1550) | class CastExpr : public Node {
function class (line 1560) | class ScalarExpr : public Node {
function class (line 1570) | class UnaryExpr : public Node {
function class (line 1579) | class BinaryExpr : public Node {
function class (line 1591) | class LogicExpr : public Node {
function class (line 1601) | class InExpr : public Node {
function class (line 1614) | class CaseExpr : public Node {
function class (line 1625) | class BetweenExpr : public Node {
function class (line 1636) | class ExistsExpr : public Node {
function class (line 1646) | class CaseList : public Node {
function class (line 1656) | class CaseClause : public Node {
function class (line 1666) | class CompExpr : public Node {
function class (line 1676) | class ExtractExpr : public Node {
function class (line 1686) | class DatetimeField : public Node {
function class (line 1693) | class ArrayIndex : public Node {
function class (line 1703) | class Literal : public Node {
function class (line 1714) | class StringLiteral : public Node {
function class (line 1723) | class BoolLiteral : public Node {
function class (line 1730) | class NumLiteral : public Node {
function class (line 1740) | class IntLiteral : public Node {
function class (line 1749) | class FloatLiteral : public Node {
function class (line 1758) | class OptColumn : public Node {
function class (line 1765) | class OptIfNotExist : public Node {
function class (line 1772) | class OptIfExist : public Node {
function class (line 1779) | class Identifier : public Node {
function class (line 1788) | class TableName : public Node {
function class (line 1797) | class ColumnName : public Node {
function class (line 1806) | class OptUnique : public Node {
function class (line 1813) | class ViewName : public Node {
function class (line 1822) | class BinaryOp : public Node {
function class (line 1829) | class OptNot : public Node {
function class (line 1836) | class Name : public Node {
function class (line 1845) | class TypeName : public Node {
function class (line 1855) | class CharacterType : public Node {
function class (line 1865) | class CharacterWithLength : public Node {
function class (line 1875) | class CharacterWithoutLength : public Node {
function class (line 1884) | class CharacterConflicta : public Node {
function class (line 1893) | class OptVarying : public Node {
function class (line 1900) | class NumericType : public Node {
function class (line 1907) | class OptTableConstraintList : public Node {
function class (line 1916) | class TableConstraintList : public Node {
function class (line 1926) | class TableConstraint : public Node {
FILE: srcs/internal/postgresql/include/mutator.h
type RELATIONTYPE (line 15) | enum RELATIONTYPE {
function class (line 21) | class Mutator {
FILE: srcs/internal/postgresql/parser/bison_parser.cpp
function yyerror (line 84) | int yyerror(YYLTYPE *llocp, Program *result, yyscan_t scanner,
type ff_tokentype (line 140) | enum ff_tokentype {
type FF_LTYPE (line 475) | struct FF_LTYPE
type FF_LTYPE (line 476) | struct FF_LTYPE {
function YY_ATTRIBUTE_UNUSED (line 1557) | YY_ATTRIBUTE_UNUSED
function yy_symbol_value_print (line 1596) | static void yy_symbol_value_print(FILE *yyo, int yytype,
function yy_symbol_print (line 1616) | static void yy_symbol_print(FILE *yyo, int yytype,
function yy_stack_print (line 1634) | static void yy_stack_print(yytype_int16 *yybottom, yytype_int16 *yytop) {
function yy_reduce_print (line 1652) | static void yy_reduce_print(yytype_int16 *yyssp, YYSTYPE *yyvsp, YYLTYPE...
function YYSIZE_T (line 1707) | static YYSIZE_T yystrlen(const char *yystr) {
function YYSIZE_T (line 1740) | static YYSIZE_T yytnamerr(char *yyres, const char *yystr) {
function yysyntax_error (line 1783) | static int yysyntax_error(YYSIZE_T *yymsg_alloc, char **yymsg,
function yydestruct (line 1907) | static void yydestruct(const char *yymsg, int yytype, YYSTYPE *yyvaluep,
function yyparse (line 3154) | int yyparse(Program *result, yyscan_t scanner) {
FILE: srcs/internal/postgresql/parser/bison_parser.h
type ff_tokentype (line 65) | enum ff_tokentype {
type FF_STYPE (line 393) | typedef union FF_STYPE FF_STYPE;
type FF_LTYPE (line 400) | typedef struct FF_LTYPE FF_LTYPE;
type FF_LTYPE (line 401) | struct FF_LTYPE {
FILE: srcs/internal/postgresql/parser/flex_lexer.cpp
type yy_buffer_state (line 402) | struct yy_buffer_state
type yy_buffer_state (line 432) | struct yy_buffer_state {
type yy_trans_info (line 577) | struct yy_trans_info {
type yyguts_t (line 1054) | struct yyguts_t {
type yyguts_t (line 1280) | struct yyguts_t
type yyguts_t (line 1280) | struct yyguts_t
function yy_get_next_buffer (line 2455) | static int yy_get_next_buffer(yyscan_t yyscanner) {
function yy_state_type (line 2580) | static yy_state_type yy_get_previous_state(yyscan_t yyscanner) {
function yy_state_type (line 2609) | static yy_state_type yy_try_NUL_trans(yy_state_type yy_current_state,
function input (line 2640) | static int input(yyscan_t yyscanner)
function yyrestart (line 2710) | void yyrestart(FILE *input_file, yyscan_t yyscanner) {
function yy_switch_to_buffer (line 2726) | void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) {
function yy_load_buffer_state (line 2755) | static void yy_load_buffer_state(yyscan_t yyscanner) {
function YY_BUFFER_STATE (line 2770) | YY_BUFFER_STATE yy_create_buffer(FILE *file, int size, yyscan_t yyscanne...
function yy_delete_buffer (line 2796) | void yy_delete_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner) {
function yy_init_buffer (line 2813) | static void yy_init_buffer(YY_BUFFER_STATE b, FILE *file, yyscan_t yysca...
function yy_flush_buffer (line 2842) | void yy_flush_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner) {
function yypush_buffer_state (line 2869) | void yypush_buffer_state(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) {
function yypop_buffer_state (line 2896) | void yypop_buffer_state(yyscan_t yyscanner) {
function yyensure_buffer_stack (line 2913) | static void yyensure_buffer_stack(yyscan_t yyscanner) {
function YY_BUFFER_STATE (line 2961) | YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size, yyscan_t yysc...
function YY_BUFFER_STATE (line 2995) | YY_BUFFER_STATE yy_scan_string(const char *yystr, yyscan_t yyscanner) {
function YY_BUFFER_STATE (line 3006) | YY_BUFFER_STATE yy_scan_bytes(const char *yybytes, int _yybytes_len,
type yyguts_t (line 3038) | struct yyguts_t
type yyguts_t (line 3038) | struct yyguts_t
type yyguts_t (line 3065) | struct yyguts_t
type yyguts_t (line 3065) | struct yyguts_t
function yyget_lineno (line 3072) | int yyget_lineno(yyscan_t yyscanner) {
function yyget_column (line 3083) | int yyget_column(yyscan_t yyscanner) {
function FILE (line 3094) | FILE *yyget_in(yyscan_t yyscanner) {
function FILE (line 3102) | FILE *yyget_out(yyscan_t yyscanner) {
function yyget_leng (line 3110) | int yyget_leng(yyscan_t yyscanner) {
type yyguts_t (line 3120) | struct yyguts_t
type yyguts_t (line 3120) | struct yyguts_t
function yyset_extra (line 3128) | void yyset_extra(YY_EXTRA_TYPE user_defined, yyscan_t yyscanner) {
function yyset_lineno (line 3137) | void yyset_lineno(int _line_number, yyscan_t yyscanner) {
function yyset_column (line 3150) | void yyset_column(int _column_no, yyscan_t yyscanner) {
function yyset_in (line 3165) | void yyset_in(FILE *_in_str, yyscan_t yyscanner) {
function yyset_out (line 3170) | void yyset_out(FILE *_out_str, yyscan_t yyscanner) {
function yyget_debug (line 3175) | int yyget_debug(yyscan_t yyscanner) {
function yyset_debug (line 3180) | void yyset_debug(int _bdebug, yyscan_t yyscanner) {
function YYSTYPE (line 3187) | YYSTYPE *yyget_lval(yyscan_t yyscanner) {
function yyset_lval (line 3192) | void yyset_lval(YYSTYPE *yylval_param, yyscan_t yyscanner) {
function YYLTYPE (line 3197) | YYLTYPE *yyget_lloc(yyscan_t yyscanner) {
function yyset_lloc (line 3202) | void yyset_lloc(YYLTYPE *yylloc_param, yyscan_t yyscanner) {
function yylex_init (line 3214) | int yylex_init(yyscan_t *ptr_yy_globals) {
function yylex_init_extra (line 3241) | int yylex_init_extra(YY_EXTRA_TYPE yy_user_defined, yyscan_t *ptr_yy_glo...
function yy_init_globals (line 3267) | static int yy_init_globals(yyscan_t yyscanner) {
function yylex_destroy (line 3300) | int yylex_destroy(yyscan_t yyscanner) {
function yy_flex_strncpy (line 3333) | static void yy_flex_strncpy(char *s1, const char *s2, int n,
function yy_flex_strlen (line 3344) | static int yy_flex_strlen(const char *s, yyscan_t yyscanner) {
type yyguts_t (line 3354) | struct yyguts_t
type yyguts_t (line 3354) | struct yyguts_t
type yyguts_t (line 3360) | struct yyguts_t
type yyguts_t (line 3360) | struct yyguts_t
function yyfree (line 3373) | void yyfree(void *ptr, yyscan_t yyscanner) {
FILE: srcs/internal/postgresql/parser/flex_lexer.h
type flex_int8_t (line 282) | typedef int8_t flex_int8_t;
type flex_uint8_t (line 283) | typedef uint8_t flex_uint8_t;
type flex_int16_t (line 284) | typedef int16_t flex_int16_t;
type flex_uint16_t (line 285) | typedef uint16_t flex_uint16_t;
type flex_int32_t (line 286) | typedef int32_t flex_int32_t;
type flex_uint32_t (line 287) | typedef uint32_t flex_uint32_t;
type flex_int8_t (line 289) | typedef signed char flex_int8_t;
type flex_int16_t (line 290) | typedef short int flex_int16_t;
type flex_int32_t (line 291) | typedef int flex_int32_t;
type flex_uint8_t (line 292) | typedef unsigned char flex_uint8_t;
type flex_uint16_t (line 293) | typedef unsigned short int flex_uint16_t;
type flex_uint32_t (line 294) | typedef unsigned int flex_uint32_t;
type yy_buffer_state (line 376) | struct yy_buffer_state
type yy_size_t (line 381) | typedef size_t yy_size_t;
type yy_buffer_state (line 386) | struct yy_buffer_state {
FILE: srcs/internal/postgresql/parser/parser_typedef.h
type FF_CUST_LTYPE (line 14) | struct FF_CUST_LTYPE {
FILE: srcs/internal/postgresql/postgresql.cc
function PostgreSQLDB (line 13) | PostgreSQLDB *create_postgresql() { return new PostgreSQLDB; }
FILE: srcs/internal/postgresql/postgresql.h
function class (line 11) | class PostgreSQLDB : public DataBase {
FILE: srcs/internal/postgresql/srcs/ast.cpp
function Node (line 10) | Node *generate_ast_node_by_type(IRTYPE type) {
function NODETYPE (line 19) | NODETYPE get_nodetype_by_string(string s) {
function string (line 29) | string get_string_by_nodetype(NODETYPE tt) {
function string (line 39) | string get_string_by_datatype(DATATYPE tt) {
function DATATYPE (line 49) | DATATYPE get_datatype_by_string(string s) {
function deep_delete (line 59) | void deep_delete(IR *root) {
function IR (line 68) | IR *deep_copy(const IR *root) {
function string (line 79) | string IR::to_string() {
function string (line 85) | string IR::to_string_core() {
function IR (line 110) | IR *Node::translate(vector<IR *> &v_ir_collector) { return NULL; }
function IR (line 111) | IR *Program::translate(vector<IR *> &v_ir_collector) {
function IR (line 134) | IR *Stmtlist::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 171) | CASEEND
function GENERATEEND (line 185) | GENERATEEND
function IR (line 273) | IR *CreateStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 322) | IR *DropStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 371) | IR *AlterStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 398) | IR *SelectStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 438) | IR *SelectWithParens::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 472) | CASEEND
function GENERATEEND (line 486) | GENERATEEND
function IR (line 528) | IR *SelectClauseList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 571) | CASEEND
function GENERATEEND (line 585) | GENERATEEND
function IR (line 639) | IR *CombineClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 666) | IR *OptFromClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 703) | IR *SelectTarget::translate(vector<IR *> &v_ir_collector) {
function IR (line 726) | IR *OptWindowClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 763) | IR *WindowClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 786) | IR *WindowDefList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 823) | CASEEND
function GENERATEEND (line 837) | GENERATEEND
function IR (line 867) | IR *WindowName::translate(vector<IR *> &v_ir_collector) {
function IR (line 890) | IR *Window::translate(vector<IR *> &v_ir_collector) {
function IR (line 929) | IR *OptPartition::translate(vector<IR *> &v_ir_collector) {
function IR (line 966) | IR *OptFrameClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1035) | IR *RangeOrRows::translate(vector<IR *> &v_ir_collector) {
function IR (line 1062) | IR *FrameBoundStart::translate(vector<IR *> &v_ir_collector) {
function IR (line 1098) | IR *FrameBoundEnd::translate(vector<IR *> &v_ir_collector) {
function IR (line 1134) | IR *FrameBound::translate(vector<IR *> &v_ir_collector) {
function IR (line 1178) | IR *OptFrameExclude::translate(vector<IR *> &v_ir_collector) {
function IR (line 1215) | IR *FrameExclude::translate(vector<IR *> &v_ir_collector) {
function IR (line 1246) | IR *OptExistWindowName::translate(vector<IR *> &v_ir_collector) {
function IR (line 1283) | IR *OptGroupClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1324) | IR *OptHavingClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1361) | IR *OptWhereClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1398) | IR *WhereClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1421) | IR *FromClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1444) | IR *TableRef::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 1513) | CASEEND
function GENERATEEND (line 1540) | GENERATEEND
function IR (line 1580) | IR *OnOrUsing::translate(vector<IR *> &v_ir_collector) {
function IR (line 1620) | IR *ColumnNameList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 1657) | CASEEND
function GENERATEEND (line 1671) | GENERATEEND
function IR (line 1715) | IR *JoinOp::translate(vector<IR *> &v_ir_collector) {
function IR (line 1756) | IR *OptJoinType::translate(vector<IR *> &v_ir_collector) {
function IR (line 1792) | IR *ExprList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 1829) | CASEEND
function GENERATEEND (line 1843) | GENERATEEND
function IR (line 1883) | IR *LimitClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1937) | IR *OptOrderClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1974) | IR *OptOrderNulls::translate(vector<IR *> &v_ir_collector) {
function IR (line 2003) | IR *OrderItemList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 2040) | CASEEND
function GENERATEEND (line 2054) | GENERATEEND
function IR (line 2090) | IR *OptOrderBehavior::translate(vector<IR *> &v_ir_collector) {
function IR (line 2119) | IR *OptWithClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 2164) | IR *CteTableList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 2201) | CASEEND
function GENERATEEND (line 2215) | GENERATEEND
function IR (line 2245) | IR *CteTableName::translate(vector<IR *> &v_ir_collector) {
function IR (line 2272) | IR *OptAllOrDistinct::translate(vector<IR *> &v_ir_collector) {
function IR (line 2301) | IR *CreateTableStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2376) | IR *CreateIndexStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2427) | IR *CreateViewStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2560) | IR *DropIndexStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2587) | IR *DropTableStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2614) | IR *DropViewStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2641) | IR *InsertStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 2680) | IR *InsertRest::translate(vector<IR *> &v_ir_collector) {
function IR (line 2735) | IR *SuperValuesList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 2772) | CASEEND
function GENERATEEND (line 2786) | GENERATEEND
function IR (line 2812) | IR *OptOnConflict::translate(vector<IR *> &v_ir_collector) {
function IR (line 2867) | IR *OptConflictExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 2908) | IR *IndexedColumnList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 2945) | CASEEND
function GENERATEEND (line 2959) | GENERATEEND
function IR (line 2989) | IR *UpdateStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 3028) | IR *ReindexStmt::translate(vector<IR *> &v_ir_collector) {
function IR (line 3067) | IR *AlterAction::translate(vector<IR *> &v_ir_collector) {
function IR (line 3129) | IR *ColumnDefList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 3166) | CASEEND
function GENERATEEND (line 3180) | GENERATEEND
function IR (line 3216) | IR *OptColumnConstraintList::translate(vector<IR *> &v_ir_collector) {
function IR (line 3253) | IR *ColumnConstraintList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 3290) | CASEEND
function GENERATEEND (line 3304) | GENERATEEND
function IR (line 3330) | IR *ConstraintType::translate(vector<IR *> &v_ir_collector) {
function IR (line 3385) | IR *ForeignClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 3424) | IR *OptForeignKeyActions::translate(vector<IR *> &v_ir_collector) {
function IR (line 3461) | IR *ForeignKeyActions::translate(vector<IR *> &v_ir_collector) {
function IR (line 3515) | IR *KeyActions::translate(vector<IR *> &v_ir_collector) {
function IR (line 3549) | IR *OptConstraintAttributeSpec::translate(vector<IR *> &v_ir_collector) {
function IR (line 3595) | IR *OptInitialTime::translate(vector<IR *> &v_ir_collector) {
function IR (line 3624) | IR *ConstraintName::translate(vector<IR *> &v_ir_collector) {
function IR (line 3647) | IR *OptTemp::translate(vector<IR *> &v_ir_collector) {
function IR (line 3693) | IR *OptCheckOption::translate(vector<IR *> &v_ir_collector) {
function IR (line 3726) | IR *OptColumnNameListP::translate(vector<IR *> &v_ir_collector) {
function IR (line 3763) | IR *SetClauseList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 3800) | CASEEND
function GENERATEEND (line 3814) | GENERATEEND
function IR (line 3864) | IR *Expr::translate(vector<IR *> &v_ir_collector) {
function IR (line 3940) | IR *Operand::translate(vector<IR *> &v_ir_collector) {
function IR (line 4034) | IR *CastExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4061) | IR *ScalarExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4101) | IR *UnaryExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4174) | IR *BinaryExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4246) | IR *LogicExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4292) | IR *InExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4367) | IR *CaseExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4438) | IR *BetweenExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4495) | IR *ExistsExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4522) | IR *CaseList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 4559) | CASEEND
function GENERATEEND (line 4573) | GENERATEEND
function IR (line 4603) | IR *CompExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4693) | IR *ExtractExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 4720) | IR *DatetimeField::translate(vector<IR *> &v_ir_collector) {
function IR (line 4758) | IR *ArrayIndex::translate(vector<IR *> &v_ir_collector) {
function IR (line 4785) | IR *Literal::translate(vector<IR *> &v_ir_collector) {
function IR (line 4834) | IR *StringLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 4852) | IR *BoolLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 4876) | IR *NumLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 4916) | IR *IntLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 4934) | IR *FloatLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 4952) | IR *OptColumn::translate(vector<IR *> &v_ir_collector) {
function IR (line 4977) | IR *OptIfNotExist::translate(vector<IR *> &v_ir_collector) {
function IR (line 5002) | IR *OptIfExist::translate(vector<IR *> &v_ir_collector) {
function IR (line 5027) | IR *Identifier::translate(vector<IR *> &v_ir_collector) {
function IR (line 5045) | IR *TableName::translate(vector<IR *> &v_ir_collector) {
function IR (line 5068) | IR *ColumnName::translate(vector<IR *> &v_ir_collector) {
function IR (line 5091) | IR *OptUnique::translate(vector<IR *> &v_ir_collector) {
function IR (line 5116) | IR *ViewName::translate(vector<IR *> &v_ir_collector) {
function IR (line 5139) | IR *BinaryOp::translate(vector<IR *> &v_ir_collector) {
function IR (line 5173) | IR *OptNot::translate(vector<IR *> &v_ir_collector) {
function IR (line 5198) | IR *Name::translate(vector<IR *> &v_ir_collector) {
function IR (line 5221) | IR *TypeName::translate(vector<IR *> &v_ir_collector) {
function IR (line 5261) | IR *CharacterType::translate(vector<IR *> &v_ir_collector) {
function IR (line 5301) | IR *CharacterWithLength::translate(vector<IR *> &v_ir_collector) {
function IR (line 5328) | IR *CharacterWithoutLength::translate(vector<IR *> &v_ir_collector) {
function IR (line 5351) | IR *CharacterConflicta::translate(vector<IR *> &v_ir_collector) {
function IR (line 5424) | IR *OptVarying::translate(vector<IR *> &v_ir_collector) {
function IR (line 5449) | IR *NumericType::translate(vector<IR *> &v_ir_collector) {
function IR (line 5503) | IR *OptTableConstraintList::translate(vector<IR *> &v_ir_collector) {
function IR (line 5540) | IR *TableConstraintList::translate(vector<IR *> &v_ir_collector) {
function CASEEND (line 5577) | CASEEND
function GENERATEEND (line 5591) | GENERATEEND
FILE: srcs/internal/postgresql/srcs/mutator.cpp
function IR (line 21) | IR *Mutator::deep_copy_with_record(const IR *root, const IR *record) {
function IR (line 307) | IR *Mutator::locate_parent(IR *root, IR *old_ir) {
function IR (line 318) | IR *Mutator::strategy_delete(IR *cur) {
function IR (line 341) | IR *Mutator::strategy_insert(IR *cur) {
function IR (line 381) | IR *Mutator::strategy_replace(IR *cur) {
function IR (line 450) | IR *Mutator::generate_ir_by_type(IRTYPE type) {
function IR (line 460) | IR *Mutator::get_ir_from_library(IRTYPE type) {
function string (line 476) | string Mutator::get_a_string() {
function string (line 570) | string Mutator::parse_data(string &input) {
function replace_in_vector (line 839) | static bool replace_in_vector(string &old_str, string &new_str,
function remove_in_vector (line 850) | static bool remove_in_vector(string &str_to_remove, vector<string> &vict...
function IR (line 1111) | static IR *search_mapped_ir(IR *ir, DATATYPE type) {
function IR (line 1133) | IR *Mutator::find_closest_node(IR *stmt_root, IR *node, DATATYPE type) {
FILE: srcs/internal/postgresql/srcs/utils.cpp
function trim_string (line 7) | void trim_string(string &res) {
function string (line 33) | string gen_string() { return string("x"); }
function gen_float (line 35) | double gen_float() { return 1.2; }
function gen_long (line 37) | long gen_long() { return 1; }
function gen_int (line 39) | int gen_int() { return 1; }
function Program (line 43) | Program *parser(string sql) {
function ducking_hash (line 65) | uint64_t ducking_hash(const void *key, int len) {
function get_all_files_in_dir (line 111) | vector<string> get_all_files_in_dir(const char *dir_name) {
FILE: srcs/internal/sqlite/include/ast.h
function clear_id (line 25) | static inline void clear_id() { g_id_counter = 0; }
function string (line 27) | static string gen_id_name() { return "v" + to_string(g_id_counter++); }
type CASEIDX (line 29) | enum CASEIDX { CASE0, CASE1, CASE2, CASE3, CASE4, CASE5, CASE6, CASE7, C...
type NODETYPE (line 31) | enum NODETYPE {
type IDTYPE (line 40) | enum IDTYPE {
type NODETYPE (line 66) | typedef NODETYPE IRTYPE;
function class (line 68) | class IROperator {
function class (line 78) | class IR {
function class (line 165) | class IRCollector {
function class (line 170) | class Node {
function class (line 178) | class Opt : public Node {
function class (line 185) | class OptString : public Opt {
function class (line 192) | class Program : public Node {
function class (line 200) | class StatementList : public Node {
function class (line 207) | class Statement : public Node {
function class (line 217) | class Cmd : public Statement {
function class (line 223) | class CmdAttach : public Cmd {
function class (line 231) | class CmdDetach : public Cmd {
function class (line 238) | class CmdReindex : public Cmd {
function class (line 245) | class CmdAnalyze : public Cmd {
function class (line 252) | class SuperList : public Node {
function class (line 258) | class OptionalHints : public Opt {
function class (line 265) | class CmdPragma : public Cmd {
function class (line 274) | class PragmaKey : public Node {
function class (line 282) | class PragmaValue : public Node {
function class (line 291) | class PragmaName : public Node {
function class (line 298) | class SchemaName : public Node {
function class (line 305) | class PrepareStatement : public Statement {
function class (line 313) | class PreparableStatement : public Statement {
function class (line 319) | class ShowStatement : public Statement {
function class (line 326) | class Hint : public Node {
function class (line 334) | class HintList : public Node {
function class (line 341) | class PrepareTargetQuery : public Node {
function class (line 348) | class SelectStatement : public PreparableStatement {
function class (line 361) | class ImportStatement : public PreparableStatement {
function class (line 370) | class CreateStatement : public PreparableStatement {
function class (line 389) | class InsertStatement : public PreparableStatement {
function class (line 401) | class DeleteStatement : public PreparableStatement {
function class (line 409) | class UpdateStatement : public PreparableStatement {
function class (line 418) | class DropStatement : public PreparableStatement {
function class (line 429) | class ExecuteStatement : public PreparableStatement {
function class (line 437) | class ImportFileType : public Node {
function class (line 444) | class FilePath : public Node {
function class (line 451) | class OptNotExists : public Opt {
function class (line 458) | class ColumnDefCommaList : public Node {
function class (line 465) | class ColumnDef : public Node {
function class (line 474) | class ColumnType : public Node {
function class (line 481) | class OptColumnNullable : public Opt {
function class (line 488) | class OptExists : public Opt {
function class (line 495) | class OptColumnList : public Opt {
function class (line 502) | class UpdateClauseCommalist : public Node {
function class (line 509) | class UpdateClause : public Node {
function class (line 517) | class SelectWithParen : public Node {
function class (line 525) | class SelectParenOrClause : public Node {
function class (line 533) | class SelectNoParen : public SelectWithParen {
function class (line 544) | class SetOperator : public Node {
function class (line 552) | class SetType : public Node {
function class (line 559) | class OptAll : public Opt {
function class (line 566) | class SelectClause : public Node {
function class (line 579) | class OptDistinct : public Opt {
function class (line 586) | class SelectList : public Node {
function class (line 593) | class FromClause : public Node {
function class (line 600) | class OptFromClause : public Opt {
function class (line 607) | class OptWhere : public Opt {
function class (line 614) | class OptGroup : public Opt {
function class (line 622) | class OptHaving : public Opt {
function class (line 629) | class OptOrder : public Opt {
function class (line 636) | class OrderList : public Opt {
function class (line 643) | class OrderDesc : public Opt {
function class (line 652) | class OptOrderType : public Opt {
function class (line 659) | class OptTop : public Opt {
function class (line 666) | class OptLimit : public Opt {
function class (line 674) | class ExprList : public Node {
function class (line 681) | class LiteralList : public Opt {
function class (line 688) | class OptLiteralList : public Opt {
function class (line 695) | class Alias : public Node {
function class (line 703) | class Expr : public Node {
function class (line 709) | class ExprAlias : public Expr {
function class (line 717) | class Operand : public Expr {
function class (line 725) | class BetweenExpr : public Expr {
function class (line 734) | class LogicExpr : public Expr {
function class (line 743) | class ExistsExpr : public Expr {
function class (line 750) | class InExpr : public Expr {
function class (line 759) | class ArrayIndex : public Operand {
function class (line 767) | class ScalarExpr : public Operand {
function class (line 775) | class UnaryExpr : public Operand {
function class (line 783) | class BinaryExpr : public Operand {
function class (line 793) | class CompExpr : public BinaryExpr {
function class (line 799) | class CaseExpr : public Operand {
function class (line 808) | class FunctionExpr : public Operand {
function class (line 819) | class ExtractExpr : public Operand {
function class (line 827) | class ArrayExpr : public Operand {
function class (line 834) | class CaseClause : public Node {
function class (line 843) | class CaseList : public Node {
function class (line 850) | class DatetimeField : public Node {
function class (line 857) | class ColumnName : public Node {
function class (line 865) | class Literal : public Node {
function class (line 871) | class StringLiteral : public Literal {
function class (line 878) | class BoolLiteral : public Literal {
function class (line 885) | class NumLiteral : public Literal {
function class (line 893) | class IntLiteral : public Literal {
function class (line 900) | class FloatLiteral : public NumLiteral {
function class (line 906) | class NullLiteral : public Literal {
function class (line 912) | class ParamExpr : public Literal {
function class (line 918) | class Identifier : public Node {
function class (line 928) | class TableRefCommaList : public Node {
function class (line 935) | class TableRefAtomic : public Node {
function class (line 943) | class NonjoinTableRefAtomic : public Node {
function class (line 952) | class TableRefName : public Node {
function class (line 960) | class TableRefNameNoAlias : public Node {
function class (line 967) | class TableName : public Node {
function class (line 975) | class TableAlias : public Node {
function class (line 984) | class OptTableAlias : public Opt {
function class (line 991) | class OptAlias : public Opt {
function class (line 998) | class WithClause : public Node {
function class (line 1005) | class OptWithClause : public Opt {
function class (line 1012) | class WithDescriptionList : public Node {
function class (line 1019) | class WithDescription : public Node {
function class (line 1027) | class JoinClause : public Node {
function class (line 1039) | class OptJoinType : public OptString {
function class (line 1046) | class JoinCondition : public Node {
function class (line 1053) | class OptSemicolon : public OptString {
function class (line 1060) | class IdentCommaList : public Node {
function class (line 1067) | class OptColumnArglist : public Opt {
function class (line 1074) | class ColumnArglist : public Node {
function class (line 1081) | class ColumnArg : public Node {
function class (line 1091) | class OptOnConflict : public Opt {
function class (line 1098) | class ResolveType : public Node {
function class (line 1105) | class OptAutoinc : public Opt {
function class (line 1112) | class OptUnique : public Opt {
function class (line 1119) | class IndexName : public Node {
function class (line 1126) | class TriggerDeclare : public Node {
function class (line 1140) | class OptTmp : public Opt {
function class (line 1147) | class TriggerName : public Node {
function class (line 1154) | class OptTriggerTime : public Opt {
function class (line 1161) | class TriggerEvent : public Node {
function class (line 1168) | class OptOfColumnList : public Opt {
function class (line 1175) | class OptForEach : public Opt {
function class (line 1182) | class OptWhen : public Opt {
function class (line 1189) | class TriggerCmdList : public Node {
function class (line 1196) | class TriggerCmd : public Node {
function class (line 1203) | class ModuleName : public Node {
function class (line 1210) | class OptOverClause : public Opt {
function class (line 1218) | class OptFilterClause : public Opt {
function class (line 1225) | class WindowClause : public Node {
function class (line 1232) | class WindowDefnList : public Node {
function class (line 1239) | class WindowDefn : public Node {
function class (line 1247) | class Window : public Node {
function class (line 1257) | class OptBaseWindowName : public Opt {
function class (line 1264) | class OptFrame : public Opt {
function class (line 1274) | class RangeOrRows : public Node {
function class (line 1281) | class FrameBoundS : public Node {
function class (line 1288) | class FrameBoundE : public Node {
function class (line 1295) | class FrameBound : public Node {
function class (line 1303) | class OptFrameExclude : public Opt {
function class (line 1310) | class FrameExclude : public Node {
function class (line 1317) | class InsertType : public Node {
function class (line 1325) | class TableRef : public Node {
function class (line 1340) | class TablePrefix : public Node {
function class (line 1348) | class JoinOp : public Node {
function class (line 1357) | class JoinKw : public Node {
function class (line 1364) | class OptIndex : public Node {
function class (line 1371) | class OptOn : public Node {
function class (line 1378) | class OptUsing : public Node {
function class (line 1385) | class CastExpr : public Expr {
function class (line 1393) | class AlterStatement : public PreparableStatement {
function class (line 1405) | class OptColumn : public Opt {
function class (line 1412) | class CmdRelease : public Cmd {
function class (line 1419) | class SavepointName : public Node {
function class (line 1426) | class VacuumStatement : public Cmd {
function class (line 1434) | class OptSchemaName : public Opt {
function class (line 1441) | class RollbackStatement : public Cmd {
function class (line 1449) | class OptTransaction : public Opt {
function class (line 1456) | class OptToSavepoint : public Opt {
function class (line 1463) | class BeginStatement : public Cmd {
function class (line 1470) | class CommitStatement : public Cmd {
function class (line 1477) | class OptUpsertClause : public Opt {
function class (line 1484) | class UpsertClause : public Node {
function class (line 1494) | class IndexedColumnList : public Node {
function class (line 1501) | class IndexedColumn : public Node {
function class (line 1510) | class OptCollate : public Opt {
function class (line 1518) | class AssignList : public Node {
function class (line 1525) | class OptNull : public Opt {
function class (line 1532) | class AssignClause : public Node {
function class (line 1540) | class ColumnNameList : public Node {
function class (line 1547) | class CollationName : public Node {
FILE: srcs/internal/sqlite/include/mutator.h
function class (line 12) | class Mutator {
FILE: srcs/internal/sqlite/parser/bison_parser.cpp
function yyerror (line 97) | int yyerror(YYLTYPE* llocp, Program* result, yyscan_t scanner,
type hsql_tokentype (line 172) | enum hsql_tokentype {
type HSQL_LTYPE (line 580) | struct HSQL_LTYPE
type HSQL_LTYPE (line 581) | struct HSQL_LTYPE {
function YY_ATTRIBUTE_UNUSED (line 1853) | YY_ATTRIBUTE_UNUSED
function yy_symbol_value_print (line 1892) | static void yy_symbol_value_print(FILE* yyo, int yytype,
function yy_symbol_print (line 1912) | static void yy_symbol_print(FILE* yyo, int yytype,
function yy_stack_print (line 1930) | static void yy_stack_print(yytype_int16* yybottom, yytype_int16* yytop) {
function yy_reduce_print (line 1948) | static void yy_reduce_print(yytype_int16* yyssp, YYSTYPE* yyvsp, YYLTYPE...
function YYSIZE_T (line 2003) | static YYSIZE_T yystrlen(const char* yystr) {
function YYSIZE_T (line 2036) | static YYSIZE_T yytnamerr(char* yyres, const char* yystr) {
function yysyntax_error (line 2079) | static int yysyntax_error(YYSIZE_T* yymsg_alloc, char** yymsg,
function yydestruct (line 2203) | static void yydestruct(const char* yymsg, int yytype, YYSTYPE* yyvaluep,
function yyparse (line 3705) | int yyparse(Program* result, yyscan_t scanner) {
FILE: srcs/internal/sqlite/parser/bison_parser.h
type hsql_tokentype (line 84) | enum hsql_tokentype {
type HSQL_STYPE (line 485) | typedef union HSQL_STYPE HSQL_STYPE;
type HSQL_LTYPE (line 492) | typedef struct HSQL_LTYPE HSQL_LTYPE;
type HSQL_LTYPE (line 493) | struct HSQL_LTYPE {
FILE: srcs/internal/sqlite/parser/flex_lexer.cpp
type yy_buffer_state (line 402) | struct yy_buffer_state
type yy_buffer_state (line 432) | struct yy_buffer_state {
type yy_trans_info (line 577) | struct yy_trans_info {
type yyguts_t (line 2271) | struct yyguts_t {
type yyguts_t (line 2497) | struct yyguts_t
type yyguts_t (line 2497) | struct yyguts_t
function yy_get_next_buffer (line 3785) | static int yy_get_next_buffer(yyscan_t yyscanner) {
function yy_state_type (line 3910) | static yy_state_type yy_get_previous_state(yyscan_t yyscanner) {
function yy_state_type (line 3939) | static yy_state_type yy_try_NUL_trans(yy_state_type yy_current_state,
function input (line 3970) | static int input(yyscan_t yyscanner)
function yyrestart (line 4040) | void yyrestart(FILE *input_file, yyscan_t yyscanner) {
function yy_switch_to_buffer (line 4056) | void yy_switch_to_buffer(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) {
function yy_load_buffer_state (line 4085) | static void yy_load_buffer_state(yyscan_t yyscanner) {
function YY_BUFFER_STATE (line 4100) | YY_BUFFER_STATE yy_create_buffer(FILE *file, int size, yyscan_t yyscanne...
function yy_delete_buffer (line 4126) | void yy_delete_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner) {
function yy_init_buffer (line 4143) | static void yy_init_buffer(YY_BUFFER_STATE b, FILE *file, yyscan_t yysca...
function yy_flush_buffer (line 4172) | void yy_flush_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner) {
function yypush_buffer_state (line 4199) | void yypush_buffer_state(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner) {
function yypop_buffer_state (line 4226) | void yypop_buffer_state(yyscan_t yyscanner) {
function yyensure_buffer_stack (line 4243) | static void yyensure_buffer_stack(yyscan_t yyscanner) {
function YY_BUFFER_STATE (line 4291) | YY_BUFFER_STATE yy_scan_buffer(char *base, yy_size_t size, yyscan_t yysc...
function YY_BUFFER_STATE (line 4325) | YY_BUFFER_STATE yy_scan_string(const char *yystr, yyscan_t yyscanner) {
function YY_BUFFER_STATE (line 4336) | YY_BUFFER_STATE yy_scan_bytes(const char *yybytes, int _yybytes_len,
type yyguts_t (line 4368) | struct yyguts_t
type yyguts_t (line 4368) | struct yyguts_t
type yyguts_t (line 4395) | struct yyguts_t
type yyguts_t (line 4395) | struct yyguts_t
function yyget_lineno (line 4402) | int yyget_lineno(yyscan_t yyscanner) {
function yyget_column (line 4413) | int yyget_column(yyscan_t yyscanner) {
function FILE (line 4424) | FILE *yyget_in(yyscan_t yyscanner) {
function FILE (line 4432) | FILE *yyget_out(yyscan_t yyscanner) {
function yyget_leng (line 4440) | int yyget_leng(yyscan_t yyscanner) {
type yyguts_t (line 4450) | struct yyguts_t
type yyguts_t (line 4450) | struct yyguts_t
function yyset_extra (line 4458) | void yyset_extra(YY_EXTRA_TYPE user_defined, yyscan_t yyscanner) {
function yyset_lineno (line 4467) | void yyset_lineno(int _line_number, yyscan_t yyscanner) {
function yyset_column (line 4480) | void yyset_column(int _column_no, yyscan_t yyscanner) {
function yyset_in (line 4495) | void yyset_in(FILE *_in_str, yyscan_t yyscanner) {
function yyset_out (line 4500) | void yyset_out(FILE *_out_str, yyscan_t yyscanner) {
function yyget_debug (line 4505) | int yyget_debug(yyscan_t yyscanner) {
function yyset_debug (line 4510) | void yyset_debug(int _bdebug, yyscan_t yyscanner) {
function YYSTYPE (line 4517) | YYSTYPE *yyget_lval(yyscan_t yyscanner) {
function yyset_lval (line 4522) | void yyset_lval(YYSTYPE *yylval_param, yyscan_t yyscanner) {
function YYLTYPE (line 4527) | YYLTYPE *yyget_lloc(yyscan_t yyscanner) {
function yyset_lloc (line 4532) | void yyset_lloc(YYLTYPE *yylloc_param, yyscan_t yyscanner) {
function yylex_init (line 4544) | int yylex_init(yyscan_t *ptr_yy_globals) {
function yylex_init_extra (line 4571) | int yylex_init_extra(YY_EXTRA_TYPE yy_user_defined, yyscan_t *ptr_yy_glo...
function yy_init_globals (line 4597) | static int yy_init_globals(yyscan_t yyscanner) {
function yylex_destroy (line 4630) | int yylex_destroy(yyscan_t yyscanner) {
function yy_flex_strncpy (line 4663) | static void yy_flex_strncpy(char *s1, const char *s2, int n,
function yy_flex_strlen (line 4674) | static int yy_flex_strlen(const char *s, yyscan_t yyscanner) {
type yyguts_t (line 4684) | struct yyguts_t
type yyguts_t (line 4684) | struct yyguts_t
type yyguts_t (line 4690) | struct yyguts_t
type yyguts_t (line 4690) | struct yyguts_t
function yyfree (line 4703) | void yyfree(void *ptr, yyscan_t yyscanner) {
function yyerror (line 4726) | int yyerror(const char *msg) {
FILE: srcs/internal/sqlite/parser/flex_lexer.h
type flex_int8_t (line 282) | typedef int8_t flex_int8_t;
type flex_uint8_t (line 283) | typedef uint8_t flex_uint8_t;
type flex_int16_t (line 284) | typedef int16_t flex_int16_t;
type flex_uint16_t (line 285) | typedef uint16_t flex_uint16_t;
type flex_int32_t (line 286) | typedef int32_t flex_int32_t;
type flex_uint32_t (line 287) | typedef uint32_t flex_uint32_t;
type flex_int8_t (line 289) | typedef signed char flex_int8_t;
type flex_int16_t (line 290) | typedef short int flex_int16_t;
type flex_int32_t (line 291) | typedef int flex_int32_t;
type flex_uint8_t (line 292) | typedef unsigned char flex_uint8_t;
type flex_uint16_t (line 293) | typedef unsigned short int flex_uint16_t;
type flex_uint32_t (line 294) | typedef unsigned int flex_uint32_t;
type yy_buffer_state (line 376) | struct yy_buffer_state
type yy_size_t (line 381) | typedef size_t yy_size_t;
type yy_buffer_state (line 386) | struct yy_buffer_state {
FILE: srcs/internal/sqlite/parser/parser_typedef.h
type HSQL_CUST_LTYPE (line 14) | struct HSQL_CUST_LTYPE {
FILE: srcs/internal/sqlite/sqlite.cc
function SQLiteDB (line 11) | SQLiteDB *create_sqlite() { return new SQLiteDB; }
FILE: srcs/internal/sqlite/sqlite.h
function class (line 11) | class SQLiteDB : public DataBase {
FILE: srcs/internal/sqlite/srcs/ast.cpp
function string (line 13) | string IR::to_string() {
function IR (line 40) | IR *ShowStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 60) | IR *TableName::translate(vector<IR *> &v_ir_collector) {
function IR (line 77) | IR *DropStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 113) | IR *OptExists::translate(vector<IR *> &v_ir_collector) {
function IR (line 121) | IR *Node::translate(vector<IR *> &v_ir_collector) { return NULL; }
function IR (line 123) | IR *Opt::translate(vector<IR *> &v_ir_collector) { return NULL; }
function IR (line 125) | IR *OptString::translate(vector<IR *> &v_ir_collector) { return NULL; }
function IR (line 127) | IR *Program::translate(vector<IR *> &v_ir_collector) {
function IR (line 137) | IR *StatementList::translate(vector<IR *> &v_ir_collector) {
function IR (line 145) | IR *Statement::translate(vector<IR *> &v_ir_collector) {
function IR (line 172) | IR *OptionalHints::translate(vector<IR *> &v_ir_collector) {
function IR (line 188) | IR *PrepareStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 198) | IR *PreparableStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 202) | IR *Hint::translate(vector<IR *> &v_ir_collector) {
function IR (line 220) | IR *HintList::translate(vector<IR *> &v_ir_collector) {
function IR (line 228) | IR *PrepareTargetQuery::translate(vector<IR *> &v_ir_collector) {
function IR (line 236) | IR *SelectStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 276) | IR *ImportStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 288) | IR *CreateStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 373) | IR *InsertStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 418) | IR *InsertType::translate(vector<IR *> &v_ir_collector) {
function IR (line 440) | IR *DeleteStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 458) | IR *UpdateStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 472) | IR *ExecuteStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 490) | IR *ImportFileType::translate(vector<IR *> &v_ir_collector) {
function IR (line 498) | IR *FilePath::translate(vector<IR *> &v_ir_collector) {
function IR (line 506) | IR *OptNotExists::translate(vector<IR *> &v_ir_collector) {
function IR (line 514) | IR *ColumnDefCommaList::translate(vector<IR *> &v_ir_collector) {
function IR (line 522) | IR *ColumnDef::translate(vector<IR *> &v_ir_collector) {
function IR (line 536) | IR *ColumnType::translate(vector<IR *> &v_ir_collector) {
function IR (line 544) | IR *OptColumnNullable::translate(vector<IR *> &v_ir_collector) {
function IR (line 552) | IR *OptColumnList::translate(vector<IR *> &v_ir_collector) {
function IR (line 568) | IR *UpdateClauseCommalist::translate(vector<IR *> &v_ir_collector) {
function IR (line 576) | IR *UpdateClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 586) | IR *SelectWithParen::translate(vector<IR *> &v_ir_collector) {
function IR (line 603) | IR *SelectParenOrClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 620) | IR *SelectNoParen::translate(vector<IR *> &v_ir_collector) {
function IR (line 659) | IR *SetOperator::translate(vector<IR *> &v_ir_collector) {
function IR (line 669) | IR *SetType::translate(vector<IR *> &v_ir_collector) {
function IR (line 677) | IR *OptAll::translate(vector<IR *> &v_ir_collector) {
function IR (line 685) | IR *SelectClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 712) | IR *OptDistinct::translate(vector<IR *> &v_ir_collector) {
function IR (line 720) | IR *SelectList::translate(vector<IR *> &v_ir_collector) {
function IR (line 729) | IR *FromClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 738) | IR *OptFromClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 754) | IR *OptWhere::translate(vector<IR *> &v_ir_collector) {
function IR (line 769) | IR *OptGroup::translate(vector<IR *> &v_ir_collector) {
function IR (line 786) | IR *OptHaving::translate(vector<IR *> &v_ir_collector) {
function IR (line 802) | IR *OptOrder::translate(vector<IR *> &v_ir_collector) {
function IR (line 817) | IR *OrderList::translate(vector<IR *> &v_ir_collector) {
function IR (line 825) | IR *OrderDesc::translate(vector<IR *> &v_ir_collector) {
function IR (line 840) | IR *OptOrderType::translate(vector<IR *> &v_ir_collector) {
function IR (line 848) | IR *OptTop::translate(vector<IR *> &v_ir_collector) {
function IR (line 865) | IR *OptLimit::translate(vector<IR *> &v_ir_collector) {
function IR (line 897) | IR *ExprList::translate(vector<IR *> &v_ir_collector) {
function IR (line 905) | IR *LiteralList::translate(vector<IR *> &v_ir_collector) {
function IR (line 913) | IR *OptLiteralList::translate(vector<IR *> &v_ir_collector) {
function IR (line 929) | IR *ExprAlias::translate(vector<IR *> &v_ir_collector) {
function IR (line 940) | IR *Expr::translate(vector<IR *> &v_ir_collector) { return NULL; }
function IR (line 942) | IR *Operand::translate(vector<IR *> &v_ir_collector) {
function IR (line 963) | IR *BetweenExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 976) | IR *LogicExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 986) | IR *ExistsExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1007) | IR *InExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1039) | IR *ArrayIndex::translate(vector<IR *> &v_ir_collector) {
function IR (line 1049) | IR *ScalarExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1066) | IR *UnaryExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1091) | IR *BinaryExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1110) | IR *CompExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1117) | IR *CaseExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1148) | IR *FunctionExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1182) | IR *ExtractExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1194) | IR *ArrayExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 1203) | IR *CaseClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1212) | IR *CaseList::translate(vector<IR *> &v_ir_collector) {
function IR (line 1220) | IR *DatetimeField::translate(vector<IR *> &v_ir_collector) {
function IR (line 1228) | IR *ColumnName::translate(vector<IR *> &v_ir_collector) {
function IR (line 1260) | IR *Literal::translate(vector<IR *> &v_ir_collector) {
function IR (line 1266) | IR *StringLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 1274) | IR *BoolLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 1282) | IR *NumLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 1297) | IR *IntLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 1305) | IR *NullLiteral::translate(vector<IR *> &v_ir_collector) {
function IR (line 1313) | IR *ParamExpr::translate(vector<IR *> &v_ir_collector) { return NULL; }
function IR (line 1315) | IR *Identifier::translate(vector<IR *> &v_ir_collector) {
function IR (line 1322) | IR *TableRefCommaList::translate(vector<IR *> &v_ir_collector) {
function IR (line 1330) | IR *TableRefAtomic::translate(vector<IR *> &v_ir_collector) {
function IR (line 1347) | IR *NonjoinTableRefAtomic::translate(vector<IR *> &v_ir_collector) {
function IR (line 1365) | IR *TableRefName::translate(vector<IR *> &v_ir_collector) {
function IR (line 1375) | IR *TableRefNameNoAlias::translate(vector<IR *> &v_ir_collector) {
function IR (line 1384) | IR *TableAlias::translate(vector<IR *> &v_ir_collector) {
function IR (line 1402) | IR *OptTableAlias::translate(vector<IR *> &v_ir_collector) {
function IR (line 1418) | IR *Alias::translate(vector<IR *> &v_ir_collector) {
function IR (line 1435) | IR *OptAlias::translate(vector<IR *> &v_ir_collector) {
function IR (line 1451) | IR *WithClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1460) | IR *OptWithClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1476) | IR *WithDescriptionList::translate(vector<IR *> &v_ir_collector) {
function IR (line 1484) | IR *WithDescription::translate(vector<IR *> &v_ir_collector) {
function IR (line 1494) | IR *JoinClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 1545) | IR *OptJoinType::translate(vector<IR *> &v_ir_collector) {
function IR (line 1553) | IR *JoinCondition::translate(vector<IR *> &v_ir_collector) {
function IR (line 1562) | IR *OptSemicolon::translate(vector<IR *> &v_ir_collector) {
function IR (line 1570) | IR *IdentCommaList::translate(vector<IR *> &v_ir_collector) {
function IR (line 2106) | IR *Cmd::translate(vector<IR *> &v_ir_collector) { return NULL; }
function IR (line 2114) | IR *CmdAttach::translate(vector<IR *> &v_ir_collector) {
function IR (line 2131) | IR *CmdReindex::translate(vector<IR *> &v_ir_collector) {
function IR (line 2155) | IR *CmdDetach::translate(vector<IR *> &v_ir_collector) {
function IR (line 2175) | IR *CmdAnalyze::translate(vector<IR *> &v_ir_collector) {
function IR (line 2196) | IR *CmdPragma::translate(vector<IR *> &v_ir_collector) {
function IR (line 2239) | IR *PragmaKey::translate(vector<IR *> &v_ir_collector) {
function IR (line 2263) | IR *PragmaValue::translate(vector<IR *> &v_ir_collector) {
function IR (line 2289) | IR *PragmaName::translate(vector<IR *> &v_ir_collector) {
function IR (line 2301) | IR *SchemaName::translate(vector<IR *> &v_ir_collector) {
function IR (line 2308) | IR *OptColumnArglist::translate(vector<IR *> &v_ir_collector) {
function IR (line 2327) | IR *ColumnArglist::translate(vector<IR *> &v_ir_collector) {
function IR (line 2340) | IR *ColumnArg::translate(vector<IR *> &v_ir_collector) {
function IR (line 2387) | IR *OptOnConflict::translate(vector<IR *> &v_ir_collector) {
function IR (line 2408) | IR *ResolveType::translate(vector<IR *> &v_ir_collector) {
function IR (line 2416) | IR *OptAutoinc::translate(vector<IR *> &v_ir_collector) {
function IR (line 2424) | IR *OptUnique::translate(vector<IR *> &v_ir_collector) {
function IR (line 2432) | IR *IndexName::translate(vector<IR *> &v_ir_collector) {
function IR (line 2444) | IR *TriggerDeclare::translate(vector<IR *> &v_ir_collector) {
function IR (line 2482) | IR *OptTmp::translate(vector<IR *> &v_ir_collector) {
function IR (line 2490) | IR *TriggerName::translate(vector<IR *> &v_ir_collector) {
function IR (line 2502) | IR *OptTriggerTime::translate(vector<IR *> &v_ir_collector) {
function IR (line 2510) | IR *TriggerEvent::translate(vector<IR *> &v_ir_collector) {
function IR (line 2532) | IR *OptOfColumnList::translate(vector<IR *> &v_ir_collector) {
function IR (line 2551) | IR *OptForEach::translate(vector<IR *> &v_ir_collector) {
function IR (line 2559) | IR *OptWhen::translate(vector<IR *> &v_ir_collector) {
function IR (line 2578) | IR *TriggerCmdList::translate(vector<IR *> &v_ir_collector) {
function IR (line 2590) | IR *TriggerCmd::translate(vector<IR *> &v_ir_collector) {
function IR (line 2601) | IR *ModuleName::translate(vector<IR *> &v_ir_collector) {
function IR (line 2613) | IR *OptOverClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 2637) | IR *OptFilterClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 2656) | IR *WindowClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 2667) | IR *WindowDefnList::translate(vector<IR *> &v_ir_collector) {
function IR (line 2678) | IR *WindowDefn::translate(vector<IR *> &v_ir_collector) {
function IR (line 2694) | IR *Window::translate(vector<IR *> &v_ir_collector) {
function IR (line 2728) | IR *OptBaseWindowName::translate(vector<IR *> &v_ir_collector) {
function IR (line 2747) | IR *OptFrame::translate(vector<IR *> &v_ir_collector) {
function IR (line 2786) | IR *RangeOrRows::translate(vector<IR *> &v_ir_collector) {
function IR (line 2794) | IR *FrameBoundS::translate(vector<IR *> &v_ir_collector) {
function IR (line 2813) | IR *FrameBoundE::translate(vector<IR *> &v_ir_collector) {
function IR (line 2832) | IR *FrameBound::translate(vector<IR *> &v_ir_collector) {
function IR (line 2855) | IR *OptFrameExclude::translate(vector<IR *> &v_ir_collector) {
function IR (line 2874) | IR *FrameExclude::translate(vector<IR *> &v_ir_collector) {
function IR (line 2882) | IR *SuperList::translate(vector<IR *> &v_ir_collector) {
function IR (line 2901) | IR *TableRef::translate(vector<IR *> &v_ir_collector) {
function IR (line 2987) | IR *TablePrefix::translate(vector<IR *> &v_ir_collector) {
function IR (line 3004) | IR *JoinOp::translate(vector<IR *> &v_ir_collector) {
function IR (line 3035) | IR *OptIndex::translate(vector<IR *> &v_ir_collector) {
function IR (line 3053) | IR *OptOn::translate(vector<IR *> &v_ir_collector) {
function IR (line 3068) | IR *OptUsing::translate(vector<IR *> &v_ir_collector) {
function IR (line 3083) | IR *JoinKw::translate(vector<IR *> &v_ir_collector) {
function IR (line 3138) | IR *CastExpr::translate(vector<IR *> &v_ir_collector) {
function IR (line 3158) | IR *AlterStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 3192) | IR *OptColumn::translate(vector<IR *> &v_ir_collector) {
function IR (line 3213) | IR *CmdRelease::translate(vector<IR *> &v_ir_collector) {
function IR (line 3234) | IR *SavepointName::translate(vector<IR *> &v_ir_collector) {
function IR (line 3250) | IR *VacuumStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 3274) | IR *OptSchemaName::translate(vector<IR *> &v_ir_collector) {
function IR (line 3297) | IR *RollbackStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 3309) | IR *OptTransaction::translate(vector<IR *> &v_ir_collector) {
function IR (line 3330) | IR *OptToSavepoint::translate(vector<IR *> &v_ir_collector) {
function IR (line 3356) | IR *BeginStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 3387) | IR *CommitStatement::translate(vector<IR *> &v_ir_collector) {
function IR (line 3413) | IR *UpsertClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 3452) | IR *IndexedColumnList::translate(vector<IR *> &v_ir_collector) {
function IR (line 3468) | IR *IndexedColumn::translate(vector<IR *> &v_ir_collector) {
function IR (line 3487) | IR *OptCollate::translate(vector<IR *> &v_ir_collector) {
function IR (line 3509) | IR *AssignList::translate(vector<IR *> &v_ir_collector) {
function IR (line 3519) | IR *OptNull::translate(vector<IR *> &v_ir_collector) {
function IR (line 3534) | IR *AssignClause::translate(vector<IR *> &v_ir_collector) {
function IR (line 3550) | IR *ColumnNameList::translate(vector<IR *> &v_ir_collector) {
function IR (line 3564) | IR *CollationName::translate(vector<IR *> &v_ir_collector) {
function IR (line 3579) | IR *OptUpsertClause::translate(vector<IR *> &v_ir_collector) {
FILE: srcs/internal/sqlite/srcs/mutator.cpp
function IR (line 24) | IR *Mutator::deep_copy_with_record(const IR *root, const IR *record) {
function IR (line 247) | IR *Mutator::locate_parent(IR *root, IR *old_ir) {
function string (line 258) | string Mutator::validate(IR *root) {
function collect_ir (line 278) | static void collect_ir(IR *root, set<IDTYPE> &type_to_fix,
function IR (line 295) | static IR *search_mapped_ir(IR *ir, IDTYPE idtype) {
function cross_stmt_map (line 317) | void cross_stmt_map(map<IR *, set<IR *>> &graph, vector<IR *> &ir_to_fix,
function toptable_map (line 342) | void toptable_map(map<IR *, set<IR *>> &graph, vector<IR *> &ir_to_fix,
function IR (line 503) | IR *Mutator::strategy_delete(IR *cur) {
function IR (line 526) | IR *Mutator::strategy_insert(IR *cur) {
function IR (line 571) | IR *Mutator::strategy_replace(IR *cur) {
function IR (line 640) | IR *Mutator::get_from_libary_2D(IR *ir) {
function IR (line 650) | IR *Mutator::get_from_libary_3D(IR *ir) {
function string (line 663) | string Mutator::get_a_string() {
function string (line 909) | string Mutator::fix(IR *root) {
function string (line 994) | string Mutator::extract_struct2(IR *root) {
function string (line 1048) | string Mutator::extract_struct(IR *root) {
FILE: srcs/internal/sqlite/srcs/utils.cpp
function string (line 3) | string get_string_by_type(IRTYPE type) {
function string (line 13) | string magic_string_generator(string &s) {
function print_v_ir (line 19) | void print_v_ir(vector<IR *> &v_ir_collector) {
function print_ir (line 56) | void print_ir(IR *ir) {
function Program (line 93) | Program *parser(string sql) {
function ducking_hash (line 117) | uint64_t ducking_hash(const void *key, int len) {
function trim_string (line 163) | void trim_string(string &res) {
function get_all_files_in_dir (line 185) | vector<string> get_all_files_in_dir(const char *dir_name, bool absolute) {
function IR (line 227) | IR *deep_copy(const IR *root) {
function deep_delete (line 250) | void deep_delete(IR *root) {
FILE: srcs/utils/config_validate.cc
type utils (line 17) | namespace utils {
function path_exist (line 19) | bool path_exist(std::string_view path) {
function validate_db_config (line 23) | bool validate_db_config(const YAML::Node& config) {
FILE: srcs/utils/config_validate.h
function namespace (line 6) | namespace utils {
FILE: tests/db_config_test.cc
function TEST (line 5) | TEST(ConfigValidatorTest, DBTypeNotSupported) {
function TEST (line 16) | TEST(ConfigValidatorTest, RequiredNotSet) {
function TEST (line 27) | TEST(ConfigValidatorTest, EveryRequiredKeywordShouldBeSet) {
function TEST (line 38) | TEST(ConfigValidatorTest, MissingFilesInShoulExistIsNotAllowed) {
function TEST (line 51) | TEST(ConfigValidatorTest, CorrectlyConfiguredFileReturnTrue) {
Condensed preview — 340 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (4,170K chars).
[
{
"path": ".clang-format",
"chars": 6099,
"preview": "---\nLanguage: Cpp\n# BasedOnStyle: Google\nAccessModifierOffset: -1\nAlignAfterOpenBracket: Align\nAlignArrayOfStruc"
},
{
"path": ".clang-tidy",
"chars": 3825,
"preview": "---\nChecks: 'clang-diagnostic-*,clang-analyzer-*,performance-*,-performance-no-int-to-ptr'\nWarningsAsErrors: '*"
},
{
"path": ".devcontainer/Dockerfile",
"chars": 821,
"preview": "FROM mcr.microsoft.com/devcontainers/base:jammy\n\nARG REINSTALL_CMAKE_VERSION_FROM_SOURCE=\"none\"\n\n# Optionally install th"
},
{
"path": ".devcontainer/devcontainer.json",
"chars": 1076,
"preview": "// For format details, see https://aka.ms/devcontainer.json. For config options, see the\n// README at: https://github.co"
},
{
"path": ".devcontainer/reinstall-cmake.sh",
"chars": 1751,
"preview": "#!/usr/bin/env bash\n#---------------------------------------------------------------------------------------------------"
},
{
"path": ".github/linters/.hadolint.yaml",
"chars": 22,
"preview": "ignored:\n - DL3004\n"
},
{
"path": ".github/workflows/build.yml",
"chars": 1114,
"preview": "name: build\n\non:\n push:\n branches:\n - master\n paths:\n - \"srcs/**\"\n\njobs:\n linux:\n runs-on: \"${{ mat"
},
{
"path": ".github/workflows/code-format.yml_bak",
"chars": 917,
"preview": "name: Formatting\n\non:\n push:\n branches:\n - stable\n - dev\n pull_request:\n branches:\n - dev # No ne"
},
{
"path": ".github/workflows/docker-image.yml",
"chars": 906,
"preview": "name: Build docker\n\non:\n push:\n paths: \n - \"scripts/dockers/**\"\n\njobs:\n\n build:\n\n runs-on: ubuntu-latest\n "
},
{
"path": ".github/workflows/lint.yml",
"chars": 1369,
"preview": "---\n#################################\n#################################\n## Super Linter GitHub Actions ##\n##############"
},
{
"path": ".github/workflows/stale.yml",
"chars": 409,
"preview": "name: 'Close stale issues and PRs'\non:\n schedule:\n - cron: '30 1 * * *'\n\njobs:\n stale:\n runs-on: ubuntu-latest\n "
},
{
"path": ".gitignore",
"chars": 28,
"preview": "build\noutput\n.cache\nTesting\n"
},
{
"path": ".gitmodules",
"chars": 216,
"preview": "[submodule \"AFLplusplus\"]\n\tpath = AFLplusplus\n\turl = https://github.com/AFLplusplus/AFLplusplus.git\n[submodule \"third_pa"
},
{
"path": ".vscode/c_cpp_properties.json",
"chars": 437,
"preview": "{\n \"configurations\": [\n {\n \"name\": \"Linux\",\n \"includePath\": [\n \"${workspa"
},
{
"path": ".vscode/settings.json",
"chars": 109,
"preview": "{\n \"clang-format.fallbackStyle\": \"Google\",\n \"editor.formatOnSave\": false,\n \"editor.formatOnPaste\": false\n}"
},
{
"path": "CMakeLists.txt",
"chars": 4737,
"preview": "cmake_minimum_required(VERSION 3.14)\nproject(Squirrel)\n\nset(BUILD_SHARED_LIBS ON)\n\nset(CMAKE_CXX_STANDARD 17)\n\nset(CMAKE"
},
{
"path": "CODEOWNERS",
"chars": 24,
"preview": "* @Changochen @zr950624\n"
},
{
"path": "LICENSE",
"chars": 1065,
"preview": "MIT License\n\nCopyright (c) 2020 Squirrel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\no"
},
{
"path": "README.md",
"chars": 3289,
"preview": "# Squirrel, a coverage-guided DBMS fuzzer.\n[, c2 AS(c1) CHECK(c2));\nUPDATE t0 SET c0 = NULL\n"
},
{
"path": "data/fuzz_root/init_lib/10.txt",
"chars": 261,
"preview": " CREATE TABLE t1(a, b);\n CREATE TABLE t2(c, d);\n CREATE TABLE t3(e, f);\n\n INSERT INTO t1 VALUES(1, 1);\n INSERT INTO"
},
{
"path": "data/fuzz_root/init_lib/11.txt",
"chars": 163,
"preview": " ATTACH '' AS aux;\n CREATE TABLE aux.t1(a, b, c);\n CREATE TEMP TRIGGER tmp AFTER INSERT ON t1 BEGIN\n SELECT 'abc';"
},
{
"path": "data/fuzz_root/init_lib/12.txt",
"chars": 91,
"preview": "CREATE TABLE t1(a,b);\nINSERT INTO t1 VALUES(1,2);\nUPDATE t1 SET (a,a,a,b)=(SELECT 99,100);\n"
},
{
"path": "data/fuzz_root/init_lib/13.txt",
"chars": 154,
"preview": "CREATE TABLE t0(c0);\nINSERT INTO t0(c0) VALUES (0);\nSELECT * FROM t0 WHERE EXISTS (SELECT MIN(c0) OVER (), CUME_DIST() "
},
{
"path": "data/fuzz_root/init_lib/14.txt",
"chars": 164,
"preview": "CREATE TABLE t1(a);\nCREATE TABLE t2(b);\nCREATE TRIGGER r1 AFTER INSERT ON t2 BEGIN\n INSERT INTO t1(a) VALUES(99);\nEND;\n"
},
{
"path": "data/fuzz_root/init_lib/15.txt",
"chars": 872,
"preview": "CREATE TABLE artists (\n id integer NOT NULL PRIMARY KEY AUTOINCREMENT,\n name varchar(255)\n);\nCREATE TABLE albums (\n i"
},
{
"path": "data/fuzz_root/init_lib/16.txt",
"chars": 144,
"preview": "CREATE TABLE \"sqlite1234\" (\"id\" integer);\nALTER TABLE \"sqlite1234\" RENAME TO \"User\";\nSELECT name, sql FROM sqlite_master"
},
{
"path": "data/fuzz_root/init_lib/17.txt",
"chars": 155,
"preview": "CREATE TABLE IF NOT EXISTS t1(id INTEGER PRIMARY KEY);\nINSERT INTO t1 VALUES(1);\nSELECT a.id FROM t1 AS a JOIN t1 AS b O"
},
{
"path": "data/fuzz_root/init_lib/18.txt",
"chars": 197,
"preview": "CREATE TABLE t1(a INTEGER PRIMARY KEY);\nINSERT INTO t1(a) VALUES(1),(2),(3);\nCREATE TABLE t2(x INTEGER PRIMARY KEY, y IN"
},
{
"path": "data/fuzz_root/init_lib/19.txt",
"chars": 45,
"preview": "SELECT +sum(0)OVER() ORDER BY +sum(0)OVER();\n"
},
{
"path": "data/fuzz_root/init_lib/2.txt",
"chars": 192,
"preview": "CREATE TABLE t0(c0 AS ((c4, 9, c4) < ('a', c1, 1)), c1 AS (1) NOT NULL, c2, c3 CHECK ((x'56', 0) = (c1, 0)), c4 NOT NUL"
},
{
"path": "data/fuzz_root/init_lib/20.txt",
"chars": 201,
"preview": "CREATE TABLE t1(aa, bb);\nCREATE INDEX t1x1 on t1(abs(aa), abs(bb));\nINSERT INTO t1 VALUES(-2,-3),(+2,-3),(-2,+3),(+2,+3)"
},
{
"path": "data/fuzz_root/init_lib/21.txt",
"chars": 306,
"preview": "CREATE TABLE t1(x);\nINSERT INTO t1 VALUES('a'), ('b'), ('c');\n\nCREATE TABLE t2(a, b);\nINSERT INTO t2 VALUES('X', 1), ('X"
},
{
"path": "data/fuzz_root/init_lib/3.txt",
"chars": 75,
"preview": "CREATE TABLE t0(c0 NOT NULL AS(c1), c1);\nREPLACE INTO t0(c1) VALUES(NULL);\n"
},
{
"path": "data/fuzz_root/init_lib/4.txt",
"chars": 361,
"preview": "CREATE TABLE t0(c0, c1, c2 AS(1), PRIMARY KEY(c0) FOREIGN KEY(c2) REFERENCES t0);\nCREATE VIRTUAL TABLE vt0 USING fts4;\nC"
},
{
"path": "data/fuzz_root/init_lib/5.txt",
"chars": 273,
"preview": "CREATE TABLE t0 (c0, c1 a UNIQUE AS (1), c2, c3, FOREIGN KEY(c3) REFERENCES t0(c1));\nCREATE VIRTUAL TABLE vt0 USING fts4"
},
{
"path": "data/fuzz_root/init_lib/6.txt",
"chars": 308,
"preview": "PRAGMA temp_store = MEMORY;\nCREATE TEMP TABLE t0(c0, c1 AS(1) CHECK(NULL) UNIQUE NOT NULL, c2 CHECK(1.0) PRIMARY KEY) WI"
},
{
"path": "data/fuzz_root/init_lib/7.txt",
"chars": 138,
"preview": "CREATE TABLE t0(c0 INTEGER PRIMARY KEY GENERATED ALWAYS AS(1), c1 UNIQUE GENERATED ALWAYS AS(1), c2 UNIQUE);\nINSERT INTO"
},
{
"path": "data/fuzz_root/init_lib/8.txt",
"chars": 258,
"preview": "PRAGMA recursive_triggers = true;\nCREATE TABLE t0(a, b, c UNIQUE);\nCREATE UNIQUE INDEX i0 ON t0(b) WHERE a;\nCREATE TRIGG"
},
{
"path": "data/fuzz_root/init_lib/9.txt",
"chars": 194,
"preview": "CREATE TABLE item (id int, price int);\nINSERT INTO item (id, price) VALUES (1, 1);\nSELECT COUNT(id) FILTER (WHERE double"
},
{
"path": "data/fuzz_root/init_lib/new_code",
"chars": 201001,
"preview": "CREATE TABLE x ( x , x ) ; \nCREATE INDEX x ON x ( x ) ; \nCREATE INDEX x ON x ( x , x ) ; \nANALYZE ; \nSELECT * FROM x ORD"
},
{
"path": "data/fuzz_root/init_lib/sqltest",
"chars": 25591,
"preview": "SELECT * FROM fdt WHERE c1 IN (1, 2, 3)\nSELECT * FROM fdt WHERE c1 IN (SELECT c1 FROM t2)\nSELECT * FROM fdt WHERE c1 IN "
},
{
"path": "data/fuzz_root/input/1.txt",
"chars": 82,
"preview": "CREATE TABLE t0(c0, c1 AS(c0 + c2), c2 AS(c1) CHECK(c2));\nUPDATE t0 SET c0 = NULL\n"
},
{
"path": "data/fuzz_root/input/10.txt",
"chars": 261,
"preview": " CREATE TABLE t1(a, b);\n CREATE TABLE t2(c, d);\n CREATE TABLE t3(e, f);\n\n INSERT INTO t1 VALUES(1, 1);\n INSERT INTO"
},
{
"path": "data/fuzz_root/input/11.txt",
"chars": 163,
"preview": " ATTACH '' AS aux;\n CREATE TABLE aux.t1(a, b, c);\n CREATE TEMP TRIGGER tmp AFTER INSERT ON t1 BEGIN\n SELECT 'abc';"
},
{
"path": "data/fuzz_root/input/12.txt",
"chars": 91,
"preview": "CREATE TABLE t1(a,b);\nINSERT INTO t1 VALUES(1,2);\nUPDATE t1 SET (a,a,a,b)=(SELECT 99,100);\n"
},
{
"path": "data/fuzz_root/input/13.txt",
"chars": 154,
"preview": "CREATE TABLE t0(c0);\nINSERT INTO t0(c0) VALUES (0);\nSELECT * FROM t0 WHERE EXISTS (SELECT MIN(c0) OVER (), CUME_DIST() "
},
{
"path": "data/fuzz_root/input/14.txt",
"chars": 164,
"preview": "CREATE TABLE t1(a);\nCREATE TABLE t2(b);\nCREATE TRIGGER r1 AFTER INSERT ON t2 BEGIN\n INSERT INTO t1(a) VALUES(99);\nEND;\n"
},
{
"path": "data/fuzz_root/input/15.txt",
"chars": 872,
"preview": "CREATE TABLE artists (\n id integer NOT NULL PRIMARY KEY AUTOINCREMENT,\n name varchar(255)\n);\nCREATE TABLE albums (\n i"
},
{
"path": "data/fuzz_root/input/16.txt",
"chars": 144,
"preview": "CREATE TABLE \"sqlite1234\" (\"id\" integer);\nALTER TABLE \"sqlite1234\" RENAME TO \"User\";\nSELECT name, sql FROM sqlite_master"
},
{
"path": "data/fuzz_root/input/17.txt",
"chars": 155,
"preview": "CREATE TABLE IF NOT EXISTS t1(id INTEGER PRIMARY KEY);\nINSERT INTO t1 VALUES(1);\nSELECT a.id FROM t1 AS a JOIN t1 AS b O"
},
{
"path": "data/fuzz_root/input/18.txt",
"chars": 197,
"preview": "CREATE TABLE t1(a INTEGER PRIMARY KEY);\nINSERT INTO t1(a) VALUES(1),(2),(3);\nCREATE TABLE t2(x INTEGER PRIMARY KEY, y IN"
},
{
"path": "data/fuzz_root/input/19.txt",
"chars": 45,
"preview": "SELECT +sum(0)OVER() ORDER BY +sum(0)OVER();\n"
},
{
"path": "data/fuzz_root/input/2.txt",
"chars": 192,
"preview": "CREATE TABLE t0(c0 AS ((c4, 9, c4) < ('a', c1, 1)), c1 AS (1) NOT NULL, c2, c3 CHECK ((x'56', 0) = (c1, 0)), c4 NOT NUL"
},
{
"path": "data/fuzz_root/input/20.txt",
"chars": 201,
"preview": "CREATE TABLE t1(aa, bb);\nCREATE INDEX t1x1 on t1(abs(aa), abs(bb));\nINSERT INTO t1 VALUES(-2,-3),(+2,-3),(-2,+3),(+2,+3)"
},
{
"path": "data/fuzz_root/input/21.txt",
"chars": 306,
"preview": "CREATE TABLE t1(x);\nINSERT INTO t1 VALUES('a'), ('b'), ('c');\n\nCREATE TABLE t2(a, b);\nINSERT INTO t2 VALUES('X', 1), ('X"
},
{
"path": "data/fuzz_root/input/22.txt",
"chars": 171,
"preview": "CREATE VIRTUAL TABLE vt0 USING fts4(c0, languageid=\"lid\");\nINSERT INTO vt0 VALUES (0), (1);\nBEGIN;\nUPDATE vt0 SET lid = "
},
{
"path": "data/fuzz_root/input/23.txt",
"chars": 124,
"preview": "CREATE VIRTUAL TABLE t0 USING rtree(c0, c1, c2);\nINSERT INTO t0(c1) VALUES(0), (0);\nUPDATE t0 SET c0 = (SELECT 1 FROM t0"
},
{
"path": "data/fuzz_root/input/24.txt",
"chars": 140,
"preview": "CREATE TABLE t0(c0 REAL AS(1) UNIQUE, c1 INT);\nINSERT INTO t0 VALUES('');\nSELECT * FROM t0 WHERE (1 BETWEEN CAST(t0.c0 A"
},
{
"path": "data/fuzz_root/input/25.txt",
"chars": 151,
"preview": "PRAGMA encoding = 'UTF-16';\nCREATE VIRTUAL TABLE vt0 USING fts5(c0);\nINSERT INTO vt0 VALUES (x'3078');\nINSERT INTO vt0(v"
},
{
"path": "data/fuzz_root/input/26.txt",
"chars": 121,
"preview": "CREATE TABLE t0(c0);\nCREATE TABLE t1(c0, c1 AS(1));\nINSERT INTO t0 VALUES(0);\nSELECT t1.c1 IS TRUE FROM t0 LEFT JOIN t1;"
},
{
"path": "data/fuzz_root/input/3.txt",
"chars": 75,
"preview": "CREATE TABLE t0(c0 NOT NULL AS(c1), c1);\nREPLACE INTO t0(c1) VALUES(NULL);\n"
},
{
"path": "data/fuzz_root/input/4.txt",
"chars": 361,
"preview": "CREATE TABLE t0(c0, c1, c2 AS(1), PRIMARY KEY(c0) FOREIGN KEY(c2) REFERENCES t0);\nCREATE VIRTUAL TABLE vt0 USING fts4;\nC"
},
{
"path": "data/fuzz_root/input/5.txt",
"chars": 273,
"preview": "CREATE TABLE t0 (c0, c1 a UNIQUE AS (1), c2, c3, FOREIGN KEY(c3) REFERENCES t0(c1));\nCREATE VIRTUAL TABLE vt0 USING fts4"
},
{
"path": "data/fuzz_root/input/6.txt",
"chars": 308,
"preview": "PRAGMA temp_store = MEMORY;\nCREATE TEMP TABLE t0(c0, c1 AS(1) CHECK(NULL) UNIQUE NOT NULL, c2 CHECK(1.0) PRIMARY KEY) WI"
},
{
"path": "data/fuzz_root/input/7.txt",
"chars": 138,
"preview": "CREATE TABLE t0(c0 INTEGER PRIMARY KEY GENERATED ALWAYS AS(1), c1 UNIQUE GENERATED ALWAYS AS(1), c2 UNIQUE);\nINSERT INTO"
},
{
"path": "data/fuzz_root/input/8.txt",
"chars": 258,
"preview": "PRAGMA recursive_triggers = true;\nCREATE TABLE t0(a, b, c UNIQUE);\nCREATE UNIQUE INDEX i0 ON t0(b) WHERE a;\nCREATE TRIGG"
},
{
"path": "data/fuzz_root/input/9.txt",
"chars": 194,
"preview": "CREATE TABLE item (id int, price int);\nINSERT INTO item (id, price) VALUES (1, 1);\nSELECT COUNT(id) FILTER (WHERE double"
},
{
"path": "data/fuzz_root/input/new1.txt",
"chars": 543,
"preview": "CREATE TABLE v1040911821 ( v1040911822 , v1040911823 ) ; CREATE TABLE v1040911827 ( v1040911829 TEXT , v1040911828 ) ; C"
},
{
"path": "data/fuzz_root/input/new2.txt",
"chars": 761,
"preview": "CREATE TABLE v1019944032 ( v1019944040 FLOAT UNIQUE , v1019944035 UNIQUE GENERATED ALWAYS AS( v1019944037 ) , v101994403"
},
{
"path": "data/fuzz_root/input/new3.txt",
"chars": 523,
"preview": "CREATE TABLE v190436516 ( v190436517 DOUBLE PRIMARY KEY , v190436518 UNIQUE AS( v190436517 ) ) ; INSERT INTO v190436516 "
},
{
"path": "data/fuzz_root/input/new4.txt",
"chars": 389,
"preview": "CREATE TABLE v191110750 ( v191110752 , v191110751 INTEGER AS( '199419' ) CHECK( 10 ) CHECK( v191110752 NOT LIKE 'LG CASE"
},
{
"path": "data/fuzz_root/mysql_init_lib/1",
"chars": 179,
"preview": "CREATE TABLE v0 ( v2 INT , v1 INT ) ; INSERT INTO v0 ( v1 , v2 ) VALUES ( 3 , 0 ) ; SELECT * , '1995-03-15' FROM v0 WHER"
},
{
"path": "data/fuzz_root/mysql_init_lib/10",
"chars": 166,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT v1 FROM v0 UNION SELECT 2.100000 * AV"
},
{
"path": "data/fuzz_root/mysql_init_lib/100",
"chars": 180,
"preview": "CREATE TABLE v0 ( v1 INTEGER UNIQUE PRIMARY KEY , v2 INT ) ; INSERT INTO v0 ( v1 , v2 ) VALUES ( 0 , 1 ) ; UPDATE v0 SET"
},
{
"path": "data/fuzz_root/mysql_init_lib/1000",
"chars": 167,
"preview": "CREATE TABLE v0 ( v1 INTEGER UNIQUE ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT v1 FROM v0 WHERE v1 > 9223372036854775807 "
},
{
"path": "data/fuzz_root/mysql_init_lib/1001",
"chars": 157,
"preview": "CREATE TABLE v0 ( v1 VARCHAR(1) , v2 INT ) ; INSERT INTO v0 ( v1 , v1 ) VALUES ( 10 , 4294967295 ) ; SELECT COALESCE ( d"
},
{
"path": "data/fuzz_root/mysql_init_lib/1002",
"chars": 290,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 10 , 100 , 10 ) ,( 0 , 1 , NULL ) ,( 10.100000"
},
{
"path": "data/fuzz_root/mysql_init_lib/1003",
"chars": 406,
"preview": "INSERT INTO v0 ( v1 , v2 ) VALUES ( 'PROMO%%' , 1 ) ,( 'PROMO%%' , 42 ) ,( '13' , 3 ) ,( 'AIR REG' , 0 ) ,( 'EUROPE' , 9"
},
{
"path": "data/fuzz_root/mysql_init_lib/1004",
"chars": 150,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY CHECK( v1 ) ) ; INSERT INTO v0 VALUES ( 3 ) ; SELECT count ( * ) OVER( ORDER BY"
},
{
"path": "data/fuzz_root/mysql_init_lib/1005",
"chars": 158,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 0 ) ; SELECT v1 , min ( v1 ) OVER( ORDER BY v1 ) FR"
},
{
"path": "data/fuzz_root/mysql_init_lib/1006",
"chars": 257,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT v1 FROM v0 ; CREATE TABLE v3 ( v5 INTEGER PRIMARY"
},
{
"path": "data/fuzz_root/mysql_init_lib/1007",
"chars": 239,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; SELECT v1 , v1 FROM v0 WHERE ( v1 = 'LG CASEaaaaaaaaaaaa' AND 9223372036854775808.00000"
},
{
"path": "data/fuzz_root/mysql_init_lib/1008",
"chars": 140,
"preview": "CREATE TABLE v0 ( v1 FLOAT PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT v1 FROM v0 WHERE v1 IN ( 10.100000 ) OR"
},
{
"path": "data/fuzz_root/mysql_init_lib/1009",
"chars": 151,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; SELECT instr ( v1 , v1 ) FROM v0 ; SELECT v1 , v1 FROM v0 WHERE - 'MED BOX' >= v1 + v1 "
},
{
"path": "data/fuzz_root/mysql_init_lib/101",
"chars": 188,
"preview": "SELECT v3 FROM v2 WHERE v5 IN ( 0 , v4 NOT LIKE 'AIR REG' , 10 , 9223372036854775807 , 10 ) ORDER BY v6 DESC LIMIT 3 ; S"
},
{
"path": "data/fuzz_root/mysql_init_lib/1010",
"chars": 189,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 VALUES ( 10 ) ,( 2147483647 ) ,( 99 ) ,( 1 ) ,( 1 ) ,( 3 ) ; SELECT inst"
},
{
"path": "data/fuzz_root/mysql_init_lib/1011",
"chars": 88,
"preview": "SELECT CAST ( zeroblob ( 1 ) AS TEXT ) ; SELECT DISTINCT count () LIMIT 10 OFFSET 10 ; \n"
},
{
"path": "data/fuzz_root/mysql_init_lib/1012",
"chars": 135,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 1 ) ; SELECT quote ( quote ( substr ( v1 , 2 , 1 ) "
},
{
"path": "data/fuzz_root/mysql_init_lib/1013",
"chars": 149,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 3 ) ; SELECT DISTINCT CAST ( round ( v1 / 10 ) AS I"
},
{
"path": "data/fuzz_root/mysql_init_lib/1014",
"chars": 282,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT ( SELECT DISTINCT * , 1 , 2 , 1.100000 ) LIMIT 1 "
},
{
"path": "data/fuzz_root/mysql_init_lib/1015",
"chars": 134,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; SELECT instr ( 3.100000 * AVG ( v1 ) , 10 ) FROM v0 ; SELECT v1 , v1 FROM v0 WHERE v1 I"
},
{
"path": "data/fuzz_root/mysql_init_lib/1016",
"chars": 157,
"preview": "CREATE TABLE v0 ( v1 FLOAT PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 99 ) ; SELECT * FROM v0 AS myname , v0 NATURAL JOIN v"
},
{
"path": "data/fuzz_root/mysql_init_lib/1017",
"chars": 232,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 10 , 1 , 10 ) ,( 10 , 0 , 3 ) ; SELECT SUM ( v"
},
{
"path": "data/fuzz_root/mysql_init_lib/1018",
"chars": 123,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; SELECT instr ( v1 , v1 ) FROM v0 ; SELECT v1 , v1 FROM v0 WHERE - '' >= v1 IS NOT NULL "
},
{
"path": "data/fuzz_root/mysql_init_lib/1019",
"chars": 139,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 ( v1 , v1 ) VALUES ( 'LG PACK' , '18' ) ; SELECT quote ( zer"
},
{
"path": "data/fuzz_root/mysql_init_lib/102",
"chars": 213,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE VIEW v2 ( v3 , v4 , v5 , v6 ) AS WITH y AS ( SELECT Row_Number () OV"
},
{
"path": "data/fuzz_root/mysql_init_lib/1020",
"chars": 332,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 99 , 1 , 1 ) ,( 10 , 1 , 0 ) ; SELECT instr ( "
},
{
"path": "data/fuzz_root/mysql_init_lib/1021",
"chars": 158,
"preview": "CREATE TABLE v0 ( v2 INT , v1 INT ) ; INSERT INTO v0 ( v1 , v1 ) VALUES ( 1 , 3 ) ; UPDATE v0 SET v2 = ( SELECT min ( v2"
},
{
"path": "data/fuzz_root/mysql_init_lib/1022",
"chars": 188,
"preview": "CREATE TABLE v0 ( v2 INT , v1 INT ) ; INSERT INTO v0 ( v2 , v2 ) VALUES ( 2 , 10 ) ; SELECT * , 'MED PKG' FROM v0 WHERE "
},
{
"path": "data/fuzz_root/mysql_init_lib/1023",
"chars": 163,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY UNIQUE ) ; INSERT INTO v0 VALUES ( 9223372036854775807 ) ; SELECT v1 FROM v0 WH"
},
{
"path": "data/fuzz_root/mysql_init_lib/1024",
"chars": 151,
"preview": "CREATE TABLE v0 ( v2 INT , v1 INT ) ; INSERT INTO v0 ( v2 , v2 ) VALUES ( 1 , 10 ) ; SELECT abs ( 10 + 10 ) IN ( SELECT "
},
{
"path": "data/fuzz_root/mysql_init_lib/1025",
"chars": 136,
"preview": "SELECT CAST ( zeroblob ( 10 ) AS DOUBLE ) WHERE last_insert_rowid () ; SELECT DISTINCT ( SELECT total_changes () ) LIMIT"
},
{
"path": "data/fuzz_root/mysql_init_lib/103",
"chars": 259,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT v4 FROM v2 AS a , v0 AS b , v2 AS c ; CREATE TABL"
},
{
"path": "data/fuzz_root/mysql_init_lib/104",
"chars": 233,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; SELECT printf ( count ( ( NOT ( v1 IS NULL ) ) AND ( NOT ( NOT ( '%%green%%' = '23' AND"
},
{
"path": "data/fuzz_root/mysql_init_lib/105",
"chars": 267,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 VALUES ( 10 ) ,( 9223372036854775807 ) ,( 10 ) ,( 1 ) ,( 9 ) ,( 10 ) ,( "
},
{
"path": "data/fuzz_root/mysql_init_lib/106",
"chars": 251,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 ( v1 ) VALUES ( 2 ) ,( 10 ) ,( 1 ) ; CREATE TABLE v2 ( v3 IN"
},
{
"path": "data/fuzz_root/mysql_init_lib/107",
"chars": 333,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; SELECT sqlite_compileoption_used ( 'bbbbbbbbaaaaaaaaaaaaaaaaaaaabbbbbbbbaaa"
},
{
"path": "data/fuzz_root/mysql_init_lib/108",
"chars": 144,
"preview": "CREATE TABLE v0 ( v1 FLOAT ) ; INSERT INTO v0 VALUES ( 0 ) ; SELECT v1 FROM v0 WHERE v1 IN ( 9223372036854775808.000000 "
},
{
"path": "data/fuzz_root/mysql_init_lib/109",
"chars": 149,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 0 ) ; SELECT count ( * ) , substr ( v1 , count ( v1"
},
{
"path": "data/fuzz_root/mysql_init_lib/11",
"chars": 364,
"preview": "SELECT - '199419' ; INSERT INTO v0 ( v2 , v3 , v1 ) VALUES ( 10 , 1 , 10 ) ,( 3 , 0 , NULL ) ,( 3.100000 , '%%green%%' ,"
},
{
"path": "data/fuzz_root/mysql_init_lib/110",
"chars": 209,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 3 , 10 , 1 ) ,( 1 , 12 , 10 ) ; SELECT instr ("
},
{
"path": "data/fuzz_root/mysql_init_lib/111",
"chars": 289,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 ( v1 ) VALUES ( 2 ) ,( 0 ) ,( 3 ) ; CREATE TABLE v2 ( v4 INT"
},
{
"path": "data/fuzz_root/mysql_init_lib/112",
"chars": 212,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; SELECT v1 AS VALUE , v1 FROM v0 WHERE ( v1 = 'Brand#23' AND v1 BETWEEN 10 AND 10 ) OR ("
},
{
"path": "data/fuzz_root/mysql_init_lib/113",
"chars": 407,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 9 , 2 , 1 ) ,( 1 , 10 , NULL ) ,( 922337203685"
},
{
"path": "data/fuzz_root/mysql_init_lib/114",
"chars": 164,
"preview": "CREATE TABLE v0 ( v2 INT , v1 INT ) ; INSERT INTO v0 ( v1 , v1 ) VALUES ( 2 , 10 ) ; SELECT COALESCE ( v1 , datetime ( v"
},
{
"path": "data/fuzz_root/mysql_init_lib/115",
"chars": 357,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 ( v1 ) VALUES ( 9223372036854775807 ) ,( 10 ) ,( 1 ) ; CREAT"
},
{
"path": "data/fuzz_root/mysql_init_lib/116",
"chars": 341,
"preview": "CREATE TABLE v0 ( v1 VARCHAR(0) ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 10 , 10 , 1 ) ,( 10 , 0 , NULL ) ,( 10.1000"
},
{
"path": "data/fuzz_root/mysql_init_lib/117",
"chars": 419,
"preview": "CREATE TABLE v0 ( v1 VARCHAR(0) ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 1 , 2 , 100 ) ,( 10 , 10 , NULL ) ,( 1.1000"
},
{
"path": "data/fuzz_root/mysql_init_lib/118",
"chars": 148,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; SELECT * FROM v0 NATURAL JOIN v0 USING ( b ) ; SELECT julianday ( 10.100000 ) , v1 FROM"
},
{
"path": "data/fuzz_root/mysql_init_lib/119",
"chars": 290,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT NULL FROM v0 GROUP BY v1 , v1 , v1 ; CREATE TABLE"
},
{
"path": "data/fuzz_root/mysql_init_lib/12",
"chars": 360,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 4294967295 , 10 , 10 ) ,( 10 , 1 , NULL ) ,( 1"
},
{
"path": "data/fuzz_root/mysql_init_lib/120",
"chars": 285,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY , v2 TEXT , v3 INT ) ; INSERT INTO v0 ( v1 ) VALUES ( 16 ) ,( 18446744073709551"
},
{
"path": "data/fuzz_root/mysql_init_lib/121",
"chars": 453,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 10 , 1 , 1 ) ,( 1 , 10 , NULL ) ,( 2.100000 , "
},
{
"path": "data/fuzz_root/mysql_init_lib/122",
"chars": 333,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 10 , 1 , 1 ) ,( 10.100000 , 10 , 10 ) ; SELECT"
},
{
"path": "data/fuzz_root/mysql_init_lib/123",
"chars": 258,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 ( v1 ) VALUES ( 255 ) ,( 10 ) ,( 2 ) ; CREATE TABLE v2 ( v4 "
},
{
"path": "data/fuzz_root/mysql_init_lib/124",
"chars": 270,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT v3 , v4 , x ( * ) , x ( v5 ) FROM v2 ; CREATE TAB"
},
{
"path": "data/fuzz_root/mysql_init_lib/125",
"chars": 173,
"preview": "SELECT CAST ( zeroblob ( 9223372036854775807 ) AS TEXT ) FROM v0 AS a , v1 AS b , v2 AS c ; SELECT DISTINCT ( SELECT DIS"
},
{
"path": "data/fuzz_root/mysql_init_lib/126",
"chars": 276,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT v1 FROM v0 ORDER BY 1 , 9 , 1 , 10 ; CREATE TABLE"
},
{
"path": "data/fuzz_root/mysql_init_lib/127",
"chars": 268,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT min ( v1 ) FROM v0 ; CREATE TABLE v3 ( v5 INTEGER"
},
{
"path": "data/fuzz_root/mysql_init_lib/128",
"chars": 365,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 3 , 9223372036854775808 , 3 ) ,( 3 , 0 , NULL "
},
{
"path": "data/fuzz_root/mysql_init_lib/129",
"chars": 275,
"preview": "CREATE TABLE v0 ( v1 INTEGER UNIQUE UNIQUE UNIQUE PRIMARY KEY UNIQUE NOT NULL ) ; SELECT v1 , v1 FROM v0 WHERE ( v1 = 'A"
},
{
"path": "data/fuzz_root/mysql_init_lib/13",
"chars": 278,
"preview": "CREATE TABLE v0 ( v1 FLOAT ) ; INSERT INTO v0 VALUES ( 10 ) ,( 1 ) ,( 1 ) ,( 0 ) ,( 10 ) ,( 10 ) ; SELECT substr ( TYPEO"
},
{
"path": "data/fuzz_root/mysql_init_lib/130",
"chars": 173,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 9223372036854775807 ) ; SELECT v1 , min ( v1 ) FROM"
},
{
"path": "data/fuzz_root/mysql_init_lib/131",
"chars": 366,
"preview": "CREATE TABLE v0 ( v1 VARCHAR(0) ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 10 , 10 , 1 ) ,( 3 , 10 , NULL ) ,( 10.1000"
},
{
"path": "data/fuzz_root/mysql_init_lib/132",
"chars": 376,
"preview": "CREATE TABLE v0 ( v1 VARCHAR(0) ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 1 , 4294967295 , 10 ) ,( 9 , 10 , NULL ) ,("
},
{
"path": "data/fuzz_root/mysql_init_lib/133",
"chars": 303,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT NULL FROM v0 GROUP BY v1 , ( 0 = 10 AND ( random "
},
{
"path": "data/fuzz_root/mysql_init_lib/134",
"chars": 187,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT * FROM v0 NOT INDEXED NATURAL JOIN v0"
},
{
"path": "data/fuzz_root/mysql_init_lib/135",
"chars": 194,
"preview": "CREATE TABLE v0 ( v1 INT , v2 INT ) ; INSERT INTO v0 ( v2 , v2 ) VALUES ( 10 , 10 ) ; SELECT * , '1995-09-01' FROM v0 WH"
},
{
"path": "data/fuzz_root/mysql_init_lib/136",
"chars": 250,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; SELECT sqlite_compileoption_used ( 'LG PACK' ) ; CREATE TABLE v2 ( v3 INTEG"
},
{
"path": "data/fuzz_root/mysql_init_lib/137",
"chars": 203,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 0 , 1 , 0 ) ,( 0 , 1 , 10 ) ; SELECT instr ( v"
},
{
"path": "data/fuzz_root/mysql_init_lib/138",
"chars": 174,
"preview": "SELECT count ( * ) OVER( ORDER BY 3 NULLS LAST ) ; SELECT DISTINCT count () OVER( ) ORDER BY count ( * ) OVER( ORDER BY "
},
{
"path": "data/fuzz_root/mysql_init_lib/139",
"chars": 79,
"preview": "SELECT CASE 10 WHEN 0 THEN 'SM CASE' WHEN 10 THEN 'b' ELSE '1995-09-01' END ; \n"
},
{
"path": "data/fuzz_root/mysql_init_lib/14",
"chars": 182,
"preview": "CREATE TABLE v0 ( v1 INT , v2 INT ) ; INSERT INTO v0 ( v1 , v2 ) VALUES ( 3 , 1 ) ; SELECT * , '**%s**' FROM v0 WHERE v1"
},
{
"path": "data/fuzz_root/mysql_init_lib/140",
"chars": 89,
"preview": "SELECT CAST ( zeroblob ( 'Al' ) AS TEXT ) ; SELECT DISTINCT count () LIMIT 1 OFFSET 1 ; \n"
},
{
"path": "data/fuzz_root/mysql_init_lib/141",
"chars": 374,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 10 , 10 , 0 ) ,( 10 , 99 , NULL ) ,( 10.100000"
},
{
"path": "data/fuzz_root/mysql_init_lib/142",
"chars": 148,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT count ( * ) , substr ( lower ( '**%s*"
},
{
"path": "data/fuzz_root/mysql_init_lib/143",
"chars": 250,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; UPDATE v0 SET v1 = v1 , v1 = 'abc' ; CREATE TABLE v2 ( v4 INTEGER PRIMARY K"
},
{
"path": "data/fuzz_root/mysql_init_lib/144",
"chars": 189,
"preview": "CREATE TABLE v0 ( v1 INT UNIQUE NOT NULL ) ; SELECT v1 , v1 FROM v0 WHERE ( v1 = 10 AND v1 = 9223372036854775807 ) OR ( "
},
{
"path": "data/fuzz_root/mysql_init_lib/145",
"chars": 162,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 3 ) ; SELECT v1 , nth_value ( v1 , 10 ) OVER( ) , l"
},
{
"path": "data/fuzz_root/mysql_init_lib/146",
"chars": 149,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY CHECK( v1 ) ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT v1 + 1 FROM v0 INTERSECT "
},
{
"path": "data/fuzz_root/mysql_init_lib/147",
"chars": 178,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; SELECT v1 , v1 FROM v0 WHERE ( v1 = v1 AND v1 = 1 ) OR ( v1 = 10 AND v1 = 9223372036854"
},
{
"path": "data/fuzz_root/mysql_init_lib/148",
"chars": 307,
"preview": "CREATE TABLE v0 ( v1 INTEGER , v2 DOUBLE , v3 INTEGER ) ; INSERT INTO v0 ( v2 ) VALUES ( 10.100000 ) ,( 3 ) ,( 10 ) ; SE"
},
{
"path": "data/fuzz_root/mysql_init_lib/149",
"chars": 243,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT v1 , v1 AS c FROM v0 ; CREATE TABLE v4 ( v6 INTEG"
},
{
"path": "data/fuzz_root/mysql_init_lib/15",
"chars": 382,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 1 , 10 , 0 ) ,( 10 , 1 , NULL ) ,( 1.100000 , "
},
{
"path": "data/fuzz_root/mysql_init_lib/150",
"chars": 199,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 3 ) ; SELECT count ( CASE WHEN v1 != random () THEN"
},
{
"path": "data/fuzz_root/mysql_init_lib/151",
"chars": 148,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 1 ) ; SELECT v1 FROM v0 INTERSECT SELECT v1 + 10 FR"
},
{
"path": "data/fuzz_root/mysql_init_lib/152",
"chars": 345,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 1 , 10 , 10 ) ,( 10 , 12 , NULL ) "
},
{
"path": "data/fuzz_root/mysql_init_lib/153",
"chars": 137,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT count ( * ) , substr ( v1 , 10 , 1 ) "
},
{
"path": "data/fuzz_root/mysql_init_lib/154",
"chars": 159,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; SELECT v1 FROM v0 WHERE v1 < 2 ORDER BY v1 DESC ; SELECT v1 FROM v0 WHERE 1"
},
{
"path": "data/fuzz_root/mysql_init_lib/155",
"chars": 386,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 1 , 0 , 1 ) ,( 10 , 3 , NULL ) ,( 10.100000 , "
},
{
"path": "data/fuzz_root/mysql_init_lib/156",
"chars": 226,
"preview": "CREATE TABLE v0 AS SELECT v1 FROM v0 ( v1 , v3 , v2 ) ; SELECT * FROM v0 WHERE v1 = 'EUROPE' AND v1 = 'Al' LIMIT 10 ; UP"
},
{
"path": "data/fuzz_root/mysql_init_lib/157",
"chars": 147,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 1 ) ; SELECT v1 FROM v0 , v0 , v0 , v0 AS myname WH"
},
{
"path": "data/fuzz_root/mysql_init_lib/158",
"chars": 261,
"preview": "CREATE TABLE v0 ( v1 FLOAT ) ; INSERT INTO v0 ( v1 ) VALUES ( 10 ) ,( 10 ) ,( 10 ) ; INSERT INTO v0 VALUES ( 10 ) ,( 10 "
},
{
"path": "data/fuzz_root/mysql_init_lib/159",
"chars": 272,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; SELECT sqlite_compileoption_used ( 'b' ) ; CREATE TABLE v2 ( v4 INTEGER PRI"
},
{
"path": "data/fuzz_root/mysql_init_lib/16",
"chars": 153,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 1 ) ; SELECT min ( v1 ) OVER( ORDER BY v1 , v1 , v1"
},
{
"path": "data/fuzz_root/mysql_init_lib/160",
"chars": 170,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 2 ) ; SELECT nth_value ( v1 , 2 ) OVER( ) , count ("
},
{
"path": "data/fuzz_root/mysql_init_lib/161",
"chars": 297,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT count ( * ) OVER( ORDER BY v1 DESC , v1 ASC ) FRO"
},
{
"path": "data/fuzz_root/mysql_init_lib/162",
"chars": 176,
"preview": "SELECT CAST ( zeroblob ( 10 ) AS DOUBLE ) ; SELECT DISTINCT ( SELECT DISTINCT '%%green%%' , 0 , 1 , 10.100000 ) GROUP BY"
},
{
"path": "data/fuzz_root/mysql_init_lib/163",
"chars": 329,
"preview": "CREATE TABLE v0 ( v1 INTEGER , v3 DOUBLE , v2 INTEGER ) ; INSERT INTO v0 ( v2 ) VALUES ( 10.100000 ) ,( 10 ) ,( 10 ) ; S"
},
{
"path": "data/fuzz_root/mysql_init_lib/164",
"chars": 145,
"preview": "CREATE TABLE v0 ( v2 INT , v1 INT ) ; INSERT INTO v0 ( v1 , v1 ) VALUES ( 10 , 10 ) ; SELECT nth_value ( v2 , 0 ) OVER( "
},
{
"path": "data/fuzz_root/mysql_init_lib/165",
"chars": 325,
"preview": "CREATE TABLE v0 ( v1 FLOAT ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 8 , 1 , 10 ) ,( 1 , 10 , NULL ) ,( 1.100000 , ''"
},
{
"path": "data/fuzz_root/mysql_init_lib/166",
"chars": 226,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 3 , 2 , 1 ) ,( 10 , 10 , 10 ) ; SELECT v1 , v1"
},
{
"path": "data/fuzz_root/mysql_init_lib/167",
"chars": 107,
"preview": "CREATE TABLE v0 ( v1 TEXT ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT v1 FROM v0 WHERE v1 IN ( 1.100000 ) ; \n"
},
{
"path": "data/fuzz_root/mysql_init_lib/168",
"chars": 162,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY CHECK( v1 ) ) ; INSERT INTO v0 VALUES ( 127 ) ; SELECT min ( v1 NOT LIKE abs ( "
},
{
"path": "data/fuzz_root/mysql_init_lib/169",
"chars": 128,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY CHECK( v1 ) ) ; INSERT INTO v0 VALUES ( 1 ) ; SELECT printf ( 's%' , 10 , 10 , "
},
{
"path": "data/fuzz_root/mysql_init_lib/17",
"chars": 139,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT count ( * ) , substr ( v1 , 3 , NULL "
},
{
"path": "data/fuzz_root/mysql_init_lib/170",
"chars": 170,
"preview": "CREATE TABLE v0 ( v2 INT , v1 INT ) ; INSERT INTO v0 ( v1 , v2 ) VALUES ( 4294967295 , 10 ) ; SELECT COALESCE ( DISTINCT"
},
{
"path": "data/fuzz_root/mysql_init_lib/171",
"chars": 398,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 9 , 1 , 10 ) ,( 10 , 3 , NULL ) ,( 10.100000 ,"
},
{
"path": "data/fuzz_root/mysql_init_lib/172",
"chars": 332,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; CREATE TABLE v2 AS SELECT CASE 10 WHEN 8 THEN 'MED PKG' WHEN 2 THEN '29' EL"
},
{
"path": "data/fuzz_root/mysql_init_lib/173",
"chars": 377,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 1 , 3 , 3 ) ,( 0 , 10 , NULL ) ,( 3.100000 , '"
},
{
"path": "data/fuzz_root/mysql_init_lib/174",
"chars": 206,
"preview": "CREATE TABLE v0 ( v1 FLOAT ) ; INSERT INTO v0 VALUES ( 1 ) ,( 2 ) ,( 2 ) ,( 10 ) ,( 3 ) ,( 0 ) ; SELECT instr ( v1 , typ"
},
{
"path": "data/fuzz_root/mysql_init_lib/175",
"chars": 303,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 10 , 9 , 127 ) ,( 10 , 0 , 1 ) ; SELECT v1 , v"
},
{
"path": "data/fuzz_root/mysql_init_lib/176",
"chars": 192,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; SELECT instr ( v1 , v1 ) FROM v0 GROUP BY v1 HAVING ( 9223372036854775807 = 3 AND ( ran"
},
{
"path": "data/fuzz_root/mysql_init_lib/177",
"chars": 238,
"preview": "CREATE TABLE v0 ( v1 INT , v2 INT ) ; CREATE TABLE v3 ( v5 INTEGER PRIMARY KEY , v4 INT ) ; INSERT INTO v0 ( v1 , v2 ) V"
},
{
"path": "data/fuzz_root/mysql_init_lib/178",
"chars": 464,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 ( v1 , v1 , v1 ) VALUES ( 10 , 3 , 10 ) ,( 3 , 1 , NULL ) ,( 10.100000 ,"
},
{
"path": "data/fuzz_root/mysql_init_lib/179",
"chars": 233,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 VALUES ( 10 ) ,( 10 ) ,( 9223372036854775807 ) ,( 9223372036854775807 ) "
},
{
"path": "data/fuzz_root/mysql_init_lib/18",
"chars": 218,
"preview": "CREATE TABLE v0 ( v1 INTEGER ) ; INSERT INTO v0 VALUES ( 10 ) ,( 10 ) ,( 0 ) ,( 8 ) ,( 127 ) ,( 10 ) ; SELECT instr ( v1"
},
{
"path": "data/fuzz_root/mysql_init_lib/180",
"chars": 176,
"preview": "CREATE VIEW v0 AS SELECT COUNT ( * ) OVER( ORDER BY ( SELECT CAST ( zeroblob ( 3 ) AS DOUBLE ) ) ) , 2 ; SELECT * FROM v"
},
{
"path": "data/fuzz_root/mysql_init_lib/181",
"chars": 158,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT v1 , v1 = count ( * ) , group_concat "
},
{
"path": "data/fuzz_root/mysql_init_lib/182",
"chars": 177,
"preview": "SELECT CAST ( zeroblob ( 10 ) AS DOUBLE ) ; SELECT DISTINCT ( SELECT DISTINCT '**%s**' , 10 , 0 , 10.100000 ) ORDER BY '"
},
{
"path": "data/fuzz_root/mysql_init_lib/183",
"chars": 176,
"preview": "SELECT 1 IN ( CAST ( 'SM PKG' AS TEXT ) ) ; SELECT v8 , v7 FROM v4 WHERE ( v6 = 1 AND v5 = 10 ) OR ( v10 = 2 AND v9 = 10"
},
{
"path": "data/fuzz_root/mysql_init_lib/184",
"chars": 167,
"preview": "CREATE TABLE v0 ( v1 CHAR(25) PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 0 ) ; SELECT count ( * ) , substr ( lower ( '%%BRA"
},
{
"path": "data/fuzz_root/mysql_init_lib/185",
"chars": 150,
"preview": "CREATE TABLE v0 ( v1 INTEGER PRIMARY KEY ) ; INSERT INTO v0 VALUES ( 10 ) ; SELECT min ( v1 ) OVER( ORDER BY v1 , v1 , v"
}
]
// ... and 140 more files (download for full content)
About this extraction
This page contains the full source code of the s3team/Squirrel GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 340 files (3.8 MB), approximately 1.0M tokens, and a symbol index with 1429 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.