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

increase max_allowed_packet for geology queries;

parent ddcdc892
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,10 @@ This example retrieves geology data for two geographic areas in the "US" region
"""
function geology_full(conn::MySQL.Connection, selection::Dict)
# temporarily increase max_allowed_packet
size_query = "SET GLOBAL max_allowed_packet=1073741824;" #Sets max_allowed_packet to 1GB
DBInterface.execute(conn, size_query)
# getting valuable info from dictionary
geo_id = selection["geo_id"]
shape_obj = selection["shape_obj"]
......
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