Skip to content

Commit

Permalink
Fixed error [#METR-22462].
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed Aug 26, 2016
1 parent 867b73b commit 31fcf61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/TableFunctions/TableFunctionMerge.cpp
Expand Up @@ -67,7 +67,7 @@ StoragePtr TableFunctionMerge::execute(ASTPtr ast_function, Context & context) c
ErrorCodes::NUMBER_OF_ARGUMENTS_DOESNT_MATCH);

args[0] = evaluateConstantExpressionOrIdentidierAsLiteral(args[1], context);
args[1] = evaluateConstantExpressionAsLiteral(args[2], context);
args[1] = evaluateConstantExpressionAsLiteral(args[1], context);

String source_database = static_cast<const ASTLiteral &>(*args[0]).value.safeGet<String>();
String table_name_regexp = static_cast<const ASTLiteral &>(*args[1]).value.safeGet<String>();
Expand Down

0 comments on commit 31fcf61

Please sign in to comment.