Skip to content
Snippets Groups Projects
Commit a43f144a authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Cleaned printouts

parent 5b8a91cf
No related branches found
Tags v0.0.3
No related merge requests found
...@@ -105,7 +105,6 @@ This function relies on the implementation of `find_table_name_in_manifest`, whi ...@@ -105,7 +105,6 @@ This function relies on the implementation of `find_table_name_in_manifest`, whi
""" """
function does_table_exist_for_method(conn::MySQL.Connection, method_name::String, arguments_string::String, arguments::Dict) function does_table_exist_for_method(conn::MySQL.Connection, method_name::String, arguments_string::String, arguments::Dict)
table_str = find_table_name_in_manifest(conn, method_name, arguments_string, arguments) table_str = find_table_name_in_manifest(conn, method_name, arguments_string, arguments)
println(table_str)
return table_str != "" return table_str != ""
end end
...@@ -178,7 +177,7 @@ In this example, `find_table_name_in_manifest` is used to search for a table in ...@@ -178,7 +177,7 @@ In this example, `find_table_name_in_manifest` is used to search for a table in
function find_table_name_in_manifest(conn::MySQL.Connection, method_name::String, arguments_string::String, arguments::Dict) function find_table_name_in_manifest(conn::MySQL.Connection, method_name::String, arguments_string::String, arguments::Dict)
# Serialize the arguments dictionary to a JSON string # Serialize the arguments dictionary to a JSON string
arguments_dict = bytes2hex(sha256(JSON.json(arguments))) arguments_dict = bytes2hex(sha256(JSON.json(arguments)))
println(arguments_dict)
# Prepare and execute a query to check if the entry exists in the manifest table # Prepare and execute a query to check if the entry exists in the manifest table
query = """ query = """
SELECT result_table_name SELECT result_table_name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment