Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FACT Unified Data IO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FACT
FACT Utils
FACT Unified Data IO
Commits
81ab5a7e
Commit
81ab5a7e
authored
1 year ago
by
Riccardo Boero
Browse files
Options
Downloads
Patches
Plain Diff
debusgging printouts
parent
caaa1b41
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/manifestIO.jl
+2
-2
2 additions, 2 deletions
src/manifestIO.jl
with
2 additions
and
2 deletions
src/manifestIO.jl
+
2
−
2
View file @
81ab5a7e
...
...
@@ -178,7 +178,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
)
# Serialize the arguments dictionary to a JSON string
arguments_dict
=
bytes2hex
(
sha256
(
JSON
.
json
(
arguments
)))
println
(
"do we get here?"
)
# Prepare and execute a query to check if the entry exists in the manifest table
query
=
"""
SELECT result_table_name
...
...
@@ -186,7 +186,7 @@ function find_table_name_in_manifest(conn::MySQL.Connection, method_name::String
WHERE method_name = '
$
method_name' AND arguments_string = '
$
arguments_string' AND arguments_dict = '
$
arguments_dict';
"""
result
=
query_connection
(
conn
,
query
)
println
(
"do we get here?"
)
# Check if a result was found
if
!
isempty
(
result
)
return
result
[
1
,
1
]
# Return the first matching table name
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment