github.com/dolthub/go-mysql-server@v0.18.0/enginetest/scriptgen/setup/helper.go (about) 1 // Copyright 2022 Dolthub, Inc. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 package setup 16 17 var ( 18 KeylessSetup = [][]SetupScript{MydbData, KeylessData} 19 VersionedSetup = [][]SetupScript{MydbData, MyhistorytableData} 20 OrdinalSetup = [][]SetupScript{MydbData, Invert_pkData, Ordinals_ddlData} 21 FooSetup = [][]SetupScript{MydbData, FooData} 22 JsonSetup = [][]SetupScript{MydbData, JsontableData} 23 SpatialSetup = [][]SetupScript{MydbData, SpatialData} 24 PksSetup = [][]SetupScript{MydbData, Pk_tablesData} 25 GraphSetup = [][]SetupScript{MydbData, Graph_tablesData} 26 ReservedSetup = [][]SetupScript{MydbData, Reserved_keywordsData} 27 GeneratedColumnSetup = [][]SetupScript{MydbData, Generated_column_tablesData} 28 SysbenchSetup = [][]SetupScript{MydbData, SysbenchData} 29 Mytable = [][]SetupScript{MydbData, MytableData} 30 ChecksSetup = [][]SetupScript{MydbData, Check_constraintData} 31 NullsSetup = [][]SetupScript{MydbData, Null_rangesData} 32 ComplexIndexSetup = [][]SetupScript{MydbData, Comp_index_tablesData} 33 ImdbPlanSetup = [][]SetupScript{MydbData, ImdbData} 34 TpchPlanSetup = [][]SetupScript{MydbData, TpchData} 35 TpccPlanSetup = [][]SetupScript{MydbData, TpccData} 36 TpcdsPlanSetup = [][]SetupScript{MydbData, TpcdsData} 37 LoadDataSetup = [][]SetupScript{MydbData, LoadtableData} 38 XySetup = [][]SetupScript{MydbData, XyData} 39 JoinsSetup = [][]SetupScript{MydbData, JoinData} 40 IntegrationPlanSetup = [][]SetupScript{MydbData, Integration_testData} 41 42 SpecialSetup = [][]SetupScript{ 43 MydbData, 44 AutoincrementData, 45 BigtableData, 46 DatetimetableData, 47 EmptytableData, 48 Fk_tblData, 49 FloattableData, 50 NewlinetableData, 51 NiltableData, 52 OthertableData, 53 SpecialtableData, 54 StringandtableData, 55 TabletestData, 56 TypestableData, 57 PeopleData, 58 Reserved_keywordsData, 59 } 60 61 SimpleSetup = [][]SetupScript{ 62 MydbData, 63 MytableData, 64 AutoincrementData, 65 BigtableData, 66 DatetimetableData, 67 EmptytableData, 68 Fk_tblData, 69 FloattableData, 70 NewlinetableData, 71 NiltableData, 72 OthertableData, 73 Invert_pkData, 74 SpecialtableData, 75 StringandtableData, 76 TabletestData, 77 TypestableData, 78 PeopleData, 79 Reserved_keywordsData, 80 Pk_tablesData, 81 Ordinals_ddlData, 82 JsontableData, 83 MyhistorytableData, 84 KeylessData, 85 FooData, 86 Graph_tablesData, 87 XyData, 88 } 89 90 PlanSetup = [][]SetupScript{ 91 MydbData, 92 MytableData, 93 AutoincrementData, 94 BigtableData, 95 DatetimetableData, 96 EmptytableData, 97 Fk_tblData, 98 FloattableData, 99 NewlinetableData, 100 NiltableData, 101 OthertableData, 102 SpecialtableData, 103 StringandtableData, 104 TabletestData, 105 TypestableData, 106 PeopleData, 107 Reserved_keywordsData, 108 Pk_tablesData, 109 Ordinals_ddlData, 110 JsontableData, 111 MyhistorytableData, 112 KeylessData, 113 FooData, 114 Graph_tablesData, 115 XyData, 116 Invert_pkData, 117 JoinData, 118 } 119 )