>require a separate connection to issue the KILL QUERY statement. In the case of setQueryTimeout(), the implementation creates an additional thread to handle the timeout functionality.
Something happens when issuing kill query?
Please share us if you find more information about this issue.
-Kaz
> --
> You received this message because you are subscribed to the Google Groups
> "ScalikeJDBC Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scalikejdbc-users...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Olivier Poppon
unread,
Apr 19, 2016, 11:58:45 AM4/19/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ScalikeJDBC Users Group, opo...@gmail.com
Hi,
Sorry for the delay. I had to work on other projects.
I think I got something interesting...
Doing this :
sql"SELECT * from test"
.queryTimeout(1)
map( ... ).list.apply
generates the MySQLTimeoutException
BUT when doing this:
sql'SELECT * from test join test2 on test..."
.queryTimeout(1)
.one(...)
.toMany(...)
.map(...).list.apply
The query is executed beyond the timeout and no exception is thrown
PS : I hope you or your friends/family havn't suffered from the earthquakes.
Kazuhiro Sera
unread,
Apr 19, 2016, 12:08:14 PM4/19/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Olivier Poppon, ScalikeJDBC Users Group
>The query is executed beyond the timeout and no exception is thrown
Hmm, it may be a bug.
>PS : I hope you or your friends/family havn't suffered from the earthquakes.
Thank you for your kindness.
-Kaz
Kazuhiro Sera
unread,
May 3, 2016, 9:13:39 PM5/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Olivier Poppon, ScalikeJDBC Users Group
>>The query is executed beyond the timeout and no exception is thrown
>Hmm, it may be a bug.