Skip to content

Commit

Permalink
fix: formatting of ClientSideStatements.json
Browse files Browse the repository at this point in the history
This file is using a mix of tabs and spaces. For now I have formatted as
the other lines, so that the diff is clear. In a further PR I will
reformat the whole file to use only spaces.
  • Loading branch information
thiagotnunes committed Jun 5, 2021
1 parent 6a48abe commit 954dfc8
Showing 1 changed file with 18 additions and 18 deletions.
Expand Up @@ -77,12 +77,12 @@
"exampleStatements": ["show variable optimizer_version"]
},
{
"name": "SHOW VARIABLE OPTIMIZER_STATISTICS_PACKAGE",
"executorName": "ClientSideStatementNoParamExecutor",
"resultType": "RESULT_SET",
"regex": "(?is)\\A\\s*show\\s+variable\\s+optimizer_statistics_package\\s*\\z",
"method": "statementShowOptimizerStatisticsPackage",
"exampleStatements": ["show variable optimizer_statistics_package"]
"name": "SHOW VARIABLE OPTIMIZER_STATISTICS_PACKAGE",
"executorName": "ClientSideStatementNoParamExecutor",
"resultType": "RESULT_SET",
"regex": "(?is)\\A\\s*show\\s+variable\\s+optimizer_statistics_package\\s*\\z",
"method": "statementShowOptimizerStatisticsPackage",
"exampleStatements": ["show variable optimizer_statistics_package"]
},
{
"name": "BEGIN TRANSACTION",
Expand Down Expand Up @@ -273,18 +273,18 @@
}
},
{
"name": "SET OPTIMIZER_STATISTICS_PACKAGE = '<package>'|''",
"executorName": "ClientSideStatementSetExecutor",
"resultType": "NO_RESULT",
"regex": "(?is)\\A\\s*set\\s+optimizer_statistics_package\\s*(?:=)\\s*(.*)\\z",
"method": "statementSetOptimizerStatisticsPackage",
"exampleStatements": ["set optimizer_statistics_package='auto_20191128_14_47_22UTC'", "set optimizer_statistics_package=''"],
"setStatement": {
"propertyName": "OPTIMIZER_STATISTICS_PACKAGE",
"separator": "=",
"allowedValues": "'((\\S+)|())'",
"converterName": "ClientSideStatementValueConverters$StringValueConverter"
}
"name": "SET OPTIMIZER_STATISTICS_PACKAGE = '<package>'|''",
"executorName": "ClientSideStatementSetExecutor",
"resultType": "NO_RESULT",
"regex": "(?is)\\A\\s*set\\s+optimizer_statistics_package\\s*(?:=)\\s*(.*)\\z",
"method": "statementSetOptimizerStatisticsPackage",
"exampleStatements": ["set optimizer_statistics_package='auto_20191128_14_47_22UTC'", "set optimizer_statistics_package=''"],
"setStatement": {
"propertyName": "OPTIMIZER_STATISTICS_PACKAGE",
"separator": "=",
"allowedValues": "'((\\S+)|())'",
"converterName": "ClientSideStatementValueConverters$StringValueConverter"
}
}
]
}

0 comments on commit 954dfc8

Please sign in to comment.