We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
execute
Recently, MySQL.transaction(conn) do is not working anymore for me. I am not sure if this is related to DBInterface.jl or MySQL.jl
MySQL.transaction(conn) do
DBInterface.jl
If I explicitly qualify execute as DBInterface.execute(conn, "START TRANSACTION") in the function definition of transaction things work just fine.
DBInterface.execute(conn, "START TRANSACTION")
transaction
including @quinnj as there were recent changes to transaction
here is an MWE
dbc = (username="admin",db="fortuna",hostname="mill-zur-fs2",pw="some_password") dr = tempdir() using Pkg Pkg.activate(dr) Pkg.add("MySQL") using MySQL conn = MySQL.DBInterface.connect(MySQL.Connection, dbc.hostname, dbc.username,dbc.pw,db=dbc.db) #dftest001 = DBInterface.execute(conn, "SELECT * FROM testtable limit 3") |> DataFrame txt = """CREATE TABLE test001 ( `ab` VARCHAR(45) NULL, `cd` INT NULL); """ dftest001 = DBInterface.execute(conn, txt) |> DataFrame MySQL.transaction(conn) do rs = """INSERT INTO test001 (ab, cd) VALUES ('ab',1),('axxb',11);""" DBInterface.execute(conn,rs); end ERROR: UndefVarError: `execute` not defined Stacktrace: [1] transaction(f::var"#27#28", conn::MySQL.Connection) @ MySQL C:\Users\bernhard.konig\.julia\packages\MySQL\pGOcg\src\load.jl:108 [2] top-level scope @ REPL[121]:1
The text was updated successfully, but these errors were encountered:
This should have been fixed in the 1.4.5 release; can you double check your version?
Sorry, something went wrong.
No branches or pull requests
Recently,
MySQL.transaction(conn) do
is not working anymore for me.I am not sure if this is related to
DBInterface.jl
or MySQL.jlIf I explicitly qualify
execute
asDBInterface.execute(conn, "START TRANSACTION")
in the function definition oftransaction
things work just fine.including @quinnj as there were recent changes to
transaction
here is an MWE
The text was updated successfully, but these errors were encountered: